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 annoncesa>li>     <li class="topmenu"><a href="<{$xoops_url}>/modules/newbb/"<{if $xoops_dirname=='newbb'}> class="active"<{/if}>>Foruma>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}>>Contacta>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

233 user(s) are online (77 user(s) are browsing Support Forums)


Members: 0


Guests: 233


more...

Donat-O-Meter

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

Latest GitHub Commits