Quote:
Originally Posted by AndrewD
When you are on the LDM main page, $viewcatid will be equal to -1
When you are viewing the results of a search, the variable $this_action will be equal to "show"
When you are inside LDM, $this_action is always set, and I imagine it's not set when you are in a forum
So I suggest you modify your forum tab code to say something like
PHP Code:
if condition="!$this_action and (THIS_SCRIPT=='index' or in_array(..))">...</if>
|
Thanks a lot! This works.
Quote:
Originally Posted by AndrewD
Your LDM search check could be
PHP Code:
if condition="$this_action=='show')">...</if>
|
If I add this including the
then vb gives me an error because there is no opening ( in the code. I can not leave it out either as that doesn't work. Can you please elaborate?
Quote:
Originally Posted by AndrewD
Your LDM main page check could be
PHP Code:
if condition="$this_action=='links') and $viewcatid<0">...</if>
|
I encounter the same problem here.