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

Images

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 05-13-2003, 05:38 PM
 
Chet Chet is offline
 

Member
  
Join Date: May 2003
Posts: 20
 

Default Images

Hey I'm frustrated with this!! Trying to add images to the poweredby.tpl.I can get them to show on the admin page but not on the customer pages.Have tried every combo adding to the customer/home tpl with no luck.The poweredby image was deleted to use images in that area.
Maybe someone could point me in the right direction...Thanks

{* $Id: poweredby.tpl,v 1.4 2002/08/20 13:16:29 zorg Exp $ *}
<center>
[img]{$ImagesDir}/intel.gif[/img]





[img]{$ImagesDir}/amd athlon XP.gif[/img]





[img]{$ImagesDir}/Nvidia ge force 4.gif[/img]
</center>
Reply With Quote
  #2  
Old 05-14-2003, 02:18 AM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

it looks like you have removed the

{ include file="poweredby.tpl" }

code from customer/home.tpl
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #3  
Old 05-14-2003, 03:43 AM
 
Chet Chet is offline
 

Member
  
Join Date: May 2003
Posts: 20
 

Default

Morning Shan...Heres my customer/home.tpl and shows the include powered by.tpl at the bottom. I have tried adding the images to this page also but no luck.Thanks for the help:

{* $Id: home.tpl,v 1.50 2003/04/09 07:41:05 olga Exp $ *}
{ config_load file="$skin_config" }
<html>
<head>
<title>{$lng.txt_site_title}
{if $main eq "catalog"}
{if $location eq ""} {$lng.txt_subtitle_home}
{else}
{strip}
{section name=position loop=$location start=0 }
{if %position.last% eq "true"} - {$location[position].0|escape}{/if}
{/section}
{/strip}
{/if}
{elseif $main eq "product"}
{if $product.product ne ''} - {$product.product}{/if}
{elseif $main eq "help"}
{$lng.txt_subtitle_help}
{elseif $main eq "cart"}
{$lng.txt_subtitle_cart}
{elseif $main eq "checkout"}
{$lng.txt_subtitle_checkout}
{elseif $main eq "order_message"}
{$lng.txt_subtitle_thankyou}
{/if}
</title>
{ include file="meta.tpl" }
<link rel="stylesheet" href="{$SkinDir}/{#CSSFile#}">
</head>
<body LEFTMARGIN=0 TOPMARGIN=0 RIGHTMARGIN=0 BOTTOMMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0>
{ include file="rectangle_top.tpl" }
{ include file="head.tpl" }

<table border=0 width="100%" cellpadding=0 cellspacing=0 align="center">
<tr>
<td class=VertMenuBox width=6></td>
<td class=VertMenuBox width=150 valign=top>
{ include file="customer/categories.tpl" }
{if $active_modules.Bestsellers ne "" and $config.Modules.bestsellers_menu eq "Y"}
{ include file="modules/Bestsellers/menu_bestsellers.tpl" }
{/if}
{if $active_modules.Gift_Certificates ne "" or $active_modules.Product_Configurator ne ""}
{include file="customer/special.tpl"}
{/if}
{ include file="help.tpl" }
</td>
<td width=20></td>
<td valign=top>

{include file="customer/home_main.tpl"}


</td>
<td width=20></td>
<td width=150 valign=top>
{ include file="customer/menu_cart.tpl" }
{if $login eq "" }
{ include file="auth.tpl" }
{else}
{ include file="authbox.tpl" }
{/if}
{ include file="news.tpl" }
{if $active_modules.Interneka ne ""}
{ include file="modules/Interneka/menu_interneka.tpl" }
{/if}


{include file="powered_by.tpl"}


</td>
</tr>
</table>
{ include file="rectangle_bottom.tpl" }
</body>
</html>
Reply With Quote
  #4  
Old 05-14-2003, 03:56 AM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

change it to

{include file="poweredby.tpl"}

not

{include file="powered_by.tpl"}
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #5  
Old 05-14-2003, 04:10 AM
 
Chet Chet is offline
 

Member
  
Join Date: May 2003
Posts: 20
 

Default

Shan...after pulling my hair out for days just that simple thing did the trick. Big "THANKS"
Reply With Quote
  #6  
Old 05-14-2003, 10:51 AM
 
funkydunk funkydunk is offline
 

X-Man
  
Join Date: Oct 2002
Location: Cambridge, UK
Posts: 2,210
 

Default

You should also try and avoid file names that have gaps in them as this can cause problems on some servers.

try and name files like amd_athlon_XP.gif
__________________
ex x-cart guru
Reply With Quote
  #7  
Old 05-14-2003, 10:55 AM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

yeh good call.

computers are not actually clever at all, they only know exactly what we tell them.
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



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 09:28 AM.

   

 
X-Cart forums © 2001-2020