Open Savama51 opened 1 year ago
@Savama51 I've tried to recreate your problem. So far everything looks ok to me. I've added a gallery and set it as a featured blog and it is showing in the featured blog section with no problem. Can u share us more details, give us screen cast videos.
Hi, sorry for late response. I've just tried with latest version 2.0.13, the same problem...
In homepage menu, select "featured article", with 3 "full articles" in params. I made 3 articles, one with image gallery in media blog tab, another article with youtube video, and a third article with "Featured image" only. Then i tick "featured" in the 3 articles.
The 3 articles are displayed on homepage, but only the "Featured image" is displayed, none of the other, video or gallery are displayed on the 2 other articles.
I've tested to override com_content/featured/default_iten.php by adding the line at top of file:
$attribs = json_decode($this->item->attribs ?? "");
and then the gallery and video are displayed correctly.
So for now, I have to override this file to have gallery displayed in featured section article of homepage.
Hi, Tested again today with latest J4.4.5 and HU 2.1.1. Still no gallery on homepage with article featured.
I'm thinking that dev's wanted working like that, no gallery/video/audio on featured articles on homepage. Only featured imag ?
Steps to reproduce the issue
Create an article. In Blog Options of this article, add a gallery, video or audio. Click to get this article featured on homepage.
Expected result
Article is display on homepage in featured section with gallery, video or audio bloc.
Actual result
None of gallery, video or audio bloc is displayed.
System information (as much as possible)
Joomla 4.2.8 Helix Ultimate 2.0.12
Additional comments
It seems that above line is missing in the "// Create a shortcut for params." of the plugin's file "overrides\com_content\featured\default_item.php" :
$attribs = json_decode($this->item->attribs);
Note that the standard "Featured Image" is not affected, because of $attribs array not used.