Support Forums

image problem under internet explorer

This is a discussion on image problem under internet explorer within the Technical Support forums, part of the Technical Support Forums category; Hello evrybody, At the top of each of my categorie page, I have a banner wich is displayed in english ...


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 09-10-2009, 07:24 AM   #1
Senior Member
 
Join Date: Apr 2009
Location: South of Spain
Posts: 116
Rep Power: 5
magicosta is on a distinguished road
Red face image problem under internet explorer

Hello evrybody,

At the top of each of my categorie page, I have a banner wich is displayed in english for english version of the site, in spanish for spanish version of the site and in french for french version of the site.

I use in administration the "promotional text area" to display these banners but as I use the multilingual module I just enter the following code: imagename.png

In the administration/images folder I save the image for each language as follow:

For english version, english_imagename.png
For spanish version, spanish_imagename.png
For french version, french_imagename.png

and then at the top of browse.tpl, I write :

<p><img src="administration/images/{$language}_{$promo}" width="750px" hight="90px" /></p>

So, with that combination, everything is working fine, I got for each category page the corresponding image-banner designed for the right language version.

The only problem is, with internet explorer, when you are on the main page where all the categories are displayed, (category.php/browse.tpl) I get a white empty frame with a red cross in the top left corner!!

With Firefox and Netscape, I haven't anything wich is normal and the same when my site was just in english and using just {$promo} in browse.tpl.

So, my question is, what is wrong in Internet explorer?

I have tried a lot of codes but till now I am not successfull.

Maybe a code like:

{if mainpage browse.tpl is displayed }
then don't show any banner

{elseif one category is showing up}
then display the correspondant banner
{/if}

I don't know.

Thank you for your help.
__________________
Default Template - V 4.1.5 - Developper
magicosta is offline  
Old 09-10-2009, 09:48 AM   #2
68 Classifieds Staff
 
Eric Barnes's Avatar
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,115
Rep Power: 120
Eric Barnes is a jewel in the rough
Default

This might work:
{if $categoryname <> ''}
then display the correspondant banner
{/if}
__________________
Eric Barnes
68 Classifieds Developer
Please do not send me a private message asking for support. Instead use these open forums or our ticket system.

Customer Area | Issue Tracker | Documentation | 68C Mods | Submit a Ticket | 68 @ Twitter | My Modules
Eric Barnes is offline  
Old 09-10-2009, 10:02 AM   #3
Senior Member
 
Join Date: Apr 2009
Location: South of Spain
Posts: 116
Rep Power: 5
magicosta is on a distinguished road
Default

It works like a charm!!

Thank you very much Eric.
__________________
Default Template - V 4.1.5 - Developper
magicosta is offline  
Closed Thread

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Internet Explorer Error tonyaherne Technical Support 6 08-07-2009 11:32 AM
Internet Explorer and Memberships Greg H v3.1 Questions & Support 2 10-03-2008 07:07 PM
How to prevent page flicker in Internet Explorer BigOrange Templates, HTML, CSS, and Design Help 2 08-25-2008 05:57 PM
Top bar image not showing up in Internet Explorer Browser vega6143 v3.1 Questions & Support 14 12-20-2007 02:37 PM
Internet Explorer 7 david80 Off Topic 4 06-21-2006 10:22 AM


All times are GMT -4. The time now is 12:36 PM.


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