![]() |
Check if not logged in and $main is...
Hi,
I am trying to create an if statement that will check if the visitor is not logged in and the page he is visiting not equals a static page or a help page, but i can't get it to work: Code:
{if $login eq "" && ($main ne "pages" || $main ne "help")} I have tried several ways, but this codes looks like the logical one for me. Can someone help me? |
Re: Check if not logged in and $main is...
Try {if $login eq "" && $main ne "pages" && $main ne "help"}
|
Re: Check if not logged in and $main is...
Quote:
Thank you, it works for me! |
All times are GMT -8. The time now is 07:22 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.