BodgeIT
Topic Author
Offline
Expert Boarder
Posts: 88
Thank you received: 0
I was scratching my head for a while trying to understand why my template overrides weren't doing anything, then I noticed this line in individualregister.php:
include(JPATH_SITE.DS.'components'.DS.'com_dtregister'.DS.'views'.DS.'event'.DS.'tmpl'.DS.'event_header.php');
To get my override to work I had to point that to the html override I had created for the event header.
include(JPATH_SITE.DS.'template'.DS.'my_template'.DS.'html'.DS.'com_dtregister'.DS.'event'.DS.'event_header.php');
I thought the point of the MVC system is that it OVERRIDES what is in the tmpl folder in the view located in the component?
Please Log in or Create an account to join the conversation.
Last Edit: by BodgeIT .
Board Categories
News & Announcements
- DTH Development Announcements
DT Register
- Pre-Sales Questions
- General Discussion - Joomla 1.0.x
- General Discussion - Joomla 1.5
- General Discussion - Joomla 1.7 / 2.5
- General Discussion - Joomla 3.x
- Feature Wish List
- DT Register Plugins
DT SMS
- Pre-Sales Questions
- General Discussion - Joomla 3.x
- Feature Wish List
DT Donate
- Pre-Sales Questions
- General Discussion - Joomla 1.0.x
- General Discussion - Joomla 1.5
- Feature Wish List
- General Discussion - Joomla 2.5
- General Discussion - Joomla 3.x
DT DocuSign
- Pre-Sales Questions
- General Discussion - Joomla 2.5 / 3.x
- Feature Wish List
DT Invoice
- Pre-Sales Questions
- General Discussion
- Feature Wish List
DT Community Builder Plugins
- DT Delete Me
Show & Tell
- DT Show & Tell
Time to create page: 1.525 seconds