The icomoon symbols for Overview/Search/Up/Add are not showing for some views. I figured it out. It's because of Remove empty HTML tags. The symbols can be shown with Remove empty HTML tags enabled by making the HTML tag inserted for them non-empty:
- $span_home_symbol = '<span class="icon-home-2 jd-menu-icon"> </span>';
+ $span_home_symbol = '<span class="icon-home-2 jd-menu-icon"> </span>';
I attached a patch file with all the cases.
Thank you,
Tim
Joomla Version: 4.4.8 (new install)
jDownloads 4.0.45 Stable (new install)
PHP Version: 8.3
Standard backend template
Hi
To enable Icomoon font go to Jd Options Pictures and Buttons tab
Scroll down to 'Use Icomoon font' and set to yes or no.
The attached Pictures show the result
I am using jD 4.0.45 with PHP 8.2.23 and Joomla 5.1.4
Colin
Yup.
However, in some views, this does not work.
It took hours for me to track it down.
It is because I have Remove Empty HTML tags set, because I like the really short status bars sometimes and without Remove Empty set, they have these funny little marks.
The icomoon font symbols are placed in these buttons using this HTML:
<span class="icon-home-2 jd-menu-icon"> </span>
where the CSS class causes the icon to show up. This is an empty HTML tag.
I fixed it by putting a binary non-breaking space, as Arno recommends somewhere to allow an empty HTML tag when Remove Empty is set:
<span class="icon-home-2 jd-menu-icon"> </span>
I'm pretty good as sh, so I did this fix in 20 places, 5 different files, with a 1 line sh. I attached a patch with these fixed files to the initial post of this bug report.
Thank you,
Tim
Hi
I have replicated your findings in regard to 'Remove EmptyHTML' setting in Front End
and setting Icomoon Font in Pics & Buttons
Colin