D'oh, thanks, knew it was something simple! Just seems to output the order of children, though - e.g., six pages at the same level are coming out as levels 1, 2, 3, 4, 5 and 6, rather than all as level 3...
Neil On Wednesday, 21 March 2012 14:50:36 UTC, Tony Gayter wrote: > > Yeah, remove teh <%!! !!%> bits, you only need them if its outside the > reddot tage or in the htmltext area > > On 21 March 2012 14:47, Neil Fegen wrote: > >> Hi Tony >> >> Thanks for helping with this - yep, the navigation templates are entirely >> within <reddot:cms> tags so is being used within that - guess that's the >> problem? >> >> Neil >> >> >> On Wednesday, 21 March 2012 14:36:20 UTC, Tony Gayter wrote: >> >>> >>> Hmm, and your using it in navigation templates? >>> >>> <%!! Context:CurrentLevelCount !!%> >>> >>> Should work, might be something stopping it in your code elsewhere in >>> the template, are you using it inside <reddot:cms> tags or something? >>> >>> >>> >>> On 21 March 2012 14:18, Neil Fegen wrote: >>> >>> Yep, using Navigation Manager... >>>> >>>> >>>> On Wednesday, 21 March 2012 13:58:11 UTC, Tony Gayter wrote: >>>> >>>>> Are you using nav manager? >>>>> >>>>> On 21 March 2012 13:51, Neil Fegen wrote: >>>>> >>>>> Hi, is there a rendertag available to show which level of a site the >>>>>> current page is in? >>>>>> >>>>>> For example, if I am at Home > About > History > Information, I might >>>>>> expect this to be 0 > 1 > 2 > 3 (or 1 > 2 > 3 > 4), showing >>>>>> 'Information' >>>>>> as level 3 (or 4). >>>>>> >>>>>> I have tried the following to no avail: >>>>>> >>>>>> - <%!! Context:CurrentDepth !!%> >>>>>> - <%!! Context:CurrentIndex.Position!****!%> >>>>>> - <%!! Context:CurrentLevelCount !!%> >>>>>> >>>>>> Any help would be greatly appreciated. >>>>>> >>>>>> Neil >>>>>> >>>>>> -- >>>>>> You received this message because you are subscribed to the Google >>>>>> Groups "RedDot CMS Users" group. >>>>>> To view this discussion on the web visit https://groups.google.com/d/ >>>>>> **ms**g/reddot-cms-users/-/**n91Gucz_**XzsJ<https://groups.google.com/d/msg/reddot-cms-users/-/n91Gucz_XzsJ> >>>>>> . >>>>>> To post to this group, send email to reddot-cms-users@googlegroups.** >>>>>> **com <[email protected]>. >>>>>> To unsubscribe from this group, send email to >>>>>> reddot-cms-users+unsubscribe@**g**ooglegroups.com<reddot-cms-users%[email protected]> >>>>>> . >>>>>> For more options, visit this group at http://groups.google.com/** >>>>>> group**/reddot-cms-users?hl=en<http://groups.google.com/group/reddot-cms-users?hl=en> >>>>>> . >>>>>> >>>>> >>>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "RedDot CMS Users" group. >>>> To view this discussion on the web visit https://groups.google.com/d/** >>>> msg/reddot-cms-users/-/**I0RslH5rW4MJ<https://groups.google.com/d/msg/reddot-cms-users/-/I0RslH5rW4MJ> >>>> . >>>> >>>> To post to this group, send email to reddot-cms-users@googlegroups.** >>>> com <[email protected]>. >>>> To unsubscribe from this group, send email to >>>> reddot-cms-users+unsubscribe@**googlegroups.com<reddot-cms-users%[email protected]> >>>> . >>>> For more options, visit this group at http://groups.google.com/** >>>> group/reddot-cms-users?hl=en<http://groups.google.com/group/reddot-cms-users?hl=en> >>>> . >>>> >>> >>> -- >> You received this message because you are subscribed to the Google Groups >> "RedDot CMS Users" group. >> To view this discussion on the web visit >> https://groups.google.com/d/msg/reddot-cms-users/-/OMyxTLebuyEJ. >> >> 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. >> > > -- You received this message because you are subscribed to the Google Groups "RedDot CMS Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/reddot-cms-users/-/3zktS5grHHMJ. 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.
