Monday, 25 January 2016
  6 Replies
  1.1K Visits
0
Votes
Undo
Hi,

In the changelog of the Standard Image & File Uploads Files plugin it says:

v. 3.0.8 allow fall back to category image if no event image is set and default image is blank. fix for file upload issue in Joomla 3.1


However it seems that there's an error in the code for this functionality. I get a broken image link icon (or nothing at all, depending on the browser) and in the page source it says:

<img alt="" src="/<img src = 'http://wvd1.oorzaak-develop.nl/images/stories/wereldverteldag_logo/header.jpg' class='catimage' alt='categoryimage' />">


I suppose this is just a kind of typo or copy/paste issue in the php code?

When an image is added to the event, this problem is not present.

For the time being I fixed this on my site using NoNumber's ReReplacer, but it think it should be fixed in the plugin php code instead.

Kind regards, Frits
9 years ago
·
#163896
0
Votes
Undo
Hello,

The problem is you have nested the code? Just unwrap the JEvents Tag. i.e. don't add it in the <img tag.

Many thanks
Tony

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!Join the JEvents club today!

9 years ago
·
#163897
0
Votes
Undo
Hi,

Thanks for your reply. For a moment I thought that I had indeed added the img tag as I did use ReReplacer before I read about the category image fallback and I forgot to switch off this ReReplacer statement. But after removing this (and consequently all) ReReplacer items and a lot of cache cleaning I still have the same issue.

Apart from that, I noticed that when no image is set to either the event or the category, in the event detail page the following code is in the page source:

<img src="/" alt="">


As I said, this is without me using ReReplacer - or any other custom code insertions. So I suppose it must be in the php code of the plugin.


Frits
9 years ago
·
#163898
0
Votes
Undo
Sorry, I've found out where this html code comes from. When I started checking out JEV I set up a custom layout for the event details (icalevent.detail_body). Somehow the code has slipped into this layout. And I didn't think of this custom layout yesterday.

Thanks for your help,

Kind regards, Frits
9 years ago
·
#163899
0
Votes
Undo
Hello,

It's generated by the plugin. What JEvents image tag are you using? I'll provide you with a working solution then.

Many thanks
Tony

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!Join the JEvents club today!

9 years ago
·
#163900
0
Votes
Undo
Hi, thanks but no need, it is solved now!

Frits
9 years ago
·
#163901
0
Votes
Undo
Glad to hear!

Many thanks
Tony

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!Join the JEvents club today!

  • Page :
  • 1
There are no replies made for this post yet.

Members Area

Show your support

Unlike many Joomla calendars we do not charge to download JEvents - please show your support for this project by becoming a member of the JEvents Club Club members get access to early releases, exclusive member support forums, and Silver and Gold members can use many exciting JEvents addons

Your membership will ensure that JEvents continues to be the best events calendar for Joomla.