Support Forums

Advertiser company logo in showlisting.tpl

This is a discussion on Advertiser company logo in showlisting.tpl within the Technical Support forums, part of the Technical Support Forums category; Hello i have an question: I like to have the company logo on the showlisting.tpl page. I have already installed ...


Go Back   68 Classifieds Forums > Technical Support Forums > Technical Support

This topic is resolved.

If you have a similar issue that this thread does not address, open a new related support topic.

 
Thread Tools Display Modes
Old 03-11-2008, 03:57 PM   #1
Member
 
Join Date: Mar 2008
Posts: 49
Rep Power: 12
wesse249 is on a distinguished road
Default Advertiser company logo in showlisting.tpl

Hello i have an question:

I like to have the company logo on the showlisting.tpl page.
I have already installed the seller store module.

In showlisting.tpl i have added the following code:

{if $storeImage == ""}
<th scope="col">{$smarty.const.LANG_BEDRIJF}</th>
{/if}

and the code which must display the logo:

{if $storeImage == ""}
<td{if $entry.class<>""} class="{$entry.class}"{/if}><a href="{$entry.link}">{if $entry.sImage != ""}<img src="photos/{$storeImage|escape:"url"}" alt="{$storeTitle}" />{/if}</td>
{/if}

Now the problem: The company logo is not showed! Who can tell me what i am doing wrong?

Greetings Jan
wesse249 is offline  
Old 03-11-2008, 06:04 PM   #2
68 Classifieds Staff
 
Eric Barnes's Avatar
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,497
Rep Power: 132
Eric Barnes is just really nice Eric Barnes is just really nice
Default

Is a blank image showing or do you not see anything?
__________________
Eric Barnes
68 Classifieds Developer
Customer Area | Issue Tracker | Documentation | 68C Mods | 68 @ Twitter | My Modules
Eric Barnes is offline  
Old 03-12-2008, 04:34 AM   #3
Member
 
Join Date: Mar 2008
Posts: 49
Rep Power: 12
wesse249 is on a distinguished road
Default

Hello,

See the screenshot. I see nothing. (i marked the field red)

wesse249 is offline  
Old 03-12-2008, 09:49 AM   #4
curmudgeon
 
Join Date: Mar 2006
Posts: 5,351
Rep Power: 134
Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light
Default

My guess would be its a path issue.

If you right click where the image should be and view properties, then cut/paste the link in the properties in a new browser window does the image display?
__________________
Larry

Knowledge learned is more valuable than knowledge given.
Lhotch is offline  
Old 03-12-2008, 09:53 AM   #5
Member
 
Join Date: Mar 2008
Posts: 49
Rep Power: 12
wesse249 is on a distinguished road
Default

No there is no image in it.

Mayby you can look at my site: http://www.voordeelzoeken.nl/2008/ca...?cat=autbanden
wesse249 is offline  
Old 03-12-2008, 10:03 AM   #6
curmudgeon
 
Join Date: Mar 2006
Posts: 5,351
Rep Power: 134
Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light
Default

$storeimage does not appear to be a valid variable to check on that page. Your going to have to do a query for the store image at the script level, assign the php variable and pass it to the template as a smarty variable so that you can in turn use smarty logic to evaluate if it exists.
__________________
Larry

Knowledge learned is more valuable than knowledge given.
Lhotch is offline  
Old 03-12-2008, 10:07 AM   #7
68 Classifieds Staff
 
Eric Barnes's Avatar
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,497
Rep Power: 132
Eric Barnes is just really nice Eric Barnes is just really nice
Default

The seller store logo by default is only pulled out when viewing the owner listings. Some thing like searchresults.php?owner=1

So it would not work in the position you are trying without modifying it.
__________________
Eric Barnes
68 Classifieds Developer
Customer Area | Issue Tracker | Documentation | 68C Mods | 68 @ Twitter | My Modules
Eric Barnes is offline  
Old 03-12-2008, 10:40 AM   #8
Member
 
Join Date: Mar 2008
Posts: 49
Rep Power: 12
wesse249 is on a distinguished road
Default

and there is not an easy way to realize that?
wesse249 is offline  
Closed Thread

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Modify contact advertiser form David Pre Sales Questions 3 07-25-2006 09:32 AM


All times are GMT -4. The time now is 04:00 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2011, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0