PDA

View Full Version : Logo not showing up


corduroy090
05-12-2006, 12:53 AM
I have a problem with my logo in the header. It shows up fine on the homepage and in category pages, but when you drill down into a sub category the logo does not show up.

Any ideas?

2

mikedippel
05-12-2006, 01:04 AM
2 possibilities: you uploaded the logo in ASCII, not binary, or the path to the logo is incorrect. It should be in: {demo image removed - not working}

corduroy090
05-12-2006, 01:38 AM
But the logo shows up fine on the homepage and in the category pages...so could it be either of those issues you listed?

This is my header.tpl file:


<head>
<title>{if empty($TITLE)}{$smarty.const.DIRECTORY_TITLE}{/if}{$smarty.capture.title|strip}</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="stylesheet" type="text/css" href="{$smarty.const.DOC_ROOT}/main.css" />
<meta name="robots" content="index, follow" />
{* Please keep this line for a better tracking*}
<meta name="generator" content="PHP Link Directory {$smarty.const.CURRENT_VERSION}" />
{* Live Bookmarks *}
{if $smarty.const.ENABLE_RSS and (!empty($search) or $category.ID gt 0 or $list) && count($links) gt 0}
<link rel="alternate" type="application/rss+xml" title="{$in_page_title|escape|trim}" href="{$smarty.const.DOC_ROOT}/rss.php?{if !empty($search)}search={$search|@urlencode}{elseif $p}p={$p}{elseif $list}list={$list}{else}c={$category.ID}{/if}">
{/if}
<script language="javascript" type="text/javascript" src="files/libraries.js"></script></head> <body>
<h1 id="title"><img src="../images/adsimple_logo.gif" width="541" height="49"></h1>
<p id="descr">{$description|escape|trim}&nbsp;</p>

David
05-12-2006, 03:12 PM
Content visible to registered users only.
Yes, as Mike is saying, you need to use the complete path including the domain name

corduroy090
05-12-2006, 07:47 PM
Sorry...I didn't get the first time...works great now.

Thanks.

Optimit
05-12-2006, 09:03 PM
Using this is not the best way to show images on your directory.
Content visible to registered users only.
The best way is to use the Smarty code.

Content visible to registered users only.