Try removing the "<%!! !!%>" delimiters from the query and just use the string : <query valuea="Context:CurrentPage.Elements.GetElement ( stf_ShowImage).GetHtml()" ... etc
On Jun 1, 2:38 pm, Dave R <[email protected]> wrote: > Hey, > I've got an odd situation here. I need to pull some standard fields in > from a linked page via the navigation manager. These fields are going > to contain "hooks" for some specific JavaScript functionality. Here's > what I have so far: > > Special Fields > ------------------------------------------------------------------------ > stf_ShowImage = Used to determine if the img_TabImageOff and > img_TabImageOn imags are present. > stf_ShortName = A shortened name that will be used as an anchor > img_TabImageOff = An optional image that may or may not be present > > Current Code: > ------------------------------------------------------------------------ > <reddot:cms> > <if> > <query valuea="<%!! Context:CurrentPage.Elements.GetElement > ( stf_ShowImage).GetHtml() !!%>" operator="==" valueb="1"> > <htmltext> > </ul> > <ul class="current"> > <li><a href="#<%!! > Context:CurrentPage.Elements.GetElement(stf_ShortName).GetHtml() !! > %>"><span><!IoRangeConditional><img src="<%!! > Context:CurrentPage.Elements.GetElement( img_TabImageOff).GetHtml() !! > %>" alt="Ga State Home" width="16" height="17" border="0" > class="flamebar" /> <!/IoRangeConditional><%!! > Context:CurrentIndex.Headline !!%></span></a></li> > </ul> > <ul> > </htmltext> > </query> > <query type="else"> > <htmltext> > </ul> > <ul class="current"> > <li><a href="#<%!! > Context:CurrentPage.Elements.GetElement(stf_ShortName).GetHtml() !! > %>"><span><%!! Context:CurrentIndex.Headline !!%></span></a></li> > </ul> > <ul> > </htmltext> > </query> > </if> > </reddot:cms> > > Right now, it's not displaying. I had it displaying almost what I > wanted without the if/else statement. So, what do I have wrong here? > I suspect that it has to do with this line: > > <query valuea="<%!! Context:CurrentPage.Elements.GetElement > ( stf_ShowImage).GetHtml() !!%>" operator="==" valueb="1"> > > Thanks in advance. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
