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

Log In Log out button on speed bar

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 02-10-2010, 08:01 AM
 
usrail123 usrail123 is offline
 

Member
  
Join Date: Nov 2009
Posts: 20
 

Default Log In Log out button on speed bar

Was anyone able to do this a customer is wanting this done?
They want a way to log in and out form the speedbar?
__________________
x cart gold 4.3
Reply With Quote
  #2  
Old 02-10-2010, 08:02 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: Log In Log out button on speed bar

Look in auth.tpl and authbox.tpl - you can just take the code from there
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #3  
Old 02-10-2010, 08:04 AM
 
usrail123 usrail123 is offline
 

Member
  
Join Date: Nov 2009
Posts: 20
 

Default Re: Log In Log out button on speed bar

And where would I put the code?
__________________
x cart gold 4.3
Reply With Quote
  #4  
Old 02-10-2010, 08:14 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: Log In Log out button on speed bar

Look in the head.tpl - template is tabs.tpl or similar. You can put the login link in admin/speed bar but the logout is a form so it has to go in the template
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #5  
Old 02-10-2010, 08:22 AM
 
usrail123 usrail123 is offline
 

Member
  
Join Date: Nov 2009
Posts: 20
 

Default Re: Log In Log out button on speed bar

ok I see what your saying.
You seem pretty smart at this.
How do I add columns on the light and lucid template kinda like the support one that is on there now. But I need a column for other things?
__________________
x cart gold 4.3
Reply With Quote
  #6  
Old 02-10-2010, 08:36 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: Log In Log out button on speed bar

Column or a box? Copy one of the side box templates and replace the contents between {capture} and {/capture} with your own; include the new template where you want it to show
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #7  
Old 02-10-2010, 08:41 AM
 
usrail123 usrail123 is offline
 

Member
  
Join Date: Nov 2009
Posts: 20
 

Default Re: Log In Log out button on speed bar

I guess I mean a box where you put static pages?
__________________
x cart gold 4.3
Reply With Quote
  #8  
Old 02-10-2010, 08:47 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: Log In Log out button on speed bar

See above how to create new side box
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



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 04:22 PM.

   

 
X-Cart forums © 2001-2020