i've a page of type "article" with a macro displaying the list of article title. obtained trough the "$currentpage/article", and all work correctly.
now i have to use the same macro in a page of type "news", but in this page "$currentpage/article" contain nothing, how can i obtain the article? have i to change the "$currentpage"?
obtain data not in the current page
Hi all,
ive a small question.
i've a page of type "article" with a macro displaying the list of article title. obtained trough the "$currentpage/article", and all work correctly.
now i have to use the same macro in a page of type "news", but in this page "$currentpage/article" contain nothing, how can i obtain the article? have i to change the "$currentpage"?
thank you for all
nico
One way is replace $currentpage with umbraco.library:GetXmlNodeById(1065) where 1065 is the nodeid of the page.
is working on a reply...