Using system-folders within navigation
I am new to cascade Server, but understand xml and xslt. I would like to use system-folders for the various sections of a site, but I don't know the correct way to set up the format block for a navigation structure that would include the system-folder name, but go to the index page within that folder when clicked. I hope I expressed this correctly.
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 17 Apr, 2015 02:36 PM
Hi,
Firstly, welcome to the Cascade community!
We actually have a sample XSLT Format that should be able to provide you with a good starting point. Specifically, links generated for Folders will go to the corresponding index page within that Folder.
Note: there are instructions on how to set up the Index Block as well.
Please let me know if you have any questions.
Thanks!
2 Posted by voltmer1 on 17 Apr, 2015 02:40 PM
Thanks Ryan,
I had eventually noticed that there was an example that was using href="{path}/index", which will let me include the system-folder, but actually direct to the page under it named "index".
3 Posted by Ryan Griffith on 17 Apr, 2015 02:52 PM
Not a problem at all. I am glad to hear you found an example to help get you started.
One thing to note, I would recommend generally using
link
as opposed topath
when generating links, so you can be sure you are properly generating cross-Site links.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 17 Apr, 2015 02:52 PM.