Copied to clipboard

Flag this post as spam?

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


  • GP 16 posts 46 karma points
    Oct 17, 2012 @ 19:48
    GP
    0

    rootFolder = ?

    Hi to everyone.. I just started using Umbraco and I wanna thanks everyone in advace for your help.

    I don't understand what's supposed to be rootFolder attribute..  can anyone explain to me what it is?

     

    If you look at the tree screeshot, rootfolder is the doctype of the folder BLOG?

     

  • Kim Andersen 1447 posts 2196 karma points MVP
    Oct 17, 2012 @ 21:27
    Kim Andersen
    0

    Hi GP

    As far as I know, the root of the website is actually the "Content"-node - the top most node. This means that you eg. can grab the root-folder in XSLT like this:

    <xsl:varable name="rootFolder" select="$currentPage/ancestor-or-self::root" />

    So the above piece of code would grab the "Content"-node of the site.

    I hope the above example makes sense to you.

    /Kim A

  • Kim Andersen 1447 posts 2196 karma points MVP
    Oct 17, 2012 @ 21:30
    Kim Andersen
    0

    Hmm...I think that I have just written an answer that doesn't help you at all. I didn't see that your question was posted under the "AutoFolders"-package forum. Just thought you where asking in general. My bad. Sorry...

    /Kim A

  • GP 16 posts 46 karma points
    Oct 18, 2012 @ 11:32
    GP
    0

    Never mind Kim, thanks for your effort.

Please Sign in or register to post replies

Write your reply to:

Draft