Login Box 1.5 problems....
Hi everyone!
My problem: I installed Login box 1.5, add on from here http://www.zen-cart.com/index.php?ma...roducts_id=154
Now I click on the create account option and it takes me to the login page - index.php?main_page=login
I need it to direct me to the create account page - index.php?main_page=create_account
Ive looked at all the files that come with the add on and I cant find any options to change.
I need the Create account option to send me to that page and not the login page.
Which file in zen cart should be edited to affect this change?
(Ive spent hours looking through the forums If there is a support thread for Login Box 1.5 please give me the link)
THANK YOU!!
Re: Login Box 1.5 problems....
If I "inspect element" I can see
<a href="https://www.majesticsilver.co.uk/store/index.php?main_page=login">Create Account</a>
So I obviously need to change that piece of code but what file is it in....
My website is www.majesticsilver.co.uk/store
Re: Login Box 1.5 problems....
I hope the Green Elf would come to help me soon... or anyone :P
Re: Login Box 1.5 problems....
I am directed to your login page as it shoud be
Might clear your browser cache and/or your router cache
Re: Login Box 1.5 problems....
no Kobra... I want to be directed to index.php?main_page=create_account when you click on Create account in the side box, not login...
Re: Login Box 1.5 problems....
Ok I FOUND THE SOLUTION!
And since nobody helps me here any way I helped myself and I am publishing this information for others to enjoy.
NOTICE TO DR BYTE: Please amend your Sidebox 1.5 based on my corrections.
So as you may know clicking "create account" in the side box takes you to your login page and NOT to create account page which causes issues, for me with the CAPTCHA add on that doesnt display the word challenge in the login page ONLY the create account page, which kinda makes sense.
All you need to do to fix this is edit your /home/majestic/public_html/store/includes/templates/template_default/sideboxes/tpl_login_box.php
and replace
Line #37 : $content .='<a href="' . zen_href_link(FILENAME_PASSWORD_FORGOTTEN, '', 'SSL') . '">' . LOGIN_BOX_PASSWORD_FORGOTTEN . '</a>' . '<br />' . '<a href="' . zen_href_link(FILENAME_LOGIN, '', 'SSL') . '">' . LOGIN_BOX_CREATE_ACCOUNT . '</a>' . '<br />';
with
Line #37 : $content .='<a href="' . zen_href_link(FILENAME_PASSWORD_FORGOTTEN, '', 'SSL') . '">' . LOGIN_BOX_PASSWORD_FORGOTTEN . '</a>' . '<br />' . '<a href="' . zen_href_link(FILENAME_CREATE_ACCOUNT, '', 'SSL') . '">' . LOGIN_BOX_CREATE_ACCOUNT . '</a>' . '<br />';
Hey PRESTO! your "create account" link in your login sidebox will now redirect you to the correct create account page!
Im a new zenner and not a programmer at all. Im really proud of this simple little contribution I couldnt find anywhere in the posts.
ENJOY!!!
Re: Login Box 1.5 problems....
Quote:
Originally Posted by
aozhaver
NOTICE TO DR BYTE: Please amend your Sidebox 1.5 based on my corrections.
Add-ons are community driven efforts. DrByte wasn't the original author of this particular add-on merely the last one to update it.. I say this to point out that YOU could bundle up your correction and submit it as an update to this module.. (versus making a request for others to do it.. Just sayin':cool:)
Re: Login Box 1.5 problems....
I'm much too green to offer my own flavour add ons. I would say this I have MANY add-ons new as well as really old ALL working perfectly on zen-cart 1.3.9f. I dont see the big deal on the forums about backward compatibility. Ofcourse things are compatible!! esp to 1.38/7 HELLO!! its the same zen cart just follow install instructions and spend many sleepless nites and one can make anything work, people tend to throw the blame for things not working on compatibility- I say laziness and lack of feedback on THIS forum :P but you know I really love u all!!!!!!!!!:D
Re: Login Box 1.5 problems....
Re: Login Box 1.5 problems....
Quote:
Originally Posted by
aozhaver
I'm much too green to offer my own flavour add ons.
If you found the answer an posted the solution then you are not green at all.. ANYONE can submit an update/correction to an add-on.. 'tis my only point..:smile:
Quote:
Originally Posted by
aozhaver
lack of feedback on THIS forum :P but you know I really love u all!!!!!!!!!:D
There is PLENTY of feedback on this forum.. In my experience, while not all of my questions get answered I have ALWAYS found my answers on THIS forum in other ways (the search feature is an awesome tool!).. and in EXTREME cases I have found my answers via Google.. I know you think there is a lack of feedback on this forum.. I have to respectfully agree to disagree..