View Single Post
  #62  
Old 07-26-2013, 08:50 AM
 
carpeperdiem carpeperdiem is offline
 

X-Guru
  
Join Date: Jul 2006
Location: New York City, USA
Posts: 5,399
 

Default Re: NEW xcart template - xtreme Gear

Quote:
Originally Posted by albertchui
i just wonder why Xtreme Gear does not respond and advise how to fix their problem, i sent them the support ticket and ft info, but never get respond. it's so frustrating that their skin does not like regular template file, like head.tpl, i don't know how to secure the logo images as i uploaded it in it's general setting of xg admin, below is their head.tpl, anyone advise how to change the path of logo image, many thanks

FIND:
Code:
{if $xg_top_logo} <a href="{if $xg_config.top_logo_url ne ''}{$xg_config.top_logo_url}{else}/{/if}" {if $xg_config.top_logo_title ne ''}title="{$xg_config.top_logo_title}"{/if} {if $xg_config.top_logo_target ne ''}target="{$xg_config.top_logo_target}"{/if} id="logo-main"><img src="{$xg_top_logo.image_url}" {if $xg_top_logo.image_x ne ''}width="{$xg_top_logo.image_x}"{/if} {if $xg_top_logo.image_y ne ''}height="{$xg_top_logo.image_y}"{/if} {if $xg_config.top_logo_alt ne ''}alt="{$xg_config.top_logo_alt}"{/if} /></a> {/if}

REPLACE IT WITH:
Code:
<a href="/"><img src="{$AltImagesDir}/custom/your-header_635x90.png" width="635" height="90" alt="Your Store Logo" title="Your Store Name"></a>

and put your image in
/skin/xtreme_gear/images/custom/

This serves the image from a relative path. It will not trigger https warnings.

WARNING: you will lose the ability to use the xtreme control panel to select header images.

BACK UP your files before editing.

EDIT--- the image size should be adjusted for the size of your header.
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote