| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Question about templates | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Hello everyone. I am pretty new here and had a question about editing the look and feel of my site. I have X-cart 4.1 installed with the neon lights template pack. I was interested in putting some small banners on the vertical right menu in between the authentication and news areas. Does anyone know which template I should edit in order for me to display a few 100x100 .gif banners in this area?
Any help would be appreciated. |
|||||||
#2
|
|||||||
|
|||||||
![]() If you open the site in Webmaster Mode it will tell you exactly which template is which. Will save you hours of searching
![]()
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
![]() Thanks for the info but I tried this and still was not able to determine which template to edit. I attempted to insert a few graphics on the right side of the customer/home.tpl but it does not seem to work. Any suggestions?
|
|||||||
#4
|
|||||||
|
|||||||
![]() By 'not work' what do you mean? The images don't show up at all or they show up in the wrong place?
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#5
|
|||||||
|
|||||||
![]() Balinor,
Firstly, I really appreciate your help! What I meant by "not work" is that the images do not show up. I have pasted in what I have done below. Sorry for being such a "noob" Thanks! {* $Id: home.tpl,v 1.88 2006/02/10 14:27:31 svowl Exp $ *} <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> {if $printable ne ''} {include file="customer/home_printable.tpl"} {else} {config_load file="$skin_config"} <html> <head> <title> {if $config.SEO.page_title_format eq "A"} {section name=position loop=$location} {$location[position].0|strip_tags|escape} {if not %position.last%} :: {/if} {/section} {else} {section name=position loop=$location step=-1} {$location[position].0|strip_tags|escape} {if not %position.last%} :: {/if} {/section} {/if} </title> {include file="meta.tpl" } <link rel="stylesheet" href="{$SkinDir}/{#CSSFile#}" /> </head> <body{$reading_direction_tag}{if $body_onload ne ''} onload="javascript: {$body_onload}"{/if}> {include file="rectangle_top.tpl" } {include file="head.tpl" } {if $active_modules.SnS_connector} {include file="modules/SnS_connector/header.tpl"} {/if} <table width="100%" cellpadding="0" cellspacing="0"> <tr> <td class="VertMenuLeftColumn" rowspan="2"> {if $categories ne "" and ($active_modules.Fancy_Categories ne "" or $config.General.root_categories eq "Y" or $subcategories ne "")} {include file="customer/categories.tpl" } {/if} {if $active_modules.Bestsellers ne "" and $config.Bestsellers.bestsellers_menu eq "Y"} {include file="modules/Bestsellers/menu_bestsellers.tpl" } {/if} {if $active_modules.Manufacturers ne "" and $config.Manufacturers.manufacturers_menu eq "Y"} {include file="modules/Manufacturers/menu_manufacturers.tpl" } {/if} {include file="customer/special.tpl"} {include file="help.tpl" } [img]{$ImagesDir}/spacer.gif[/img] </td> <td class="VertMainColumn"> {include file="location.tpl"} {include file="dialog_message.tpl"} {if $active_modules.Special_Offers ne ""} {include file="modules/Special_Offers/customer/new_offers_message.tpl"} {/if} {include file="customer/home_main.tpl"} </td> <td class="VertMenuRightColumn" rowspan="2"> {if (($main eq 'catalog' && $cat ne '') || $main eq 'product') && $config.Appearance.enabled_printable_version eq 'Y'} <center>{include file="printable.tpl"}</center> {/if} {include file="customer/search.tpl"} {if $active_modules.SnS_connector && $config.SnS_connector.sns_display_button eq 'Y' && $sns_collector_path_url ne ''} <center> {include file="modules/SnS_connector/button.tpl"} </center> {/if} {if $active_modules.Feature_Comparison ne "" && $comparison_products ne ''} {include file="modules/Feature_Comparison/product_list.tpl" } {/if} {if $active_modules.Users_online ne "" and $users_online} {include file="modules/Users_online/menu_users_online.tpl" } {/if} {include file="customer/menu_cart.tpl" } {if $login eq "" } {include file="auth.tpl" } {else} {include file="authbox.tpl" } {/if} {include file="news.tpl" } </p> <p align="center"> ![]() {if $active_modules.XAffiliate ne ""} {include file="partner/menu_affiliate.tpl" } {/if} {if $active_modules.Interneka ne ""} {include file="modules/Interneka/menu_interneka.tpl" } {/if} {include file="poweredby.tpl" } [img]{$ImagesDir}/spacer.gif[/img] </p></td> </tr> <tr> <td>{include file="customer/bottom.tpl"}</td> </tr> </table> {include file="rectangle_bottom.tpl" } </body> </html> {/if} |
|||||||
#6
|
|||||||
|
|||||||
![]() Ok, try putting the image you want in your files/images folder and replace this:
Code:
with this: Code:
That way, you won't get the delay of calling the image via https, but your images will show securely at checkout as well. Use that kind of format for all of your image calls. Also, make sure the image name is Financing.gif and not financing.gif....case matters on a Unix server ![]()
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#7
|
|||||||||
|
|||||||||
![]() Are you talking about the financing.gif?
Does it show up when you login by any chance? If that is right, and not how it is meant to be, you have it stuck in the middle of an if statement that only applies when logged in.
__________________
Paul Dodman e-business & m-commerce consultant w: www.luminointernet.com e: xcart@luminointernet.com Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart. |
|||||||||
#8
|
|||||||
|
|||||||
![]() The {if} statement closes above the call for the news template it looks like...
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#9
|
|||||||||
|
|||||||||
![]() Sorry, yes it does.
__________________
Paul Dodman e-business & m-commerce consultant w: www.luminointernet.com e: xcart@luminointernet.com Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart. |
|||||||||
#10
|
|||||||
|
|||||||
![]() Balinor,
Thanks much! It worked. I appreciate the help! |
|||||||
|
|||
X-Cart forums © 2001-2020
|