Hi, Not used it in a loop like that, but you won't need the <reddot:cms> tags as it has the <%!! instead. You can look it up in the Navagion Manager PDF for clarification. Which reminds me, for this to work you will need Nav Man turned on.
Rich On Nov 4, 12:59 pm, Kristaps Karlsons <[email protected]> wrote: > Hi, Rich. > > Unfortunately it returns nothing. Do I have to wrap it with > <reddot:cms></reddot:cms> or change Context (as you see, I'm in a > list_nextLevel loop)? I haven't used render tags previously. > > Thank you. > > On Thu, Nov 4, 2010 at 2:41 PM, reddotrich <[email protected]>wrote: > > > > > Hi Kristaps, > > > We had the same issue getting them into c# strings, in the end we went > > for: > > > string descr = @"<%!! > > Escape:HtmlEncode(Context:CurrentPage.Elements.GetElement(String:text).Value) > > !! > > %>"; > > > which seems to work well for us, we do of course have to unencode it > > later. > > > Rich > > > On Nov 4, 11:58 am, Kristaps Karlsons <[email protected]> wrote: > > > Hi, list. > > > > I'm currently developing rss feed for our homepage. The problem we're > > having > > > is - we need to replace description to show images properly in rss. > > > > Currently I'm stuck here: > > > <% > > > string descr; // define string descr outside of loop > > > %> > > > <!IoRangeList><!IoRangeNoRedDotMode><!IoRangeRedDotMode><%list_nextLevel%>< > > > !/IoRangeRedDotMode><!/IoRangeNoRedDotMode> > > > <item> > > > <title><![CDATA[<%headline%>]]></title> > > > <link>http://www.example.com<%list_nextLevel%></link> > > > <pubDate><%info_timedate_created%> <%= timeZone %></pubDate> > > > <description><![CDATA[<% > > > descr = @"<%text%>"; // exception > > > %>]]></description> > > > </item> > > > <!/IoRangeList> > > > > The problem is - <%text%> is multiline text with unescaped single quotes > > > (e.g. <a href="url">text</a>). > > > > Best regards, > > > Kristaps > > > -- > > 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]<reddot-cms-users%[email protected]> > > . > > For more options, visit this group at > >http://groups.google.com/group/reddot-cms-users?hl=en.- Hide quoted text - > > - Show quoted text - -- 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.
