Jump to content

Edit History

Remy FRK Corp

Remy FRK Corp

Bonjour

bricolage :

En overrideant le module fichier ps_mainmenu.tpl

et conditionant les href dans ces styles là :

	<a
		class="{if $depth >= 0}dropdown-item{/if}{if $depth === 1} dropdown-submenu{/if}"
		href="{if $node.label=='NON DE LA CATEGORIE'} VOTRE URL CUSTOM {else}{$node.url}{/if}" 
		data-depth="{$depth}"
       {if $node.open_in_new_window} target="_blank" {/if}
	>

OU mieux avec l'ID des catégorie

              <a
                class="{if $depth >= 0}dropdown-item{/if}{if $depth === 1} dropdown-submenu{/if}"
                href="{if $node.page_identifier=='category-NUMERO ID CATEGORIE'} VOTRE URL CUSTOM {else}{$node.url}{/if}"
                data-depth="{$depth}"
                {if $node.open_in_new_window} target="_blank" {/if}
              >

 

 

Remy FRK Corp

Remy FRK Corp

Bonjour

bricolage :

En overrideant le module fichier ps_mainmenu.tpl

et conditionant les href dans ces styles là :

	<a
		class="{if $depth >= 0}dropdown-item{/if}{if $depth === 1} dropdown-submenu{/if}"
		href="{if $node.label=='NON DE LA CATEGORIE'} VOTRE URL CUSTOM {else}{$node.url}{/if}" 
		data-depth="{$depth}"
       {if $node.open_in_new_window} target="_blank" {/if}
	>

OU mieux avec l'ID des catégorie

              <a
                class="{if $depth >= 0}dropdown-item{/if}{if $depth === 1} dropdown-submenu{/if}"
                href="{if $node.page_identifier=='category-NUMERO ID CATEGORIE'} VOTRE URL CUSTOM {else}{$node.url}{/if}"
                data-depth="{$depth}"
                {if $node.open_in_new_window} target="_blank" {/if}
              >

 

Remy FRK Corp

Remy FRK Corp

Bonjour

Ou vous faite un module pour, ou vous trouvez module menu qui le fait

Ou bricolage :

En overrideant le module fichier ps_mainmenu.tpl

et conditionant les href dans ces styles là :

	<a
		class="{if $depth >= 0}dropdown-item{/if}{if $depth === 1} dropdown-submenu{/if}"
		href="{if $node.label=='NON DE LA CATEGORIE'} VOTRE URL CUSTOM {else}{$node.url}{/if}" 
		data-depth="{$depth}"
       {if $node.open_in_new_window} target="_blank" {/if}
	>

OU mieux avec l'ID des catégorie

              <a
                class="{if $depth >= 0}dropdown-item{/if}{if $depth === 1} dropdown-submenu{/if}"
                href="{if $node.page_identifier=='category-NUMERO ID CATEGORIE'} VOTRE URL CUSTOM {else}{$node.url}{/if}"
                data-depth="{$depth}"
                {if $node.open_in_new_window} target="_blank" {/if}
              >

 

Remy FRK Corp

Remy FRK Corp

Bonjour

Ou vous faite un module pour, ou vous trouvez module menu qui le fait

Ou bricolage :

En overrideant le module fichier ps_mainmenu.tpl

et conditionant les href dans ces styles là :

	<a
		class="{if $depth >= 0}dropdown-item{/if}{if $depth === 1} dropdown-submenu{/if}"
		href="{if $node.label=='NON DE LA CATEGORIE'} VOTRE URL CUSTOM {else}{$node.url}{/if}" 
		data-depth="{$depth}"{if $node.open_in_new_window} target="_blank" {/if}
	>

OU mieux avec l'ID des catégorie

              <a
                class="{if $depth >= 0}dropdown-item{/if}{if $depth === 1} dropdown-submenu{/if}"
                href="{if $node.page_identifier=='category-NUMERO ID CATEGORIE'} VOTRE URL CUSTOM {else}{$node.url}{/if}"
                data-depth="{$depth}"
                {if $node.open_in_new_window} target="_blank" {/if}
              >

 

×
×
  • Create New...