Change Order of Events

  • Tuan Pham Ngoc
  • Topic Author
  • Away
  • Administrator
  • Administrator
More
3 years 1 month ago #142268 by Tuan Pham Ngoc
Change Order of Events was created by Tuan Pham Ngoc
If you use frontend events management, the events are ordered by event date in DESC order by default. If you want to change it to use ASC, please follow the instructions below:

1. Create folder override under components/com_eventbooking/model folder
2. Get this file, unzip it, upload it to components/com_eventbooking/model/override folder on your site

Regards,

Tuan
Attachments:

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

More
2 years 3 months ago #148653 by LAC Webadmin
Replied by LAC Webadmin on topic Change Order of Events
Wow Tuan! You allow a model template override with EBB? That is awesome! I like it, I hope it work perfectly even in J4.

Thanks,

Jackson

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

  • Tuan Pham Ngoc
  • Topic Author
  • Away
  • Administrator
  • Administrator
More
2 years 3 months ago #148654 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Change Order of Events
Yes Jackson. Almost everything in Events Booking is designed to be overridable. You can override model, view, controller classes, layouts and most of static helper methods, too. See eventbookingdoc.joomservices.com/develop...stomization-override

Regards,

Tuan

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

  • Tuan Pham Ngoc
  • Topic Author
  • Away
  • Administrator
  • Administrator
More
2 years 3 months ago #148655 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Change Order of Events
But for this specific override, it is not needed anymore. Now, for frontend events managements, we added settings inside menu item to allow control default ordering of the list via Default Order By and Default Order Direction parameters. It is not needed to make this override anymore

Regards,

Tuan

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

More
2 years 3 months ago #148682 by LAC Webadmin
Replied by LAC Webadmin on topic Change Order of Events
That is awesome Tuan! Very cool!

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