Bilingual Links For SP Page Builder - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

Bilingual Links For SP Page Builder

LG

Lorna Guttormson

Template 3 weeks ago

I have J5 and SP Page Builder with template PITECH. I made a mistake when I first started my bilingual site and didn't realize it until just now. I duplicated Pitech options, not the Helix Ultimate. My bilingual site works mostly well but there are 2 links that work well in English but get 404 in fr_CA (although they display correctly through the menu association route). I traced the 404 error and inserted an error_log ('usr is ' . $uri) in the file ___libraries/src/Application/SiteApplication.php before line 767. In my error log I now get
URI is https://ottawaotest.ca/testj4/fr/ URI is https://ottawaotest.ca/testj4/fr/evenements/calendrier URI is https://ottawaotest.ca/testj4/templates/pitech/css/presets/%7B The first 2 are correct but I don't understand how the pitech/css/presets/%7B got there. I hope you can straighten things out for me.

The links that only work in English are both found on the home page. Click on 'up-coming events' button, then on any of the events (they all make the same call but with a '?xxxx' following with the event number, and on 'See our full calendar ' at the bottom of the list.

Attached as screen shots from the site homepage.

0
5 Answers
Atick Eashrak Shuvo
Atick Eashrak Shuvo
Accepted Answer
Support Agent 3 weeks ago #208458

Hello Lorna,

Thanks for the update! I'm glad to hear the French spelling issue is resolved and everything is working correctly now. No worries about the missing "e"—it's easily overlooked. I'm happy I could help clarify the issue.

Please Marked the issue as resolved

Best regards

0
Atick Eashrak Shuvo
Atick Eashrak Shuvo
Accepted Answer
Support Agent 3 weeks ago #208227

Hello Lorna Guttormson,

Sorry for the inconvenience. Could you please check again now to see if the issue is resolved?

Looking forward to your response.

Best regards

0
LG
Lorna Guttormson
Accepted Answer
3 weeks ago #208378

Can you please tell me, Atick, what changes you have made? The module (events all) which shows the events, no longer displays at all and I don't see any error message. It also does not show on the events page (english or french) . This is the module that displays all the events - it calls a js which makes an AJAX call to another database - but I didn't mention this before as I didn't think it was a factor here and would only confuse things. However, since the calendar link works separate from the module it does seem to be involved. I have inserted a simple text block before the module which simply has the calendar link in it and it works in both English and French so perhaps it is something to do with the call from the js , through the module to the SP page builder. You can see in ottawaotest.ca/oocj4 the module that is now missing in testj4. I will have to restore testj4 from oocj4 (or from its own backup) but first I would like to know what you have done to cause the event listing to disappear.

0
Atick Eashrak Shuvo
Atick Eashrak Shuvo
Accepted Answer
Support Agent 3 weeks ago #208403

Apolozy for the inconvenience. Please note that I haven’t made any changes to your module or anywhere else on the site.

The only issue I found earlier was that when clicking on an event, it was redirecting to this URL: https://ottawaotest.ca/testj4/fr/evenement/details-evenement?5889, which was showing a 404 error.

However, the actual working URL on your site was: https://ottawaotest.ca/testj4/fr/evenments/details-evenement?5889.

To correct this, I only updated the menu alias so that the event link points to the proper path. No modifications were made to the event module or its scripts.

Best regards

0
LG
Lorna Guttormson
Accepted Answer
3 weeks ago #208421

Thank you Atick I don't know why the list disappeared but I will restore the site. I have fixed my error in french spelling on the other site and it works well now. Thank you for clearly explaining my error. I checked that spelling many times and didn't see the missing 'e'!

0