1
tatane
Problem $xoops_dirname==
  • 2011/3/27 8:50

  • tatane

  • Just can't stay away

  • Posts: 649

  • Since: 2008/5/6 1


Hello

I would turn on my bar navigation system that lets you see the selected module

For this I use the smarty system to $xoops_dirname==

This works very well with the directions of the module but the problem is that I can not get it to work with a link made

See if I put


le="color: #000000"><?php <li class="topmenu"><a href="<{$xoops_url}>/modules/adslight"<{if $xoops_dirname=='adslight'}> class="active"<{/if}>>Petites annonces</a></li> <li class="topmenu"><a href="<{$xoops_url}>/modules/newbb/"<{if $xoops_dirname=='newbb'}> class="active"<{/if}>>Forum</a></li>


It works very well. By cons, if I put

le="color: #000000"><?php <li class="toplast"><a href="<{$xoops_url}>/modules/liaise/?form_id=1"<{if $xoops_dirname=='liaise'}> class="active"<{/if}>>Contact</a></li>


This link does not work!

How to make it active as the first?

Thank you

2
kris_fr
Re: Problem $xoops_dirname==
  • 2011/3/27 10:13

  • kris_fr

  • Theme Designer

  • Posts: 1009

  • Since: 2005/12/31