Hi everyone, I wrote a blog post regarding rendertag usage best practices that is tied to this topic
http://simplyreddot.blogspot.com/2012/03/rendertag-project-performance-product.html I hope it is useful. Best, -Jian On Thursday, March 22, 2012 3:23:58 AM UTC-4, Richard Hauer (5 Limes) wrote: > > You can use Store:Set( key, val ) and Store:Get( key ), which operate at > the session level (*warning*) to store and retrieve arbitrary values. > > Remember, these are at the session level so be careful with your keys. > > > > Regards, > > Richard Hauer > > Solution Architect > > *p* +61 2 9321 1555 | *d* +61 2 9321 1556 | *m* +61 414 189 170 > > > > *From:* reddot-cms-users@googlegroups.com [mailto: > reddot-cms-users@googlegroups.com] *On Behalf Of *Tony Gayter > *Sent:* Thursday, 22 March 2012 6:13 PM > *To:* reddot-cms-users@googlegroups.com > *Subject:* Re: Storing information using render tags inside navigation > templates > > > > 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 <evandro...@gmail.com> 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 reddot-cms-users@googlegroups.com. > To unsubscribe from this group, send email to > reddot-cms-users+unsubscr...@googlegroups.com. > 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 reddot-cms-users@googlegroups.com. > To unsubscribe from this group, send email to > reddot-cms-users+unsubscr...@googlegroups.com. > 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/-/narZaq7x8gwJ. To post to this group, send email to reddot-cms-users@googlegroups.com. To unsubscribe from this group, send email to reddot-cms-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/reddot-cms-users?hl=en.