Jump to content

Adding Pages


bwilber

Recommended Posts

I have been adding pages for my site and of course as I add them, they are added to the menu. I was under the assumption that the code for the menu was being added to the core_navigation.tpl, but it has not changed at all. Where are these links being coded in. Not all of the pages I build do I want to appear in the menu, so I need to be able to take them out.

Link to comment
Share on other sites

When adding pages, there are two (2) boxes just above the "Save Changes" button. you need to remove both checks from them. If they are not Enabled, they won't show in the menu. They can still be viewed using a link you provide to your members that link to those pages you create.

Explanation...

Public?: They appear in your menu on your site to members, as well as non members.

Enabled?: They will appear to your members, but not to the public.

Link to comment
Share on other sites

  • Administrators

It starts in the core of the application and is added to the template object in the index file on line 61

Template::Set('MODULE_NAV_INC', $NAVBAR);

then in the nav file it is displayed using the command;

<?php echo $MODULE_NAV_INC;?>

The links are created within the pages module.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...