Daily Calendar Layout - Date Format

More
5 years 2 months 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
5 years 2 months 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.

More
5 years 2 months 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
5 years 2 months 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.

More
5 years 2 months 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