Page 1 of 1

J1.5.14 - weblinks component

Posted: Sat Oct 10, 2009 7:30 pm
by chrissy6930
hi there,

there is a minor bug in weblinks component - categories view class

when setting in Web Link Category List Layout the image to none selected
IE7 will display an image not found error thingy (see attached screenie)

to fix that find in components/com_weblinks/views/categories/view.html.php:

if ($params->get('image') != -1)

and adjust for:

if ($params->get('image') != 0)

Re: J1.5.14 - weblinks component

Posted: Sun Oct 11, 2009 6:46 am
by infograf768
I can't reproduce this issue with any browser. The image src is just not produced at all when set to none.

Re: J1.5.14 - weblinks component

Posted: Sun Oct 11, 2009 7:12 am
by chrissy6930
after checking again I must admit that its being caused by the latest version of AceSEF I'm currently testing which is playing havoc with J!

could you please delete this thread?

Re: J1.5.14 - weblinks component

Posted: Wed Dec 23, 2009 2:21 am
by jboulton
I am having this issue with Joomla 1.5.15

http://www.pense160.com/component/weblinks/

Looks fine in FF3 (no image displayed) in IE8 the missing icon appears. Source code displays

Code: Select all

<table width="100%" cellpadding="4" cellspacing="0" border="0" align="center" class="contentpane">
<tr>
	<td valign="top" class="contentdescription">
	<img src="/images/stories/" alt="Web Links" align="" hspace="6" />Rural Municipality of Pense #160 Web Links	</td>
</tr>
</table>
I have tried to set the image to no image and have set the image - either way I can't get it to work.

I would appreciate any suggestions. (I am not running AceSEF).

Re: J1.5.14 - weblinks component

Posted: Wed Dec 23, 2009 2:27 am
by jboulton
chrissy6930 wrote:
to fix that find in components/com_weblinks/views/categories/view.html.php:

if ($params->get('image') != -1)

and adjust for:

if ($params->get('image') != 0)
Applied this and removed the image. Thanks.

Re: J1.5.14 - weblinks component

Posted: Mon Feb 13, 2012 6:14 pm
by hoatung
chrissy6930 wrote:hi there,

there is a minor bug in weblinks component - categories view class

when setting in Web Link Category List Layout the image to none selected
IE7 will display an image not found error thingy (see attached screenie)

to fix that find in components/com_weblinks/views/categories/view.html.php:

if ($params->get('image') != -1)

and adjust for:

if ($params->get('image') != 0)
Thank you. This works :D