Yeah, wrong rendertag, there isn't a rendertag that does this. However, there is an info type placeholder that returns page file name.
Note, it do not work in smartedit or page preview, only published. - malevolent RedDot overlord Sent from my iPhone On Feb 9, 2012, at 7:44 PM, Evil Midnite Bomber <[email protected]> wrote: > Hi, everyone. > > I'm trying to get the file name of a page using render tags so that I > can insert facebook book comments on the page. My code is as follows: > > <reddot:cms> > <if><query valuea="Context:CurrentPage.Headline" operator="!=" > valueb="String:Home"><htmltext> > <div class="fb-comments" data-href="http://www.../facebook/< > %!! Context:CurrentPage.FileName !!%>.htm" data-num-posts="2" data- > width="470"></div> > </htmltext></query></if> > </reddot:cms> > > Does anyone know if this the correct tag? If it is, why isn't my code > working? > > Any help is much appreciated. > > Regards, > EMB > > -- > 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. > -- 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.
