Hi Fabian, Easy way to achieve this would be using pre-execute C# code. If I understand correct what you are looking for, I would have defined a variable on your parent template and store it using RedDot info element for page URL. Later use that same variable in your child template and you should get the value stored in parent page. You can work with that, hope this helps.
Thanks, Shankar On Mon, Apr 11, 2016 at 11:00 AM, A. Kerygma <acco...@kerygma.de> wrote: > Hi, > > is it possible to get the url of a parent page, which is in a target > container? > > I have page A, which is a child of page B. Page B is a page inside a target > container. > > When using the render tag: > <%!! > Context:Pages.GetPage(Guid:<%inf_guid_of_page_a%>).MainLink.OwnerPage.GetUrl() > !!%> > I get the url of page b, but page b is shown outside the target cointainer, > it's just the blank page. > > Is there a solution to this? > > Thanks. > Fabian > > -- > You received this message because you are subscribed to the Google Groups > "RedDot CMS Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to reddot-cms-users+unsubscr...@googlegroups.com. > To post to this group, send email to reddot-cms-users@googlegroups.com. > Visit this group at https://groups.google.com/group/reddot-cms-users. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "RedDot CMS Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to reddot-cms-users+unsubscr...@googlegroups.com. To post to this group, send email to reddot-cms-users@googlegroups.com. Visit this group at https://groups.google.com/group/reddot-cms-users. For more options, visit https://groups.google.com/d/optout.