![]() |
A much easier approach is to copy paste the <FORM>...</FORM> of the login source on your site and make small minor adjustments to images, and the action location of the form if need be, and paste it into a static page and just call it via pages.php?pageid=1 or such. :)
But this looks groovy :D |
BOOMER, if you try my code, the navigation trail only shows the 'site name' and not 'sitename > My Account'. Am I missing something somewhere?
Cheers BOOMER |
Code:
{assign var="last_location" value="My Account"} :wink: |
Thanks BOOMER - your code worked a treat!
|
I got this code here from x-cart - hopefully it can help someone else!
(amazing, they did something fast & free!!) Code:
code for login.php |
FYI - i'd use the script by laureon
x-cart's version left much to be desired after i implemented laureon's version. just an FYI for everyone! :) |
this is all good stuff, but is there anyway to have a button that says login if the user isnt logged in and logout if the user is logged in, kinda like the way it works on the real auth box.
this would make the mod perfect. any information would be greatly appreciated. |
If you insert this code: {if $login eq "" } before the table tags as below:
{capture name=dialog} {if $login eq "" } <TABLE border=0 cellPadding=0 cellSpacing=0 width=100%> {if $config.General.use_https_login eq "Y"} then paste this code after the closing </table> tag and just above '{/capture} {include file="dialog.tpl" title="My Account" content=$smarty.capture.dialog extra="width=100%"}' Code:
{else} Hope this helps. P.S - Tested and working on 3.5.6 |
Just wanted to add those running 3.5.5+ can just use the link customer/secure_login.php if they have a secure HTTPS server, its secure and a seperate login from customer/home.tpl.
Kudos. |
Thanks B00mer! 8)
wish i woulda known that earlier :lol: |
All times are GMT -8. The time now is 08:15 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.