refer to parent page's info element not working

77 views
Skip to first unread message

Sean

unread,
Jun 18, 2012, 5:06:12 PM6/18/12
to reddot-c...@googlegroups.com
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

Sean

unread,
Jun 18, 2012, 5:20:54 PM6/18/12
to reddot-c...@googlegroups.com
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

Jian Huang

unread,
Jun 19, 2012, 10:05:31 AM6/19/12
to reddot-c...@googlegroups.com
Sean,

Please see

http://simplyreddot.blogspot.com/2012/01/duplicate-pages.html

Also, if you haven't, check out the official manuals regarding rendertag and blockmark usage.

Always feel free to reach out to support if you have product related questions.

Should you feel that the question is more implementation related, give the education team or consulting services team a ping.

Best,

-Jian

siner zxa

unread,
Jun 19, 2012, 1:23:30 PM6/19/12
to reddot-c...@googlegroups.com
Thanks Jian Huang for your suggestion. Yes I agree I am missing many basic understanding. I will contact our trainer.



--
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/-/6lP_2AhfOwQJ.

To post to this group, send email to reddot-c...@googlegroups.com.
To unsubscribe from this group, send email to reddot-cms-use...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/reddot-cms-users?hl=en.

Reply all
Reply to author
Forward
0 new messages