Override for timeline

  • Rick Frasso
  • Topic Author
  • Offline
  • New Member
  • New Member
More
2 weeks 5 days ago #166491 by Rick Frasso
Override for timeline was created by Rick Frasso
Hi,
I found the template for the timeline area, it is under 
/components/com_eventbooking/themes/default/common
file name is:
events_timeline_layout.php

I copy it to
/templates/THEMENAME/html/com_eventbooking/common
I tried a small update, and it doesn't work
what happens to it? or should I copy it to another path?

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

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
2 weeks 5 days ago #166495 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Override for timeline
Hi Rick

That's the right path. So your change should work. Maybe you can confirm that by adding a small echo command at the top of file:

echo 'The template override is being used';

Then clear cache (if it is enabled on your site), and check the page again?

Tuan

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

  • Rick Frasso
  • Topic Author
  • Offline
  • New Member
  • New Member
More
2 weeks 5 days ago #166529 by Rick Frasso
Replied by Rick Frasso on topic Override for timeline
I did test, it doesn't work, I did add a class name on it, can't find it at the front end.

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

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
2 weeks 3 days ago #166571 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Override for timeline
Hi Rick

I have no clue why it is not working unless there are something special on your site. Please submit a support ticket sending us super user account of your site and link to the page

I will then check and tell you the reasons

Tuan

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