Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • niccolo rossi 33 posts 53 karma points
    Sep 09, 2011 @ 11:07
    niccolo rossi
    0

    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

     

  • skiltz 501 posts 701 karma points
    Sep 09, 2011 @ 11:28
    skiltz
    0

    One way is replace $currentpage with umbraco.library:GetXmlNodeById(1065) where 1065 is the nodeid of the page.

Please Sign in or register to post replies

Write your reply to:

Draft