If you do this in preexecute it should show in smart edit, just watch out for teh 'declaring a variable inside a list loop' gotcha which has got me a few times.
On 21 March 2012 22:31, Evandro Moreno <[email protected]> wrote: > Hi everyone, > > Is there a way to store information using a render tag inside a navigation > template? > > Here is the situation: I have to apply a different style to the current > index headline based on if the previous index in the same level had > children indexes or not. For example, if the site had the following > structure, > > Page 1 > Subpage A > Subpage B > *Page 2* > Page 3 > > I want the "Page 2" headline to show in a different color. > > Since there isn't a Context:NextIndex or Context:PreviousIndex render tag > I need to learn if the CurrentIndex has a child, store this info somewhere > an read it in the next index of the same level. > > I thought about using vbscript or php. However, I don't think that the > results would show on the SmartEdit mode, which will confuse my users. > > Any ideas and help would be greatly appreciated. > > Best. > > > > > -- > 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/-/nM4q2DuBkkIJ. > 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 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.
