Developer forum

Forum » Templates » Page parent reference needed.

Page parent reference needed.


Reply
 .. using the dw tag: Global:Page.Top.Name, but it does not work as intented.
The solution Im working on is sosuaarhus.net.dynamic.dk.
If I choose the page: 
    http://sosuaarhus.net.dynamicweb.dk/UDDANNELSER-1.aspx
, and navigates to one of its subpages, and click the link that uses the @Top.Page.Name tag, then is refers me back to the frontpage: 
    http://sosuaarhus.net.dynamicweb.dk/

Is there another dwtag that handles the parentpage from the current page..

Replies

 
Nicolai Høeg Pedersen
Reply
First of all you are trying to link to TopPageName which is just the name of the page and not a link to it. You need the ID.

Try with xpath expression "GlobalTags/Global.Page.ID" and create a link based on that to Default.aspx?ID=GlobalTags/Global.Page.ID...
 
Reply
thanks for your help. 

 

You must be logged in to post in the forum