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

Template Guide for 4.2

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 04-01-2009, 08:13 AM
 
kinder4 kinder4 is offline
 

Member
  
Join Date: Mar 2004
Posts: 24
 

Default Template Guide for 4.2

Looking for the Template Guide for 4.2, similar to the one that already posted for 4.1
Any help?
thanks
__________________
4.4.3
4.5.2
Reply With Quote
  #2  
Old 04-01-2009, 08:35 AM
 
balinor balinor is offline
 

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

Default Re: Template Guide for 4.2

Sorry, haven't done one as I'm skipping that version Perhaps some other brave soul using 4.2 will take on that project.

Moving to the 4.2 forum.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 04-01-2009, 09:00 AM
 
kinder4 kinder4 is offline
 

Member
  
Join Date: Mar 2004
Posts: 24
 

Default Re: Template Guide for 4.2

thanx for a quick reply.
I hope you can help me with a small dilemma.
I want to create a search.tpl based on <div> that is embedded in head.tpl and then to be able to include a new tpl somewhere else on the home.tpl page.
Could you help?
__________________
4.4.3
4.5.2
Reply With Quote
  #4  
Old 04-01-2009, 09:03 AM
 
balinor balinor is offline
 

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

Default Re: Template Guide for 4.2

Sorry, as I mentioned I'm not working with 4.2
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 04-03-2009, 12:14 AM
  Victor D's Avatar 
Victor D Victor D is offline
 

X-Adept
  
Join Date: Aug 2008
Posts: 643
 

Default Re: Template Guide for 4.2

I think this particular question is worth to be a separate thread.
open your customer/head.tpl
find this
Code:
<div class="search"> <div class="valign-middle"> <form method="post" action="search.php" name="productsearchform"> <input type="hidden" name="simple_search" value="Y" /> <input type="hidden" name="mode" value="search" /> <input type="hidden" name="posted_data[by_title]" value="Y" /> <input type="hidden" name="posted_data[by_descr]" value="Y" /> <input type="hidden" name="posted_data[by_sku]" value="Y" /> <input type="hidden" name="posted_data[search_in_subcategories]" value="Y" /> <input type="hidden" name="posted_data[including]" value="all" /> {strip} <span class="search">{$lng.lbl_search}:</span> <input type="text" name="posted_data[substring]" size="16" value="{$search_prefilled.substring|escape}" /> {include file="customer/buttons/button.tpl" type="input" style="image"} <a href="search.php" class="search">{$lng.lbl_advanced_search}</a> {/strip} </form> </div> </div>

copy it into new file customer/search.tpl and replace with
{include file="customer/search.tpl"}
and use it to include search box on the page.
__________________
Regards,
Victor Dubiniuk

X-Cart Skins Store
- twenty two different skins for 4.1.x and 4.2.x;
- 4.3.x compatible versions are available;
- refresh you store now!

Smart menu X-Cart add-on for 4.1.8 - 4.3.x
Featured Products Slide Show X-Cart add-on for 4.1.8 - 4.3.x
Reply With Quote
  #6  
Old 04-03-2009, 12:47 AM
  Ene's Avatar 
Ene Ene is offline
 

X-Cart team
  
Join Date: Aug 2004
Posts: 907
 

Default Re: Template Guide for 4.2

http://www.x-cart.com/xcart_manual/online/?overview_of_x_carts_templates.htm
__________________
Eugene Kaznacheev,
Evangelist/Product Manager at Ecwid: http://www.ecwid.com/ (since Sept 2009)

ex-Head of X-Cart Tech Support Department
ex- X-Cart Hosting Manager - X-Cart hosting
ex-X-Cart Technical Support Engineer


Note: For the official guaranteed tech support services please turn to the Customers HelpDesk.
Reply With Quote

The following user thanks Ene for this useful post:
am2003 (07-11-2010)
  #7  
Old 04-03-2009, 05:42 PM
 
larrroc larrroc is offline
 

Newbie
  
Join Date: Apr 2009
Posts: 1
 

Default Re: Template Guide for 4.2

How do I resize store xlogo to 1000 x349, the logo keeps resizing to the default size of 244x67. I want my company's logo to take up entire header
__________________
BMS
Reply With Quote
  #8  
Old 04-06-2009, 01:05 AM
  Victor D's Avatar 
Victor D Victor D is offline
 

X-Adept
  
Join Date: Aug 2008
Posts: 643
 

Default Re: Template Guide for 4.2

larrroc, please read
http://forum.x-cart.com/showthread.php?t=45710&highlight=logo
and adjust height and width in skin1/main.css for
#header .line1 .logo
#header .line1 .logo a img

balinor, please stick and close this thread since the original question is solved.
__________________
Regards,
Victor Dubiniuk

X-Cart Skins Store
- twenty two different skins for 4.1.x and 4.2.x;
- 4.3.x compatible versions are available;
- refresh you store now!

Smart menu X-Cart add-on for 4.1.8 - 4.3.x
Featured Products Slide Show X-Cart add-on for 4.1.8 - 4.3.x
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 02:18 AM.

   

 
X-Cart forums © 2001-2020