Copied to clipboard

Flag this post as spam?

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


  • Mladen Macanovic 22 posts 45 karma points
    Nov 08, 2010 @ 14:59
    Mladen Macanovic
    0

    Pages on current level

    Hi,

    I need to list all pages in the current directory but without current page.

    For example if I have

    -----------------------------

    Index

    Page1

    Page2

    Page3

    -----------------------------

    it must show only Page1, Page2 and Page3.

    I tried with

    <xsl:for-each select="$currentPage/ancestor-or-self::* [@level=$level]/* [@isDoc and string(umbracoNaviHide) != '1']">   

    but it still show the Index page.

     

     

     

  • Sean Mooney 131 posts 158 karma points c-trib
    Nov 08, 2010 @ 15:17
    Sean Mooney
    0

    Try this:

    <xsl:for-each select="$currentPage/ancestor-or-self::* [@level=$level]/* [@isDoc and string(umbracoNaviHide) != '1' and @id != $currentPage/@id]">   
    

     

  • Mladen Macanovic 22 posts 45 karma points
    Nov 08, 2010 @ 15:19
    Mladen Macanovic
    0

    thanks, that worked :)

Please Sign in or register to post replies

Write your reply to:

Draft