X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Images (https://forum.x-cart.com/showthread.php?t=2690)

Chet 05-13-2003 05:38 PM

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>

shan 05-14-2003 02:18 AM

it looks like you have removed the

{ include file="poweredby.tpl" }

code from customer/home.tpl

Chet 05-14-2003 03:43 AM

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>

shan 05-14-2003 03:56 AM

change it to

{include file="poweredby.tpl"}

not

{include file="powered_by.tpl"}

Chet 05-14-2003 04:10 AM

Shan...after pulling my hair out for days just that simple thing did the trick. Big "THANKS"

funkydunk 05-14-2003 10:51 AM

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 :D

shan 05-14-2003 10:55 AM

yeh good call.

computers are not actually clever at all, they only know exactly what we tell them. 8O


All times are GMT -8. The time now is 09:31 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.