In Joomla 3 it was possible to display an image instead of a text for the syndication.
In Joomla 4/5 you are not able to display an icon only. The class .icon-feed can be overriden with a background image (see additional context) but it is never displayed (no text before possible in: aria-hidden="true">';
Also: in the code for the syndication module in J4/5 (see additional context) the variable $textClass is mentioned, but it is not set and thus empty.
Modify the syndication code just as in Joomla 3
Possible override for icon-feed:
<style type="text/css"> .icon-feed { background: url(media/system/images/livemarks.png) no-repeat; } Code mod_syndicate: default.php from J4.4.2 $linkText = ''; $linkText .= '' . (!empty($text) ? $text : Text::_('MOD_SYNDICATE_DEFAULT_FEED_ENTRIES')) . '';Labels |
Added:
No Code Attached Yet
|
Labels |
Added:
Information Required
|
Hello,
When display label = No, also no image is displayed.
(a link to an image in the label is not possible).
I just looked at the module in j3 and the options are exactly the same https://docs.joomla.org/Help310:Extensions_Module_Manager_Syndication_Feeds/en
The options are indeed the same, but the implementation in J3 is different.
In J3 : system/livemarks.png is added as feed-image, while in J4/5 it isn't.
I doubt very much that anyone would want to undo that change. To achieve what you want (sorry it wasn't clear before) you can simply do a template override for the module
Okay Brian, I will make a template override. Thanks.
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2024-01-26 07:34:01 |
Closed_By | ⇒ | alikon |
closing as solvable with template override
Yes you can