Is there a way to keep relative paths inside of Stacks?
Permalink
Hi! I am a novice C5 user doing some research on a legacy site.
Question:
Is there a way to add links that are relative to the current page the Stack appears on?
Eg if the Stack is put on example.com/1/ then a list of links would be like:
example.com/1/a
example.com/1/b
example.com/1/c
And if Stack is added to example.com/2/, then links are like:
example.com/2/a
example.com/2/b
example.com/2/c
Right now if I put just the path eg /a it goes to example.com/a
If there is no baked-in way to signal this in the Stack, any hints at how I should customize C5 to enable this?
I hope I did an ok job of explaining this - I can add a video if need be! Thanks so much. =)
Question:
Is there a way to add links that are relative to the current page the Stack appears on?
Eg if the Stack is put on example.com/1/ then a list of links would be like:
example.com/1/a
example.com/1/b
example.com/1/c
And if Stack is added to example.com/2/, then links are like:
example.com/2/a
example.com/2/b
example.com/2/c
Right now if I put just the path eg /a it goes to example.com/a
If there is no baked-in way to signal this in the Stack, any hints at how I should customize C5 to enable this?
I hope I did an ok job of explaining this - I can add a video if need be! Thanks so much. =)
On any block you add (to a stack), such as a content block or image block, use the sitemap button built into the block to link to a page. c5 will sort out the paths for you and keep them up-to-date.
This is even when pages are moved in the sitemap. Links added using the sitemap button/popup widget will always be correct.