subnav metadata to show in left nav
I'm not sure where in this format I need to put the conditional to NOT include pages with the metadata "show-in-nav" set to "no"
-
Screenshot_2015-03-12_16.40.02.png 197 KB
- leftnav-ul.vm 2.81 KB
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 13 Mar, 2015 12:40 PM
Hi,
I think you would want to replace the two occurrences of
system-page[name!='index']
(lines 49 and 81) with an updated XPath that includes only pages that have the dynamic metadata field set to Yes.Something like the following should do the trick:
Please let me know if you have any questions.
Thanks!
Ryan Griffith closed this discussion on 19 Mar, 2015 02:01 PM.