Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

My Account Login

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #101  
Old 10-21-2007, 06:49 PM
 
xcesiv xcesiv is offline
 

Advanced Member
  
Join Date: Jun 2007
Posts: 84
 

Default 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
__________________
www.pureimage.com.au - X-CART Gold 4.7.4
www.WholesaleDigital.com.au - X-CART Gold 4.6.0
Reply With Quote
  #102  
Old 10-21-2007, 06:55 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default 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.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #103  
Old 10-21-2007, 07:04 PM
 
xcesiv xcesiv is offline
 

Advanced Member
  
Join Date: Jun 2007
Posts: 84
 

Default 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.
__________________
www.pureimage.com.au - X-CART Gold 4.7.4
www.WholesaleDigital.com.au - X-CART Gold 4.6.0
Reply With Quote
  #104  
Old 10-21-2007, 07:46 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: My Account Login

Where did you get menu_mod? I think you mean menu_profile_mod.tpl
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #105  
Old 10-21-2007, 08:00 PM
 
xcesiv xcesiv is offline
 

Advanced Member
  
Join Date: Jun 2007
Posts: 84
 

Default 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
__________________
www.pureimage.com.au - X-CART Gold 4.7.4
www.WholesaleDigital.com.au - X-CART Gold 4.6.0
Reply With Quote
  #106  
Old 10-30-2007, 03:17 AM
 
LittleLizard LittleLizard is offline
 

Member
  
Join Date: Jun 2007
Location: Atlanta
Posts: 27
 

Default 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
__________________
www.littlelizard.com
X-Cart version 4.1.8
Reply With Quote
  #107  
Old 11-03-2007, 12:26 PM
 
espresso espresso is offline
 

eXpert
  
Join Date: Apr 2007
Location: Ontario, Canada
Posts: 227
 

Default 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.
__________________
Rene
End user - merchant
In the upgrade process 4.6.6 to 5.4.x


Mods I miss in 5.4.x:
xCMS, Create-A-Sale, On-Sale AC, Kit Builder AC, Manufacturer-A-Z BCSE, Product-Bundle BCSE, Pre-Order BCSE, Customer Quotes BCSE
Reply With Quote
  #108  
Old 11-04-2007, 01:54 PM
 
kalonji kalonji is offline
 

Member
  
Join Date: Aug 2007
Posts: 15
 

Default Re: My Account Login

Anyone know how to get the login box across the top beside where the search bar is?
Thanks
__________________
xcart 4.2 Gold
Fashion Mosaic Blue.
Unix Hosted
Reply With Quote
  #109  
Old 11-07-2007, 04:37 AM
 
parekh81 parekh81 is offline
 

Senior Member
  
Join Date: Nov 2007
Posts: 191
 

Default 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?
__________________
Gold 4.4.2 with 'some' customisation
Site review: http://forum.x-cart.com/showthread.php?t=63075
Reply With Quote
  #110  
Old 11-07-2007, 04:47 AM
  chamberinternet's Avatar 
chamberinternet chamberinternet is offline
 

X-Wizard
  
Join Date: Sep 2005
Location: Lancashire, UK
Posts: 1,470
 

Default 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.
__________________
Developing in 4.7.x now (Dipping into v5 - Slowly!)
Have used 4.1.x, 4.2.x, 4.4.x, 4.5.x, 4.6.x & 4.7.x
Multiple Instances of X-Cart
MySQL 5.6.37
CentOS 7.4


Chamber Internet
- Lancashire, United Kingdom
http://www.chamberelancs.co.uk
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 12:16 PM.

   

 
X-Cart forums © 2001-2020