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)
-   -   how do i add an image to head (https://forum.x-cart.com/showthread.php?t=49140)

firstformedia 08-12-2009 02:52 PM

how do i add an image to head
 
1 Attachment(s)
hello and thanks very mutch to all that help this community, but let me go to my question:
how do i add an image into the left corner of the head (see attatch).

hope somebody can help

cflsystems 08-12-2009 05:42 PM

Re: how do i add an image to head
 
You have to insert it in skin1/customer/head.tpl

firstformedia 08-12-2009 06:17 PM

Re: how do i add an image to head
 
thanks, i found it, but where in the code i insert that:

PHP Code:

{*
$Idhead.tpl,v 1.12 2008/11/21 07:49:55 max Exp $
vimset ts=2 sw=2 sts=2 et:
*}
<
div class="head_wrap">
<
div class="line1">
    <
div class="logo"><a href="{$catalogs.customer}/home.php"><img src="{$ImagesDir}/neon_lights/xlogo.png" alt="" /></a></div>
  {if 
$speed_bar}
    <
div class="tabs">
      <
ul>
        {foreach 
from=$speed_bar item=sb}
          <
li><a href="{$sb.link|amp}">{$sb.title}</a></li>
        {/foreach}
      </
ul>
    </
div>
  {/if}
    <
div class="phones">
    {if 
$config.Company.company_phone}
      <
span>{$lng.lbl_phone_1_title}: {$config.Company.company_phone}</span>
    {/if}
    <
br />
    {if 
$config.Company.company_phone_2}
      <
span>{$lng.lbl_phone_2_title}: {$config.Company.company_phone_2}</span>
    {/if}
    </
div>
</
div>
<
div class="line2">
  {if 
$main ne "fast_lane_checkout"}
    {if 
$all_languages_cnt gt 1}
        <
div class="languages">
                <
form action="home.php" method="get" name="sl_form">
                    <
input type="hidden" name="redirect" value="{$smarty.server.PHP_SELF}{if $smarty.server.QUERY_STRING}?{$smarty.server.QUERY_STRING|amp}{/if}" />
            {
strip}
                      <
label>{$lng.lbl_select_language}:
                      <
select name="sl" onchange="javascript: this.form.submit();">
                {foreach 
from=$all_languages item=l}
                            <
option value="{$l.code}"{if $store_language eq $l.codeselected="selected"{/if}>{$l.language}</option>
                {/foreach}
                      </
select>
              </
label>
            {/
strip}
          </
form>
        </
div>
    {/if}
  {else}
    {include 
file="modules/Fast_Lane_Checkout/head.tpl"}
  {/if}
</
div>
<
div class="bottom-line">
  <
div>
    <
div> </div>
  </
div>
</
div>
</
div


do you know?

cflsystems 08-12-2009 08:04 PM

Re: how do i add an image to head
 
This looks like the original xcart code and not the one from the image you inserted. Look at your site in Firefox and get Firebud add-on. It will help you to decide exactly where to insert the image - line1 or line2. It depends on your real site config


All times are GMT -8. The time now is 05:02 AM.

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