Hi All,

I am using RedDot 9 with Nav Man enabled.  I have a generic navigation
template that can have different pages connected to its list.  I now
have a requirement to change how the list is displayed depending upon
the type of page at the next level down, I thought I could do a render
tag if statement based on the template type / content class, but am
not sure if I can determine this.  I found the following in the Nav
man manual for getting the child items:

Example: SubIndexes - Displaying Headlines of Child Index Objects
The following example displays the headlines of direct child pages of
the current
page, separated by commas:
<reddot:cms>
<foreach itemname="item" object="Context:CurrentIndex.SubIndexes"
countername="counter">
<if>
<query valuea="Store:counter" operator="!=" valueb="Int:0">
<output type="string">, </output>
</query>
</if>
<output type="object" object="Store:item.Headline" />
</foreach>
</reddot:cms>
Unfortunately I can't seem to find the bit in the manual that lists
all the properties that are available from the object returned by the
SubIndex query.
Any ideas on how I can get the content class type from the item
object?

An alternative thought I have had would be to use the above query then
use the result to check for an element in that child page that should
be specific to the desired template, thereby finding out what content
class it is from, is this a realistic alternative?

Rich
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to