-
☆ A M B ☆
- 711 Posts
Hi,
Im currently using Wayfinder on my site which is wicked, I have just created a worldpay callback page in modx by making a new template with full urls links i.e
https://onesmart.co.uk/assets/images/blabla this works fine for images, css etc but im with wayfinder the links are created as relative ie /homepage.html insted of
https://onesmarthost.co.uk/homepage.html.
This reason I need it this way is when a customer pays with Worldpay they remain on WP site but WP can call a page on my site and present it on theirs a kinda Thankyou page etc.
Does anyone know if there is an easy way to have modx output full urls on a particular page or even in wayfinder?
Thanks
Aaron
awardle,
wayfinder just uses the modx makeUrl function which creates the links, so I will look into adding this as an option.
-
☆ A M B ☆
- 711 Posts
That would be great one of the main things with world pay callback pages is the need to have absolute urls.
For the time being I will copy the HTML source of <div class="menu"> and use that in a chunk for my world pay callback template, it won’t be dynamic but at least it will help me get by
Thanks
-
☆ A M B ☆
- 711 Posts
Thanks for that Ive just tried it out but now it doesnt seem to output any information to the screen even when using the standard Wayfinder call
[[Wayfinder? &startId=`0`]]
Thanks
Aaron
Make sure you updated the snippet and all of the included files. I am not having any problems, add the parameter &debug=`1` and see if that gives you anything.
-
☆ A M B ☆
- 711 Posts
Hi
Sorry for the delay I will test it out over the weekend late at night and let you know, it was quite early in the morning when i originally tried it, perhaps my ISP was caching files again which it does quite often

.
Thanks for the help on this.