XF 1.5 Translate "Active Link" Vbulletin code to XenForo

sergio00

Member
Hello

I have a custom code from my Old Vbulletin that I want to translate to Xenforo
I had in my old Vbulletin Header some buttons linked to several sub forums. Those buttons had hover and active link CSS code class but the same code in my Xenforo 1.5 dont work.

Can anybody help me to translate this code to Xenforo compatible?

HTML:
<li class="header-boton-elemento"><a href="forumdisplay.php?f=8" title="Aviones" class="header-botones aviones<if condition="$GLOBALS['forumid'] == 8">-active</if>"></a></li>
        <li class="header-boton-elemento"><a href="forumdisplay.php?f=31" title="Multirrotores" class="header-botones multirrotores<if condition="$GLOBALS['forumid'] == 31">-active</if>"></a></li>
        <li class="header-boton-elemento"><a href="forumdisplay.php?f=7" title="Electronica" class="header-botones electronica<if condition="$foruminfo['forumid'] == 7">-active</if>"></a></li>
        <li class="header-boton-elemento"><a href="forumdisplay.php?f=11" title="Telemetria" class="header-botones telemetria<if condition="$GLOBALS['forumid'] == 11">-active</if>"></a></li>

Thanks all
Sergio
 

Attachments

  • cabeceraMODELOS.webp
    cabeceraMODELOS.webp
    6.4 KB · Views: 3
Top Bottom