Hi guys, Just a word of caution that rendertag getelement has caching issues, meaning the rendertag will return cached data despite updates to stf_article_rss_date, unless the cache of the entire page is refreshed.
I would recommend to go with Tony's second suggestions, to use placeholder directly within the if conditional rendertag. Best, -Jian On Aug 22, 1:12 pm, Tony Gayter <[email protected]> wrote: > Your > Context:CurrentPage.Elements.GetElement(<%stf_Article_RSS_Date%>) > > is incorrect, it can either be > Context:CurrentPage.Elements.GetElement(stf_Article_RSS_Date) > or > <%stf_Article_RSS_Date%> > > try the following, although Im not sure what the 29 stands for > > <reddot:cms> > <if> > <query > valuea="Context:CurrentPage.Elements.GetElement(stf_Article_RSS_Date).Value" > operator="==" valueb="29"> > <htmltext> > <pubDate><%stf_Article_RSS_Date%></pubDate> > </htmltext> > </query> > <query type="else"> > <htmltext> > <pubDate><%info_itemdate%> </pubDate> > </htmltext> > </query> > </if> > </reddot:cms> -- 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.
