Related Items Ext - intro image

Joomla 3.2.2 - When I added an article with an intro image, all the other articles showed the same intro image, instead of their own images. On other pages (where the article with the into image was not included), the other articles displayed their own images. But when the article with the intro image is included, they ALL show the same image. Attached images show sidebar with intro image article, and 2nd image shows same page (with same other 2 articles) when that article is not included.
11 years 1 month ago #1 by Christina Ishii

Please Log in or Create an account to join the conversation.

  • Posted by TemplatePlazza (5310) Offline
Hi, Can you share your website URL so I can take a look?
11 years 1 month ago #2 by TemplatePlazza

Please Log in or Create an account to join the conversation.

11 years 1 month ago #3 by Christina Ishii

Please Log in or Create an account to join the conversation.

  • Posted by TemplatePlazza (5310) Offline
Can you tried to delete all image files under this folder below and reload your website ?
joom.faithfamilycc.org/images/relateditemsxtd/
11 years 1 month ago #4 by TemplatePlazza

Please Log in or Create an account to join the conversation.

I tried deleting all the images in that folder and reloading, but it didn't help.

I think the problem is in mod_relateditems_xtd.php around line 158 or so, the vars for the intro and full images are not reset, so if the next item does not have any images, it still shows the old one. (It wouldn't be apparent if all articles have images set). I ran a simple test of resetting them at the beginning of the loop and that fixed the problem.
$introImage = "";
$fulltextImage = "";
11 years 1 month ago #5 by Christina Ishii

Please Log in or Create an account to join the conversation.

  • Posted by TemplatePlazza (5310) Offline
Ah ok. Glad it works for you :)
11 years 1 month ago #6 by TemplatePlazza

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum