Results 1 to 4 of 4

Thread: "Hide from Navigation" not working...

  1. #1
    User
    Join Date
    10-05-10.
    Location
    Austin, TX USA
    Posts
    30

    Default "Hide from Navigation" not working...

    I'm not sure why, but for some reason pages where I have checked "Hide from Navigation" are still being displayed by the navigation module. The site I'm working on is running 2.10.4 and using the standard navigation module with the base nav_default template.

    Here's what the template looks like:
    Code:
    <ul class="<?php echo $this->level; ?>">
    <?php foreach ($this->items as $item): ?>
    <?php if ($item['isActive']): ?>
    <li class="active<?php if ($item['class']): ?> <?php echo $item['class']; ?><?php endif; ?>"><span class="active<?php if ($item['class']): ?> <?php echo $item['class']; ?><?php endif; ?>"><?php echo $item['link']; ?></span><?php echo $item['subitems']; ?>
    <?php else: ?>
    <li<?php if ($item['class']): ?> class="<?php echo $item['class']; ?>"<?php endif; ?>>"<?php if ($item['class']): ?> class="<?php echo $item['class']; ?>"<?php endif; ?><?php if ($item['accesskey'] != ''): ?> accesskey="<?php echo $item['accesskey']; ?>"<?php endif; ?><?php if ($item['tabindex']): ?> tabindex="<?php echo $item['tabindex']; ?>"<?php endif; ?><?php if ($item['nofollow']): ?> rel="nofollow"<?php endif; ?><?php echo $item['target']; ?>><?php echo $item['link']; ?><?php echo $item['subitems']; ?>
    <?php endif; ?>
    <?php endforeach; ?>[/list]
    Screenshot of menu settings: http://screencast.com/t/UfvBr7LxT
    Screenshot of page settings: http://screencast.com/t/OwglQwARN
    Screenshot of the menu on the fe: http://screencast.com/t/6741SaYNa

    Any ideas?

    Greg

  2. #2
    Experienced user
    Join Date
    06-20-09.
    Posts
    1,311

    Default Re: "Hide from Navigation" not working...

    using the standard navigation module with the base nav_default template
    Are you sure thats your template?
    Your menu settings screenshot shows a template being used called nav_default_1

  3. #3
    User
    Join Date
    10-05-10.
    Location
    Austin, TX USA
    Posts
    30

    Default Re: "Hide from Navigation" not working...

    Yes, I'm sure - nav_default_1 is an unedited version of the nav_default template..

  4. #4
    Experienced user
    Join Date
    06-20-09.
    Posts
    1,311

    Default Re: "Hide from Navigation" not working...

    It works for me on 2.11.0.
    The only thing I can think of is try turning off the "do not search" checkbox, and the "map_never" to see if a conflict of logic is caused by "hide from nav" in combination with either of these.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •