I just tried Context:CurrentPage.MainLink.OwnerPage.GetUrl() . It always returns the current landing page url hosting this list, not the individual news urls that have been linked to list by keywords.
Does any one know how to refer linked pages in rendertag? Sean On Monday, June 18, 2012 2:06:12 PM UTC-7, Sean wrote: > > hi All, > > I am creating top 2 news teaser content class like this: > > <!IoRangeList><!--<%top_two_news_list%>--><!IoRangeRedDotEditOnly><!IoRedDot_article_title><!IoRedDot_anc_article_sidebar_image><!IoRedDot_article_teaser>[edit > > teaser]<!/IoRangeRedDotEditOnly> > > <div class="item"> > <img width="209" height="90" > src="<%anc_article_sidebar_image%>"> > <h3><%article_title%></h3> > <p><%article_teaser%> <a href="<%!! > Context:CurrentPage.MainLink.OwnerPage.Elements.GetElement(inf_page_url).GetHtml() > > !!%>">more</a></p> > > </div> > <!/IoRangeList> > > Now there is only one problem, the url of parent page url returns "", if I > test other standard element name, it will return value correctly, but for > info type, not working. > > Could any one help me? > > Sean > -- 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/-/-wpb1W3L_usJ. 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.
