Log in

View Full Version : know the Forum ok, but... Index or search?


Jhonnyf
08-26-2008, 12:40 PM
I use a code in Navbar.. to show some thing in some forums..
I use $forumid to know in which forum I'm

But, when I seach new messages, the $forumid can give any id...

Existe another variable to know when I'm searching? or looking the Forumhome?

Thank you

Opserty
08-26-2008, 12:55 PM
<if condition="THIS_SCRIPT == 'index'">
WE ARE ON FORUMHOME
</if>
<if condition="THIS_SCRIPT == 'search'">
WE ARE ON SEARCH
</if>

Jhonnyf
08-26-2008, 01:11 PM
<if condition="THIS_SCRIPT == 'index'">
WE ARE ON FORUMHOME
</if>
<if condition="THIS_SCRIPT == 'search'">
WE ARE ON SEARCH
</if>
Excelent...

Thank You !