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)
-   -   Embedded Page for Authentication (https://forum.x-cart.com/showthread.php?t=4923)

jac 10-23-2003 10:55 PM

Embedded Page for Authentication
 
Version 3.4.8:
I want to setup an Embedded Page for Authentication, how can I do it?

Thanks,
Jac

B00MER 10-24-2003 03:39 AM

Use the same tpl from main/error_login_incorrect.tpl modified somewhat, and then just make a simple php page that has all of the includes and set the main smarty variable to something like "login" and add this to common_templates.tpl.

;)

jac 10-24-2003 06:50 AM

Embedded Page for Authentication
 
Thank you for your promt reply,
Please give me more detail about how to set the main smarty variable.

Thanks again,
Jac

B00MER 10-24-2003 06:54 AM

php file:
Code:

$smarty->assign("main","login_only");

common_templates:
Code:

{elseif $main eq "login_only"}
{include file="customer/main/yourloginpage.tpl"}


jac 10-24-2003 09:30 AM

Appreciate for your help, but it doesn't work!
Would you make me an example.

Tks,
Jac


All times are GMT -8. The time now is 04:44 PM.

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