Thanks Jian! I should have caught that.

On Friday, September 7, 2012 1:33:19 PM UTC-4, Jian Huang wrote:
>
> Hi,
>
> You can just do
>
> <%!! Context:CurrentPage.MainLink.OwnerPage.MainLink.OwnerPage.Headline 
> !!%>
>
> <%!! Context:CurrentPage.MainLink.OwnerPage.MainLink.OwnerPage.MainLink.
> OwnerPage.Headline !!%>
>
> By the way, it wasn't working before because you have
>
> OwnerPage.Elements.OwnerPage
>
>
> instead of
>
> OwnerPage.MainLink.OwnerPage
>
> On Friday, September 7, 2012 12:35:24 PM UTC-4, Dmitry Terner wrote:
>>
>> In one of my projects I am using:
>>
>> <%!! 
>> Context:CurrentPage.MainLink.OwnerPage.MainLink.OwnerPage.Elements.GetElement(hdl_Headline).GetHtml()
>>  
>> !!%>
>>
>> to get the headline of a page two levels up, but if I go one more level 
>> up..
>>
>> <%!! Context:CurrentPage.MainLink.OwnerPage.MainLink.OwnerPage.Elements.
>> OwnerPage.Elements.GetElement(hdl_Headline).GetHtml() !!%>
>>
>> It returns nothing. Is that a limitation or am I doing something wrong?
>>
>> Thanks,
>>
>> - Dmitry
>>
>>
>>

-- 
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/-/ZfUxT1z_DwYJ.
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.

Reply via email to