page links not show in menu

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
aelynne
Forum Members
Forum Members
Posts: 12
Joined: Wed Aug 28, 2013 1:27 am

page links not show in menu

Post by aelynne »

hello,

i add a new pages. tick the 'show in menu' and active. but the link to the page not show in menu. why?
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3497
Joined: Mon Nov 28, 2011 9:29 am

Re: page links not show in menu

Post by velden »

Could have multiple reasons.

Could you post:

- from page template: the {menu....} tag used
- from Menu Manager: the template used
- is new page a child-page (does it have a parent)? If so, is menu template prepared to display multiple levels? Did you look at the page source to see if the link really isn't there?

Of course page should be active too (which it is by default).
aelynne
Forum Members
Forum Members
Posts: 12
Joined: Wed Aug 28, 2013 1:27 am

Re: page links not show in menu

Post by aelynne »

okay.

this is the code in my template:

Code: Select all

{* Start Navigation *}
      <div id="menu_horiz">
{* stylesheet  "SimpleHorizontalIndex" *}
        {menu loadprops=0 template='simple_navigation2.tpl' number_of_levels='1'}
      </div>
{* End Navigation *} 
this is for menu manager:
accessible_simple_navigation.tpl (read only)
simple_navigation2.tpl (read only)
simple_navigation.tpl (read only)
accessible_cssmenu.tpl (read only)
minimal_menu.tpl (read only)
cssmenu.tpl (read only)
cssmenu_ulshadow.tpl (read only)

and the new page is a child. the parent is poperty. its already list under property in pages lists. but it doesn't show in dropdown. and the template i just copy from the old ones, and its suppose to be okay. but the link doesn't show. why?
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3497
Joined: Mon Nov 28, 2011 9:29 am

Re: page links not show in menu

Post by velden »

{menu loadprops=0 template='simple_navigation2.tpl' number_of_levels='1'}
Remove that parameter of change the value to 2 or 3 or whatever suits your needs.
aelynne
Forum Members
Forum Members
Posts: 12
Joined: Wed Aug 28, 2013 1:27 am

Re: page links not show in menu

Post by aelynne »

you means that this:

Code: Select all

{menu loadprops=0 template='simple_navigation2.tpl' number_of_levels='1'}
will become,

Code: Select all

{menu loadprops=0 template='simple_navigation2.tpl' number_of_levels='2'}
?
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3497
Joined: Mon Nov 28, 2011 9:29 am

Re: page links not show in menu

Post by velden »

aelynne wrote:you means that this:

Code: Select all

{menu loadprops=0 template='simple_navigation2.tpl' number_of_levels='1'}
will become,

Code: Select all

{menu loadprops=0 template='simple_navigation2.tpl' number_of_levels='2'}
?
yes
aelynne
Forum Members
Forum Members
Posts: 12
Joined: Wed Aug 28, 2013 1:27 am

Re: page links not show in menu

Post by aelynne »

still not show.

in attachment, the dropdown (grey color) should have 5 link, but the new link not show. I've tried your suggestion, its still the same. why?
Last edited by aelynne on Mon Jun 16, 2014 6:46 am, edited 1 time in total.
Geoclaps
Forum Members
Forum Members
Posts: 25
Joined: Tue Oct 08, 2013 12:02 pm

Re: page links not show in menu

Post by Geoclaps »

Hi, can you contact me trough e-mail (geoclaps [at] hotmail.com of PM? I think I can fix it for you but I have to see the code. You can also mail me the files (HTML + (inline of external) CSS.

Kind regards, Ruurd
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: page links not show in menu

Post by Dr.CSS »

It looks like you made a custom menu template and put it in the menu manager folder, it is best to make a copy of an existing menu template within menu manager, the new one won't be using the .tpl extension just template='newcustom'...

It also helps to put a link to the site/page in your post...
aelynne
Forum Members
Forum Members
Posts: 12
Joined: Wed Aug 28, 2013 1:27 am

Re: page links not show in menu

Post by aelynne »

how to copy the .tpl file?
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3497
Joined: Mon Nov 28, 2011 9:29 am

Re: page links not show in menu

Post by velden »

aelynne wrote:how to copy the .tpl file?
Layout -> Menu Manager ->
Click the 'Import template to Database' icon behind template you want to 'copy'.

Then you can edit that template from within CMSMS admin.
aelynne
Forum Members
Forum Members
Posts: 12
Joined: Wed Aug 28, 2013 1:27 am

Re: page links not show in menu

Post by aelynne »

To edit menu template:

Layout -> Menu Manager ->
Click the 'Import template to Database' icon behind template you want to 'copy'.

And then, the file will appear at where? and after I finish edit, how to put back that file?
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3497
Joined: Mon Nov 28, 2011 9:29 am

Re: page links not show in menu

Post by velden »

It's a database entry, not a file.

You edit from within CMSMS admin. To use it you either make it default template, or read Menu Manager help and lookup how to call a specific template.
aelynne
Forum Members
Forum Members
Posts: 12
Joined: Wed Aug 28, 2013 1:27 am

Re: page links not show in menu

Post by aelynne »

If I not edit in CMSMS, is it possible to edit outside CMSMS? I download that navigation.tpl file using filezilla. and edit it. then if I upload it back using filezilla, is it okay? or it will effect the page?
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3497
Joined: Mon Nov 28, 2011 9:29 am

Re: page links not show in menu

Post by velden »

I don't know. Those files are not meant to be overwritten as they come with cmsms install itself.

It's not supported. Use it the way it's meant to be used.
Post Reply

Return to “Layout and Design (CSS & HTML)”