Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Template Overrides

Template Overrides 11 years 5 months ago #20828

  • BodgeIT
  • BodgeIT's Avatar Topic Author
  • Offline
  • Expert Boarder
  • 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.

Template Overrides 11 years 4 months ago #20883

  • BodgeIT
  • BodgeIT's Avatar Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 88
  • Thank you received: 0
Not that I'm expecting a response but anyone?

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 1.525 seconds