PDA

View Full Version : How do i hide link in "Page Navigation"


Paul Govier
10-01-2005, 10:44 AM
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

Paul Govier
10-01-2005, 10:46 AM
Oh, the pages are "HTML" incase you needed to know that ;)

Our Sponsors
 

Paul Govier
10-01-2005, 11:29 AM
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"];
}
}

Brian
10-01-2005, 01:22 PM
If you edit your Site Navigation module there is an option there to exclude pages.