Change the date format in the calendar

  • François Esposito
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
3 months 2 weeks ago #163306 by François Esposito
Change the date format in the calendar was created by François Esposito
helloHow to change the date format in the Calendar - Monthly Layout moduleThanks

 

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

More
3 months 2 weeks ago #163324 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Change the date format in the calendar
Hi François

Unfortunately, the format there is hardcoded. So if you want to change it, customization to the code will be needed

Regards,

Tuan

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

  • François Esposito
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
3 months 2 weeks ago #163332 by François Esposito
Replied by François Esposito on topic Change the date format in the calendar
Hi Tuan,
Thank you for the response, can you tell me which file to override?
Thanks a lot

François

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

More
3 months 2 weeks ago #163333 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Change the date format in the calendar
Could you send me link to that page? I will look at it to make sure I understand your request correctly before giving you further instructions

Regards,

Tuan

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

  • François Esposito
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
3 months 2 weeks ago #163342 by François Esposito
Replied by François Esposito on topic Change the date format in the calendar
Hi Tuan
The link to the page is asg-barbaroux.fr/calendrier?month=01&year=2024
The date display is poor in mobile configuration.
Thanks for your help

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

More
3 months 2 weeks ago #163381 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Change the date format in the calendar
Hi

Please look at components/com_eventbooking/themes/default/calendar/weekly.php and do the necessary modification

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

Regards,

Tuan

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

  • François Esposito
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
3 months 2 weeks ago #163400 by François Esposito
Replied by François Esposito on topic Change the date format in the calendar
Hi Tuan
I made the modification and it works fine but it was in the "default_calendar.php" file.
Thank you again for your help

François

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

More
3 months 2 weeks ago #163403 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Change the date format in the calendar
Ah, OK François. My bad, I mis-understood your requirement. I'm glad you figured out and get it sorted

Tuan

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

Moderators: Tuan Pham Ngoc