Jump to content

Menu Horizontal Problem (Resolved)


francois.malicet

Recommended Posts

hello,

I have some problems with the horizontal menu of my website.

I decided to make 3 categories in the horizontal menu

I managed as indicated by the different tutorial that I need. No problem of the home of my website

 

however, when I am on a product page, the Url present are distorted:

 

I'm on http://www.mywebsite.com ==> Categories Link : OK (for ex : http://www.mywebsite.com/category4)

I'm on http://www.mywebsite.com/category1 ==> Categories Link : OK (for ex : http://www.mywebsite.com/category5)

I'm on http://www.mywebsite.com/cms5 ==> Categories Link : OK (for ex : http://www.mywebsite.com/category6)

 

I'm on http://www.mywebsite...egory1/product1 ==> Error ===> Link go to http://www.mywebsite...gory1/category3 ==> 404

or

I'm on http://www.mywebsite...gory4/product15 ==> Error ===> Link go to http://www.mywebsite...gory4/category3 ==> 404

or

I'm on http://www.mywebsite...ory3/product155 ==> Error ===> Link go to http://www.mywebsite...gory3/category3 ==> 404

 

The link keep the category of the page product !

Only the Link categories make problem

 

this is my tmheaderlinks.tpl :

 

<div class="clearblock"></div>

<ul id="tmheaderlinks">

<li><a href="{$link->getPageLink('index.php')}"{if $page_name == 'index'} class="active"{/if}>{l s='home' mod='tmheaderlinks'}</a></li>

<li><a href="6-cigarette-electronique"{if $page_name == '6-cigarette-electronique'} class="active"{/if}>{l s='Cigarette electronique' mod='tmheaderlinks'}</a></li>

<li><a href="7-e-liquide"{if $page_name == '7-e-liquide'} class="active"{/if}>{l s='E-liquide' mod='tmheaderlinks'}</a></li>

<li><a href="8-accessoires"{if $page_name == '8-accessoires'} class="active"{/if}>{l s='Accessoires' mod='tmheaderlinks'}</a></li>

<li><a href="{$link->getPageLink('contact-form.php')}"{if $page_name == 'contact-form'} class="active"{/if}>{l s='contact' mod='tmheaderlinks'}</a></li>

</ul>

Edited by francois.malicet (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...