| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
NEW xcart template - xtreme Gear | ||||
![]() |
|
|
Thread Tools |
#61
|
|||||||
|
|||||||
![]() 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
<!-- Header Begin --> <div id="header-wrap"> {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} <div id="cart-info-panel"> <div class="info-panel"> {include file="customer/menu_cart.tpl" _include_once=1} </div> {include file="customer/search.tpl"} <div class="header-text-xbanner {if $active_modules.XMultiCurrency ne ''}xmc{/if}"> {if $xg_config.promo_header ne ''} <p>{$xg_config.promo_header}</p> {/if} {if $active_modules.XMultiCurrency ne ''}{include file="modules/XMultiCurrency/customer/complex_selector.tpl"}{/if} </div> </div> {include file="customer/tabs.tpl"} {include file="modules/TXS_Xtreme_Gear/xg_top_menu.tpl" type="xm_top_menu"} </div> <!-- Header End --> {if $minicart_total_standalone} {load_defer_code type="css"} {load_defer_code type="js"} {/if}
__________________
X-Cart Gold 4.6 |
|||||||
#62
|
|||||||
|
|||||||
![]() Quote:
FIND: Code:
REPLACE IT WITH: Code:
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 |
|||||||
#63
|
|||||||
|
|||||||
![]() Quote:
your info is pretty helpful, thanks, i finally solved the insecured images, but the register.php still no lockpad, is the cache/var of css and script will affect it, i still found the http: links: <!-- [if lt IE 8]> <! [endif] --> <!-- [if lt IE 9]> <! [endif] --> <link rel="stylesheet" type="text/css" href="http://www.iphonecasestudio.com/var/cache/xm_extra_style.css" /> <link rel="shortcut icon" type="image/png" href="http://www.iphonecasestudio.com/favicon.ico" /> <link rel="canonical" href="http://www.iphonecasestudio.com/" /> <link rel="stylesheet" type="text/css" href="http://www.iphonecasestudio.com/var/cache/1.5be5c1dcd7369459527c2673274386b9.css" /> <script type="text/javascript" src="http://www.iphonecasestudio.com/var/cache/1.009217382cf016b48187804a6b8782e0.js"></script> </head>
__________________
X-Cart Gold 4.6 |
|||||||
#64
|
|||||||
|
|||||||
![]() Quote:
That is a defect in the xMenus file: /skin/common_files/modules/TXS_XMenus/include_css.tpl FIND: Code:
REPLACE WITH: Code:
TXS failed to include the xm_extra_style.css into the load_defer css See what I changed? {$xm_extra_css} variable is a hard coded link. Should not be used on secure pages. HTH, J
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4 |
|||||||
#65
|
|||||||
|
|||||||
![]() Quote:
Ok, one at a time. Canonical is defined in /skin/common_files/customer/service_head.tpl you should have this: Code:
Code:
If anything is hard coded, it's not stock xcart. And that's wrong
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4 |
|||||||
#66
|
|||||||
|
|||||||
![]() Quote:
yes, it's same as mentioned, the code is there: {if $config.SEO.canonical eq 'Y'} <link rel="canonical" href="{$current_location}/{$canonical_url}" /> {/if}
__________________
X-Cart Gold 4.6 |
|||||||
#67
|
|||||||
|
|||||||
![]() Quote:
hi, i replaced it and clear cache, but still there, thanks albert
__________________
X-Cart Gold 4.6 |
|||||||
#68
|
|||||||
|
|||||||
![]() DO you have a copy of
service_head.tpl in /skin/xtreme_gear/customer/ ? look for a file that's called in <head> that has an include for canonical use webmaster mode to help you
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4 |
|||||||
#69
|
|||||||
|
|||||||
![]() it seems the css and script was caused by the new version 4.6, Optimization settings
when i turn off these two Use speed-up tool for Javascript & Use speed-up tool for CSS then it gone and only leave the favicon and canonical <link rel="shortcut icon" type="image/png" href="http://www.iphonecasestudio.com/favicon.ico" /> <link rel="canonical" href="http://www.iphonecasestudio.com/" />
__________________
X-Cart Gold 4.6 |
|||||||
#70
|
|||||||
|
|||||||
![]() Quote:
there is no service_head.tpl in /skin/xtreme_gear/customer/
__________________
X-Cart Gold 4.6 |
|||||||
|
|||
X-Cart forums © 2001-2020
|