Help with menus please...

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
User avatar
Sy
Forum Members
Forum Members
Posts: 95
Joined: Fri Aug 17, 2007 11:13 am

Help with menus please...

Post by Sy »

I am running CMSMS version 1.9.4.2 "Faanui", since an upgrade I have lost the top line menus that were previously working but since the upgrade have disappeared.

Can anyone tell me what I'm need to do?

Before upgrade they were working.

I'm running on:
Apache 2.2
PHP 5.2.5
MySQL 5.5

Thank you.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Help with menus please...

Post by Dr.CSS »

Top line menus..?

more info = more help
User avatar
Sy
Forum Members
Forum Members
Posts: 95
Joined: Fri Aug 17, 2007 11:13 am

Re: Help with menus please...

Post by Sy »

When I say top line menus, I mean the drop down menus...These are used to navigate through the content pages, as set-up using the menu manager.

The menus were done as follows:

Code: Select all

{menu template='ESKA Menus'}
Last edited by Sy on Sat Mar 02, 2013 7:22 pm, edited 2 times in total.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Help with menus please...

Post by Dr.CSS »

The name of the menu templates haven't changed in quite a while. Were you using a custom menu template or ..?

What does the {menu} call in your template look like..?
User avatar
Sy
Forum Members
Forum Members
Posts: 95
Joined: Fri Aug 17, 2007 11:13 am

Re: Help with menus please...

Post by Sy »

Here is my menu template:

Code: Select all

{* CSS classes used in this template:
#menuwrapper - The id for the <div> that the menu is wrapped in. Sets the width, background etc. for the menu.
#primary-nav - The id for the <ul>
.menuparent - The class for each <li> that has children.
.menuactive - The class for each <li> that is active or is a parent (on any level) of a child that is active. *}
{if $count > 0}
<div id="menuwrapper">
<ul id="primary-nav">
{foreach from=$nodelist item=node}
{if $node->depth > $node->prevdepth}

	{repeat string="<ul>" times=$node->depth-$node->prevdepth}
{elseif $node->depth < $node->prevdepth}

	{repeat string="</li></ul>" times=$node->prevdepth-$node->depth}
	</li>
{elseif $node->index > 0}</li>
{/if}
{if $node->parent == true or ($node->current == true and $node->haschildren == true)}
	<li class="menuactive menuparent"><a class="menuactive menuparent" 
{elseif $node->current == true}
	<li class="menuactive"><a class="menuactive" 
{elseif $node->haschildren == true}
	<li class="menuparent"><a class="menuparent" 
{elseif $node->type == 'sectionheader'}
        <li class="sectionheader"><span> {$node->menutext} </span>
{elseif $node->type == 'separator'}
        <li style="list-style-type: none;"> <hr class="separator" />
{else}
	<li><a 
{/if}
{if $node->type != 'sectionheader' and $node->type != 'separator'}
href="{$node->url}" {if $node->accesskey != ''}accesskey="{$node->accesskey}" {/if}{if $node->tabindex != ''}tabindex="{$node->tabindex}" {/if}{if $node->titleattribute != ''}title="{$node->titleattribute}"{/if}{if $node->target ne ""} target="{$node->target}"{/if}><dfn>{$node->hierarchy}: </dfn>{$node->menutext}</a>
{elseif $node->type == 'sectionheader'}
><dfn>{$node->hierarchy}: </dfn>{$node->menutext}</a>
{/if}

{/foreach}

	{repeat string="</li></ul>" times=$node->depth-1}		</li>
	</ul>
<div class="clearb"></div>
</div>
{/if}
User avatar
Sy
Forum Members
Forum Members
Posts: 95
Joined: Fri Aug 17, 2007 11:13 am

Re: Help with menus please...

Post by Sy »

Ok, compared the online version with my offline development version, its the dev. version that has the problem.

In my offline version there is no Menu Manager menu opton in the Layout submenu. But there is in the online version.

I think I can see the problem and will try updating the offline version now.

The online version is 1.9.4.2, the offline version is 1.9.
User avatar
Sy
Forum Members
Forum Members
Posts: 95
Joined: Fri Aug 17, 2007 11:13 am

Re: Help with menus please...

Post by Sy »

Problem solved, upgraded to 1.9.4.2 and it works fine.
Locked

Return to “[locked] Installation, Setup and Upgrade”