Copied to clipboard

Flag this post as spam?

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


  • hetaurhet 245 posts 267 karma points
    Jul 23, 2011 @ 14:37
    hetaurhet
    0

    accessing subnode

    I am using umbraco 4.7. how can I access subnode of a particular node?

  • Kim Andersen 1447 posts 2196 karma points MVP
    Jul 23, 2011 @ 14:57
    Kim Andersen
    0

    If you want to grab a value form the node below the curent node you can do like this:

    $currentPage/*[@isDoc]/aliasOfTheProperty

    If you can give us some more information on what you're trying to do, we cna give you a more precise answer if you need this.

    /Kim A

  • hetaurhet 245 posts 267 karma points
    Jul 24, 2011 @ 13:49
    hetaurhet
    0

    actually I have hierarchy as follows .....

    -Content

      -  Home

         - All Contacts

            - Contact A

                  - Contact A - how to reach

            - Contact B

            - Contact C

     

    now when I run All contacts page, it shows all contacts subnodes (Contact A,Contact B...) as a list (using xslt with ul and li).  Now from each contact (list item) I want to open subnode page say 'Contact A-how to reach' on click of a link. How can I do that?

     

     

Please Sign in or register to post replies

Write your reply to:

Draft