Hi All,
I'm having a bit of a debacle right now. I'm working in v9. We are
attempting to create code which is reusable for page specific
navigation. Here is the structure for the site:
Home Page
>Page 1
>>Page 1.1
>>Page 1.2
>Page 2
>Page 3
>>Page 3.1
>>Page 3.2
What I want is code that will show Pages 1.x only on Page 1 and below,
and show only 3.x on page 3 and below (so 3.1, 3.2, etc). Right now
I'd be okay with just getting it to show up on the Page 1, and Page 3
correctly.
Here is what we have:
<reddot:cms>
<foreach itemname="Children" object="Context:CurrentIndex.SubIndexes">
<if>
<query valuea="Context:CurrentIndex.Id" operator="=="
valueb="Store:Children.Parent.Id">
<htmltext>
<li><%!! Store:Children.Headline !!%></li>
</htmltext>
</query>
</if>
</foreach>
</reddot:cms>
One might think this works but it doesn't. The pages show up on any
page which has the navigation on it. Right now the page setup is
something like this:
Foundation Page > Container > Content Class w/Navigation Output
Hopefully this is enough information to get us headed in the right
direction. If you have done this in the past, I would appreciate any
code you might have. Our biggest problem/gripe right now is that we
cannot reuse code. Has anyone else experienced this same thing? If so,
how did you overcome this?
Joel
--
You received this message because you are subscribed to the Google Groups
"RedDot CMS Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/reddot-cms-users?hl=en.