![]() |
I am running 4.0.6 gold
|
1) Download home.php and rename it myaccount.php
2) Open myaccount.php Find: Code:
$smarty->assign("main","catalog"); Change to: Code:
$smarty->assign("main","myaccount"); 3) Open: /skin1/customer/home_main.tpl Find: Code:
{else} BEFORE that add: Code:
{elseif $main eq "myaccount"} 4) Create a new file called: myaccount.tpl In it put this code: Code:
<h3>{$lng.lbl_authentication}</h3> 5) Upload myaccount.php to the same directory as your home.php 6) Reupload home_main.tpl to the same place 7) Upload myaccount.tpl to /skin1/customer/main/ 8) Load your myaccount.php in your browser. |
Jon,
Your almost there, or I am at least. I followed your directions to the T. However, once you click login it returns you back to the login screen. Why? Why does http://www.pariscape.com/error_message.php?login_incorrect redirect you from the login page back to the home page and your script won't? I don't want them seeing the login screen after they login. What does that form do differently that you don't? The site is under major contruction, but please look at: http://www.pariscape.com/myaccount.php login in as customer:customer Thanks :wink: |
Open myaccount.php
Find: Code:
require "./auth.php"; After put: Code:
if ($login) { header ("Location: /home.php"); } |
That work?
|
Yes! Thanks Jon for all your help.
|
Well done Jon
Well Jon you do rather beat the drum about your add-ons :D but I must praise you for the time you give to this forum - I followed the whole thread and just felt I had to congratulate you for all the work you did in helping the poster without any reward - thanks on behalf of the forum!!
(moderators I hope you don't mind my saying on behalf of the forum - I just feel Jon really deserves it!!) |
Thanks 8)
|
there should be like a bi-monthly poll where we vote on the most helpful member on the forums and all chip in for some kind of "thank you" prize
|
All times are GMT -8. The time now is 02:34 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.