cross site linking not outputting link with correct .html extension
We're working on implementing the Calendar module and are very close. If you look at the link below, we have a registration link that goes back to our main site. If you click on the registration link on this page, you get a 404 error because the url in the link does not have the .html extension.
http://www.citizensmemorial.com/1calendar/2014/01/childbirth-the-bi...
The page we are trying to link to has been published and can be
accessed at this url:
http://www.citizensmemorial.com/hospital-services/birth-place1/regi...
Any ideas?
Discussions are closed to public comments.
If you need help with Cascade CMS please
start a new discussion.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
1 Posted by Ryan Griffith on 31 Dec, 2013 04:40 PM
Hi Lauren,
Is the page you are linking to in another Site by chance? If so, the issue may be with the way the
/_cascade/formats/event details
Format is outputting the related links.When you have a moment, try modifying the following lines at the bottom of the Format:
to the following:
This tweak should better support cross-site linking.
Please let me know if you have any questions.
Thanks!
2 Posted by lauren.fraser on 31 Dec, 2013 05:31 PM
Ryan,
I made these changes and now no link is displaying…
3 Posted by Ryan Griffith on 02 Jan, 2014 06:39 PM
Hi Lauren,
My apologies the change does not seem to be working for you.
When you have a moment, I'd like to take a look at the XML being applied to the Format so I can double check the Velocity code:
/_cascade/blocks/index/current page
Please let me know if you have any questions.
Thanks!
4 Posted by lauren.fraser on 03 Jan, 2014 10:50 PM
5 Posted by Ryan Griffith on 06 Jan, 2014 02:07 PM
Thank you for providing the XML output, Lauren.
Comparing your XML to what I am seeing in my local instance, the snippet I provided should be working. When you have a moment, please attach or paste your entire Format so I can compare it to what I am testing with locally.
Please let me know if you have any questions.
Thanks!
6 Posted by lauren.fraser on 06 Jan, 2014 03:21 PM
Ryan,
Got it figured out. Copied over one too many lines.
Thanks!
7 Posted by Ryan Griffith on 06 Jan, 2014 05:05 PM
Thank you for following up, Lauren. I am glad to hear you were able to get the Format working.
I'm going to go ahead and close this discussion, please feel free to comment or reply to re-open if you have any additional questions.
Have a great day!
Ryan Griffith closed this discussion on 06 Jan, 2014 05:05 PM.