Daily Calendar Layout - Date Format

  • Scott
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
2 months 2 weeks ago #120808 by Scott
Hi -

I would like to modify the date format on the Daily Calendar Layout view. (See attachment). Can you advise? I cant seem to find it.

Thank you
Attachments:

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

More
2 months 2 weeks ago #120810 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Daily Calendar Layout - Date Format
Hi Scott

Unfortunately, the date format there is not configurable. It's hardcoded in the code. Please look at components/com_eventbooking/themes/default/calendar/daily.php, do the modification to meet your need

Once the modification is done, please move the modified file to PATH_TO_TEMPLATE/html/com_eventbooking/calendar folder so taht the change won't be lost when you update to future releases of the extension

Regards,

Tuan
The following user(s) said Thank You: Eoin Feeney

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

  • Scott
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
2 months 2 weeks ago #120818 by Scott
Replied by Scott on topic Daily Calendar Layout - Date Format
Thank you Tuan. That worked perfect.

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

More
2 months 2 weeks ago #120820 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Daily Calendar Layout - Date Format
Great, happy to hear that and thanks for the update

Regards,

Tuan

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

  • Scott
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
2 months 2 weeks ago #120823 by Scott
Replied by Scott on topic Daily Calendar Layout - Date Format
While I am able to change the format I have a small problem.

When I select a future date and click 'Go' the page returns a result of tomorrow's events instead.

Thank you for the help.

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

Moderators: Tuan Pham Ngoc