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


<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

<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



Login

Who's Online

206 user(s) are online (124 user(s) are browsing Support Forums)


Members: 0


Guests: 206


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits