snoopy5 |
06-20-2009 04:23 AM |
Quote:
Originally Posted by kalypsoweb
(Post 1508851)
Ok, after a few hours of playing with conditions, I found a fix:
In navbar template:
Change:
Code:
<if condition="$show['notices']">
To:
Code:
<if condition="$show['notices'] AND THIS_SCRIPT != 'adv_index'">
This will keep notices from showing on any cmps pages which is what I needed. Just in case anyone else may need it :)
|
Hi
I tried this modification, but can not see any differenece to the original code. Can someone explain me why this does not hide the welcome header in vb forum on all other pages except index page although I use this code?
Another question:
I want to have to different language setting in one forum. Some sections will be in English, some in other language. There is no problem to offer the drop-down for each language, this works fine alos with the icons etc.
But how can I adapt the code of this welcome header mod to chnage the language?
It shall show also all the message of this hack in the appropriate language depending on teh language setting of the user. In ACP, there is just one box to translate for one language. Any other ideas?
Thanks in advance
|