Page 1 of 1

Re: Section Header - problem with links

Posted: Wed Feb 08, 2012 9:58 pm
by Dr.CSS
A link to the site would help...

Re: Section Header - problem with links

Posted: Wed Feb 08, 2012 11:27 pm
by Dr.CSS
Go to menu manager and import the cssmenu.tpl into DB then open it and look at the part about "if sectioheader and ***" menuactive menuparent etc. where it adds all this...

<li class="menuactive menuparent parent"><a class="menuactive menuparent parent" href="#">

Re: Section Header - problem with links

Posted: Thu Feb 09, 2012 8:14 pm
by Dr.CSS
What version of CMSMS?...

Sorry should have asked this first thing, actually you should have said in first post...

Re: Section Header - problem with links

Posted: Thu Feb 09, 2012 8:30 pm
by Dr.CSS
It seems to be coming from this line, last in menu template...

href="{$node->url}"><span>{$node->menutext}</span></a>

Since there is no URL it inserts the #, I would just for a test add a number in it to see...

href="6{$node->url}"><span>{$node->menutext}</span></a>

If that is where it comes from you can do an {if $node->type == 'sectionheader'} {else}href="{$node->url}"{/if}>

Re: Section Header - problem with links

Posted: Fri Feb 10, 2012 4:48 pm
by Dr.CSS
Did you try using the code I posted in the menu where you say it gets the # ?...