X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Template Guide for 4.2 (https://forum.x-cart.com/showthread.php?t=46684)

kinder4 04-01-2009 08:13 AM

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

balinor 04-01-2009 08:35 AM

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.

kinder4 04-01-2009 09:00 AM

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?

balinor 04-01-2009 09:03 AM

Re: Template Guide for 4.2
 
Sorry, as I mentioned I'm not working with 4.2 :(

Victor D 04-03-2009 12:14 AM

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.

Ene 04-03-2009 12:47 AM

Re: Template Guide for 4.2
 
http://www.x-cart.com/xcart_manual/online/?overview_of_x_carts_templates.htm

larrroc 04-03-2009 05:42 PM

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

Victor D 04-06-2009 01:05 AM

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.


All times are GMT -8. The time now is 01:10 AM.

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