Results 1 to 4 of 4

Thread: How do i hide link in "Page Navigation"

  1. #1
    Junior Member
    Join Date
    Sep 2005
    Posts
    3

    Default How do i hide link in "Page Navigation"

    Hello

    I have just installed the CMPS system and its great.

    I was wondering if it is possible to hide pages in the "Page Navigation"

    For example:

    I have a link to "Supplements"

    I then want to add child pages of "fat loss, weight gain, etc" but i do not want them to appear on the site navigation box at the side, i just want to manually link them using "page=xyz"

    Is this possible?

    Thanks

    Paul

  2. #2
    Junior Member
    Join Date
    Sep 2005
    Posts
    3

    Default Re: How do i hide link in "Page Navigation"

    Oh, the pages are "HTML" incase you needed to know that

  3. #3
    Junior Member
    Join Date
    Sep 2005
    Posts
    3

    Default Re: How do i hide link in "Page Navigation"

    Ok

    Ive worked it out now

    If anyone else needs to know how to do this then you need to remove the following code from navigation.php


    if ($subpage = construct_page_structure($pageinfo, $pageid))
    {
    foreach ($subpage AS $thispageid => $values)
    {
    $subpageid = $thispageid;
    $pagearray["$subpageid"] = $subpage["$subpageid"];
    }
    }
    Paul Govier

    Http://www.uk-muscle.co.uk

  4. #4
    Administrator Brian's Avatar
    Join Date
    Jan 2004
    Location
    Georgia, USA
    Posts
    34,467

    Default Re: How do i hide link in "Page Navigation"

    If you edit your Site Navigation module there is an option there to exclude pages.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. How do I add the "Home" and "Forum" link on nav bar?
    By HuangA in forum Troubleshooting / "How do I..." Questions
    Replies: 60
    Last Post: 05-20-2006, 08:33 PM
  2. Newbie: Missing the "Home" and "Register" in the top Navigation
    By Perkyd in forum Troubleshooting / "How do I..." Questions
    Replies: 2
    Last Post: 09-25-2005, 10:19 PM
  3. Changing the Navigation "Thingy"
    By Polo in forum Chit Chat
    Replies: 1
    Last Post: 02-09-2005, 11:59 PM
  4. HOW DO I: "hide" a field from all except a certain usergroup?
    By ataraxia in forum "How Do I..." Questions
    Replies: 10
    Last Post: 12-24-2004, 12:11 PM

Posting Permissions

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