X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (https://forum.x-cart.com/forumdisplay.php?f=20)
-   -   My Account Login (https://forum.x-cart.com/showthread.php?t=10141)

parekh81 04-30-2009 08:58 AM

Re: My Account Login
 
As of yet I haven't recieved a quote from qualiteam ...

Christofer 05-08-2009 01:13 PM

Re: My Account Login
 
nothing yet?

alw_23 05-21-2009 07:57 AM

Re: My Account Login
 
Quote:

Originally Posted by Jayk
I tried to get it working on a 4.2 install as well and couldn't. I think there's a php change necessary to allow the help.php?section=Login" in the GET string to work; may be a security addon that was done in 4.2?

Jason

HI,
Trying to figure out this issue. I seem to be having the same issue JayK had.

Quote:

I tried to get it working on a 4.2 install as well and couldn't. I think there's a php change necessary to allow the help.php?section=Login" in the GET string to work; may be a security addon that was done in 4.2?

I placed my {include file="help/Login.tpl"} into my home.tpl just to see if it my Login.tpl works and it works great, along with the mod files, too!! Is my problem somewhere with creating "...help.php?section=Login" link? I did exactly what the instructions said to in the index.tpl by adding/changing the if/elseif statements:
{if $section eq "Login"}
{include file="help/Login.tpl"}
{elseif $section eq "Password_Recovery"}

Does anyone know what I am not understanding?
Thanks for your time.
-d

alw_23 06-16-2009 09:35 AM

Re: My Account Login
 
I ended up making a static page and under general settings - general options -checking the box - Parse Smarty tags in the content of embedded static pages.

kinder4 07-07-2009 09:10 AM

Re: My Account Login
 
The redirect works fine, but did anyone ever thought about the error message?
Here is my dilemma: I do not want any visitors to enter my shop unless they log in, so I placed login box on my homepage, when user logs in, he gets to shopping cart home page and that is fine, but my problem is when incorrect info is entered, the user is redirected to xcart's error page where he can easily navigate the entire shop. So how can I customize an error redirect?
Thank you

boxerbay 07-08-2009 02:20 PM

Re: My Account Login
 
You could use an if/then statement in head.tpl

http://forum.x-cart.com/showthread.php?t=8881

Another useful place for this tag is on your static pages - many people have complained of not having "content protection" on x-cart - well, this is how you do it. Create your static page, make sure you have "parse smarty tags in static pages" checked in your general setting for static pages, and then at the top of your html where your content begins, simply put that tag in there surrounding your "real" content, and then an {else} for your message to people who don't have the membership.

Something like this:

{if $user_membership ne "Level 1"}
I'm sorry, you don't have a membership, so this content is not accessible. Please click here to become a member and get the goodies.
{else}
Your real html content
{/if}

boxerbay 07-08-2009 02:31 PM

Re: My Account Login
 
... yes finally beat Balinor to an answer... muaahahaha. :)

WebGuyJD 10-16-2009 06:58 AM

Re: My Account Login
 
This is exactly what I need! Will this work for xCart 4.2.2?


All times are GMT -8. The time now is 06:56 AM.

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