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

how do i add an image to head

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 08-12-2009, 02:52 PM
 
firstformedia firstformedia is offline
 

Advanced Member
  
Join Date: Dec 2006
Posts: 42
 

Default how do i add an image to head

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
Attached Thumbnails
Click image for larger version

Name:	image head.jpg
Views:	234
Size:	74.3 KB
ID:	1622  
__________________
4.2.2
Reply With Quote
  #2  
Old 08-12-2009, 05:42 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: how do i add an image to head

You have to insert it in skin1/customer/head.tpl
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #3  
Old 08-12-2009, 06:17 PM
 
firstformedia firstformedia is offline
 

Advanced Member
  
Join Date: Dec 2006
Posts: 42
 

Default 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?
__________________
4.2.2
Reply With Quote
  #4  
Old 08-12-2009, 08:04 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default 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
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 07:21 AM.

   

 
X-Cart forums © 2001-2020