upskill-event-manager/wordpress-dev/wordpress/wp-content/plugins/hvac-community-events/includes/community
bengizmo 587773b56b fix: Resolve CSS loading and Google Sheets redirect issues
Major fixes implemented:
1. CSS Loading on Hierarchical Pages - FIXED
   - Enhanced page detection logic in hvac-community-events.php
   - Added URL pattern matching for /trainer/* and /master-trainer/*
   - All 7 HVAC CSS files now load correctly on hierarchical pages

2. Google Sheets Infinite Redirect Loop - FIXED
   - Removed duplicate master-trainer-google-sheets page
   - Added redirect loop prevention with hvac_redirect_check parameter
   - Disabled WordPress canonical redirects for Google Sheets URLs
   - Page now loads in 2.4s with 0 redirects (was 50+ before)

3. Google Sheets Folder Manager Integration
   - Moved folder manager to proper location in includes/google-sheets/
   - Added conditional file loading to prevent fatal errors
   - Enhanced error handling throughout Google Sheets components

4. Dashboard Navigation Improvements
   - Fixed duplicate navigation buttons
   - Enhanced Master Trainer dashboard with folder hierarchy support
   - Improved permission checks and role-based access

Technical improvements:
- Added comprehensive debugging capabilities
- Enhanced error handling with try-catch blocks
- Improved conditional file loading patterns
- Fixed hardcoded URLs in Google Sheets admin

All issues tested and verified working on staging environment.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-17 06:50:53 -03:00
..
class-email-attendees-data.php fix: Improve email sending functionality and debugging 2025-05-20 16:48:23 -03:00
class-email-debug.php fix: Improve email sending functionality and debugging 2025-05-20 16:48:23 -03:00
class-event-handler.php Refactors event submission and listing to use TEC Community Events 2025-04-02 22:23:37 -03:00
class-event-summary-data.php fix: Improve dashboard data retrieval for test attendees 2025-05-20 16:29:37 -03:00
class-login-handler.php fix: Resolve CSS loading and Google Sheets redirect issues 2025-06-17 06:50:53 -03:00
class-order-summary-data.php feat: Implement Order Summary page functionality 2025-05-20 09:56:28 -03:00