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

How relocate items? (such as the Authentication box)

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 04-01-2004, 01:18 PM
 
phpguy phpguy is offline
 

Member
  
Join Date: Apr 2004
Posts: 17
 

Default How relocate items? (such as the Authentication box)

I want to put the authentication forms in the header...how do I go about doing this?
Reply With Quote
  #2  
Old 04-01-2004, 01:45 PM
 
laureon laureon is offline
 

Senior Member
  
Join Date: Oct 2003
Posts: 171
 

Default

You might want to use the feature 'webmaster mode' in the admin control panel. When you are in 'webmaster mode' open customer/home.php in the new window by clicking the link offered. If you then click on page elements e.g. the authentication box, at the bottom of the screen you will be informed of the '.tpl' (template) files each page element is based on. All you need to do then is edit accordingly.

The main layout is found in: [skin1]/customer/home.tpl
and the head in: [skin1]/head.tpl
and the footer in: [skin1]/bottom.tpl

TIP:

If you look in [skin]/customer/home.tpl you will find in the code the tags:
{if $login eq "" }
{ include file="auth.tpl" }


{else}
{ include file="authbox.tpl" }

You can remove them from 'home.tpl' and place them somewhere in 'head.tpl'

You can then customise the templates 'auth.tpl' and 'authbox' to suit your design.

Hope this helps you out a bit.
__________________
X-Cart Gold Version: 4.0.17
X-Configurator
X-AOM
X-FancyCategories
X-RMA
X-Offers
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 06:36 AM.

   

 
X-Cart forums © 2001-2020