Copied to clipboard

Flag this post as spam?

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


  • Gísli Freyr Svavarsson 43 posts 126 karma points
    Aug 23, 2013 @ 15:20
    Gísli Freyr Svavarsson
    0

    Unpublished nodes still visible

    hey there folks, 

    I have a nav that has the following xslt line: <xsl:for-each select="$currentPage/child::*[@isDoc][umbracoNaviHide != '1']">

    however i've unpublished two nodes but they still appear in the navigation, i've cleared the cache on the browser and set the macro cache to 0. i'm unsing umbraco 4.7.1

    have you got any ideas?

  • Chriztian Steinmeier 2800 posts 8790 karma points MVP 8x admin c-trib
    Aug 23, 2013 @ 15:39
    Chriztian Steinmeier
    0

    Hi Gísli,

    If you have unpublished the nodes they cannot even be seen by XSLT, so there must be something else happening if that's the case.

    However, if you're using an umbracoNaviHide property, you should use this syntax to query it:

    <xsl:for-each select="$currentPage/*[@isDoc][not(umbracoNaviHide = 1)]">
    

    - the one you're currently using has some problems in some scenarios.

    /Chriztian

  • Gísli Freyr Svavarsson 43 posts 126 karma points
    Aug 23, 2013 @ 15:50
    Gísli Freyr Svavarsson
    0

    thanks for the reply

    Aperently there was something cought in cache, I made changes to the web.config and saved then everything went back to normal, works now. 

    mvh

Please Sign in or register to post replies

Write your reply to:

Draft