Loading...
 
Skip to main content

Custom Share Module 0.1dev

Features / Usability

Features / Usability


[SOLVED] Where are the missing (font awesome) icons ?

posts: 8638 Israel

Hello,

At https://doc.tiki.org/PluginIcon#Complete_list the documentation says "The default free icon set in Tiki is from Font Awesome."

But it is different in real life.

Copy to clipboard
{icon name="cash-register"}

Error :

Copy to clipboard
{icon name="hands-wash"}

Error :

Copy to clipboard
{icon name="edit"}

Work :

Is there a missing parameter in the plugin or something that should be fixed in Tiki ?

posts: 4662 Japan

Font Awesome icons change depending on the version. I remember when we did an update we had to redefine some that went missing. Maybe the ones you're looking for were dropped or moved to the "Pro" set. I see on https://fontawesome.com/v5.15/icons/hands-wash that hands-wash is pro, so wouldn't be available to us. If there's an icon that is for sure in the Font Awesome version that we're using but doesn't show up in the plugin, then apparently the icon set's definition file needs editing. But I just looked, and neither "cash-register" nor "hands-wash" (or any variation) is in the current themes/base_files/iconsets/default.php file.

-- Gary

posts: 8638 Israel
Gary Cunningham-Lee wrote:

Font Awesome icons change depending on the version. I remember when we did an update we had to redefine some that went missing. Maybe the ones you're looking for were dropped or moved to the "Pro" set. I see on https://fontawesome.com/v5.15/icons/hands-wash that hands-wash is pro, so wouldn't be available to us. If there's an icon that is for sure in the Font Awesome version that we're using but doesn't show up in the plugin, then apparently the icon set's definition file needs editing. But I just looked, and neither "cash-register" nor "hands-wash" (or any variation) is in the current themes/base_files/iconsets/default.php file.

-- Gary


Hi Gary,

cash-register is on the free icon list.
https://fontawesome.com/v5.15/icons?d=gallery&p=1&q=cash&m=free

hands-wash too
https://fontawesome.com/v5.15/icons?d=gallery&p=1&q=wash&m=free

If I understand correctly, all those icons should be available using the icon plugin.
https://fontawesome.com/v5/cheatsheet (free, solid, regular and brands)
Is that correct ?

I don't see a lot of them at themes/base_files/iconsets/default.php

What about adding them ?
I can do it and commit a fix in Master/Tiki23 as the list is clearly incomplete.

By the way I'll clean the doc from all hard to use A-Z thing for a link to the FontAwesome free chart.

What do you think ?


posts: 4662 Japan

Yes, that's a good idea, following the pattern of the existing (working) icons in default.php.

-- Gary



Upcoming Events

1)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3) 
Tiki birthday
4)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting