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)
-   -   Login page condition (https://forum.x-cart.com/showthread.php?t=58050)

Omron Khan 02-14-2011 09:50 PM

Login page condition
 
Guys i need a if condition to display an image only on the login page .. can anyone help?

cflsystems 02-15-2011 03:07 AM

Re: Login page condition
 
{if $main eq "authentication"}

show image

{/if}

If you want to show it on the page itself just add it to
skin/common_files/customer/main/authentication.tpl
or
skin/common_files/customer/main/login_form.tpl

Omron Khan 02-15-2011 04:46 AM

Re: Login page condition
 
Yeah it worked.

Thanks man you been great help


All times are GMT -8. The time now is 11:51 AM.

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