| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | Mark Forums Read | User manuals | Login |
Authbox INSANITY! Login/Logout broken! | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
Authbox INSANITY! Login/Logout broken!
Ok, here is my site http://www.thecharmingbeadshop.com. It is not at all finished and I am very sure has many bugs in it, but that's ok. I am having a problem with my authbox. If you go to my site it is located at the bottom of the help menu on the left hand side...it's not going to stay there, just there for testing purposes at the moment.
Anyhow, my problem is this, even if you are not logged in it says: " is logged in!" and it has the option to log out. If you do log in from the top menu bar it does say "name is logged in". (If you would like to test it you are more than welcome to make a test profile.) I restored the original authbox.tpl file, but my auth.tpl file isn't original, does this have any impact on it, is there anything mandatory that must be there? Would there be any other files that impact this one? Please help! Been going over it for hours and it's probably something small.
__________________
X-Cart version 4.0.14 |
|||||||||
#2
|
|||||||||
|
|||||||||
your best bet is to restore those files and also look at how the auth boxes were included in the home.tpl in the first place. It looks like you removed the {if $login} sections
__________________
Looking for a reliable X-cart host ? You wont go wrong with either of these. EWD Hosting Hands On Hosting |
|||||||||
#3
|
|||||||||
|
|||||||||
Ok. I restored my home.tpl file and the authbox works great. So what I need to know is what code is it that I should take out if I want to include my modified version of the authbox and login box on a different section of the page, the head for instance. This is all I took out and it doesn't work:
Code:
And here is the original home.tpl file: Code:
__________________
X-Cart version 4.0.14 |
|||||||||
#4
|
|||||||||
|
|||||||||
Try this. I think you have forgotten to end the IF statement.
Code:
__________________
Dongan MercuryMinds Technologies Professional X-Cart Design, X-Cart Development, X-Cart Customization Services www.mercuryminds.com Follow us at Facebook / Twitter |
|||||||||
#5
|
|||||||||
|
|||||||||
Hahaha! Thanks! That's great....must mean it's time to take a break if I missed something that simple. Works fine...for now...until I can think of another way to mess it up...lol.
__________________
X-Cart version 4.0.14 |
|||||||||
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|