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)

xcesiv 10-21-2007 06:49 PM

Re: My Account Login
 
I have now renamed the file with capital L

still have the same error, but it change a bit
Code:

Warning: Smarty error: unable to read resource: "menu_mod.tpl" in /home/.marcus/jebb/ls1store.xcesiv.com/xcart/Smarty-2.6.12/Smarty.class.php on line 1095
t

balinor 10-21-2007 06:55 PM

Re: My Account Login
 
So that means menu_mod.tpl is not where it needs to be. You need to make sure you name the files exactly what you call them as, and put them in the right place.

xcesiv 10-21-2007 07:04 PM

Re: My Account Login
 
i copied the files and used the names in the mod listed so should be the same

its looking for "menu_mod.tpl"

Could this be menu_profile_mod.tpl

Im not good at this kinda stuff sorry

i dont see any mention of menu_mod in the instructions, only in the coding.

balinor 10-21-2007 07:46 PM

Re: My Account Login
 
Where did you get menu_mod? I think you mean menu_profile_mod.tpl

xcesiv 10-21-2007 08:00 PM

Re: My Account Login
 
I just copied the files exactly as they are in the post on page 1

At the bottom of 3 tpl files they all state menu_mod.tpl

I changed 2 (auth_mod.tpl & authbox_mod.tpl) of them and its now got no error, but also nothing else

If i change the bottom line in menu_profile_mod.tpl where it mentions menu_mod.tpl to menu_profile_mod.tpl itself it crashs

LittleLizard 10-30-2007 03:17 AM

Re: My Account Login - for Jayk
 
for Jayk

-----------------------

The account login link from the speed bar, etc. works great.

Except when you go to check out.

I get:


Parse error: syntax error, unexpected $end in /home/protecht/public_html/include/register.php on line 1025

espresso 11-03-2007 12:26 PM

Re: My Account Login
 
Quote:

Originally Posted by Jayk
I had a request via PM for the changes I made to the original for 4.1.6. I am now running it on 4.1.8 successfully. I have zipped up my version of the mod including the tpl's and a readme to install it. (attached to this post).

The mod is installed on my site, but please don't create a profile just to see it as we are a live shop (unless you want to buy something of course).

If you improve on this, please share back to the community.

Thanks,
Jason


Great mod guys. Keep up the good work.
I'm still new to XC.
When you click on the "LOGOUT" button (login.tpl) nothing happens but get an error in the IE and FF "Object doesn't support this property or method".
It refers to the line and command of: onclick="javascript: document.loginform.submit();"
I do have javascript enabled.
Where do I start looking ?
Thank you.

kalonji 11-04-2007 01:54 PM

Re: My Account Login
 
Anyone know how to get the login box across the top beside where the search bar is?
Thanks:)

parekh81 11-07-2007 04:37 AM

Re: My Account Login
 
Been reading through this thread but can't seem to find something like this.
  • Have a 'My Account' and 'Login' button in header of shop.
  • Both buttons lead to 'username-password' or 'new-registration' page
  • Once user has 'logged in', 'Login' button changes to 'Log out' button and 'My Account' button leads to customers account page.
  • So when customer clicks on 'log out', customer is logged out' and button changes back to 'login'
Can anyone help with this functionality?

chamberinternet 11-07-2007 04:47 AM

Re: My Account Login
 
This can be done with {if} / {else} statements ...

I've done this with a few xc sites

e.g. http://www.plasticweldingequipment.co.uk

When the customer log's in, the login button changes to 'Logout' along with this additional buttons are shown e.g: Order History.


All times are GMT -8. The time now is 11:55 AM.

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