X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   if to detect the admin page and not logged in (https://forum.x-cart.com/showthread.php?t=42326)

alla 09-12-2008 08:20 AM

if to detect the admin page and not logged in
 
Hi,

I would like to know how can I say something like:

If admin page and admin not logged in

else

end


Basically I would like to customize only the login admin page. The rest of the admin section can stay the same.


Thank you

Ene 09-13-2008 06:03 AM

Re: if to detect the admin page and not logged in
 
Code:

{if $login eq "" && ($usertype eq "P" or $usertype eq "A")}

{else}

{/if}


alla 09-17-2008 06:37 PM

Re: if to detect the admin page and not logged in
 
Thank You

It worked


All times are GMT -8. The time now is 02:48 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.