Support Forums

Support Offline : Mon - Fri / 10am - 6pm (GMT +6)

Your Time: Our Time:

Some help with reservation form date change please if possible

Featured Lock Resolved Issue
Hi Support I understand that the file for the reservation form can be found here

templates\shaper_cuisine\sppagebuilder\addons\reservations\site.php

I have managed to adjust the times but cannot work out how to change the date format to dd/mm/yyyy (Australian style).

I can see the lines on the email do not break properly, can I fix this?
Date 04/12/2018\nTime 8:00pm\nPeople 2\nName Baz\nPhone 89324789237489\n

Can anyone shed any light on how I can change this please.

Regards
Baz

8 Answers

Sifat - Staff

More than a month ago #Permalink
Hi,
Thanks for your query.
1) Please go to this location and edit the marked line language/en-GB/en-GB.tpl_shaper_cuisine.ini
https://prnt.sc/jdjmu6
Then go to this location templates\shaper_cuisine\sppagebuilder\addons\reservations\site.php
and add the marked line there https://prnt.sc/jdjnas

2) Please go to this location templates/shaper_cuisine/sppagebuilder/addons/reservations/ and just paste the attached file there.


-Best Regards

Attachments (1)

  • site.zip 3.8 KB

Bazlowski

More than a month ago #Permalink
Hi Sifat that has worked perfectly I appreciate your help with that.

I have one last question, that I am hoping you may be able to answer.
If you look at the screen shot it still shows mm/dd/yyyy on that page in grey as default, even though when you choose the date its dd/mm/yyyy. I am not sure where I can change this. Please help if you can.

regards
Baz

Attachments (1)

  • reservation.jpg
    reservation.jpg 111.8 KB

Sifat - Staff

More than a month ago #Permalink
Hi,
Please go through my first solution. That will help you to change that formation.
1) Please go to this location and edit the marked line language/en-GB/en-GB.tpl_shaper_cuisine.ini
https://prnt.sc/jdjmu6
Here is the line

COM_SPPAGEBUILDER_ADDON_RESERVATIONS_DATE_PLACEHOLDER="dd/mm/yyyy"


-Thanks

Bazlowski

More than a month ago #Permalink
Hi Safit thanks for getting back to me and helping me sort this out. I appreciate it.

I have attached screen shot and did exactly as you told me above the first time as you can see it does not show on the front end. I also updated the confirmation success message and that does not show either so I am not sure whats happening here.

I have cleared cache etc and tried different browsers but still no luck. :(

Regards
Baz

Attachments (1)

  • gb-cuisnie-ini-file.png
    gb-cuisnie-ini-file.png 114.1 KB

Sifat - Staff

More than a month ago #Permalink
Hi,
You are changing the template file. Please change them from global language file.
location: language/en-GB/en-GB.tpl_shaper_cuisine.ini
In your folder directory not from helix.

-Thanks

Bazlowski

More than a month ago #Permalink
Thank you very much Safit. My fault i was using the wrong file.
Regards
Baz

Sifat - Staff

More than a month ago #Permalink
You are most welcome :)


There are no replies made for this post yet.
Be one of the first to reply to this post!

Leaderboard (30 days)

Sifat

Sifat

Total Accepted Answers: 119
Paul Frankowski

Paul Frankowski

Total Accepted Answers: 107
Toufiq

Toufiq

Total Accepted Answers: 91
Kamruzzaman Alam

Kamruzzaman Alam

Total Accepted Answers: 3
FUTURECLIENT

FUTURECLIENT

Total Accepted Answers: 2

115

Templates

295918

Community Users

Newsletter

Don’t miss any updates of our new templates and extensions and all the astonishing offers we bring for you.
We never spam

Joomla! ® name is used under a limited license from Open Source Matters in the United States and other countries. JoomShaper.com is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

Connect Us