How to add new category icon on admin select?

This topic contains 4 replies, has 3 voices, and was last updated by  Stiofan O’Connor 5 years, 8 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #471186

    Dalton Germano
    Expired Member
    Post count: 11

    Hi.

    I am trying to use these font-awesome icons: pizza-slice, ice-cream, hamburger, bread-slice, hotdog, cookie-bite. Making tests by chrome developer tools, changing the icon class on code, any of these can be used, but it doesn’t work at the geo categories admin settings. There is no one of these icons to choice on select. My GeoV2 is using Font-awesome version 5.7.2, the lastest version.

    How can I add this to use these icons, put it on select (#id-ct_cat_font_icon)? Which files can I edit to load it?

    Can you help me, please?

    #471203

    Kor
    Moderator
    Post count: 16516

    Hi Dalton,

    Thanks for your post. The category icons are limited to the Font Awesome icons, new ones cannot be uploaded. You can upload an image to the media library and then select it as the map icon.

    Thanks!

    #471208

    Dalton Germano
    Expired Member
    Post count: 11

    Hi, Kor.
    These font-awesome icons, pizza-slice, ice-cream, hamburger, bread-slice, hotdog, cookie-bite are all from Font-awesome version 5.7.2, used by my Geo. They are listed in css (in GeoV2, by default, https://use.fontawesome.com/releases/v5.7.2/css/all.css?wpfas=true), but I cannot select it on local admin – category select (please, see the image below). I need add these icons on select to use in my site, can you understand me? Can you help me?

    #471243

    Kor
    Moderator
    Post count: 16516

    Hi Dalton Germano,

    Thanks for your reply. I will forward this to a developer for a second look.

    Thanks!

    #471503

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hi Dalton,

    The icon versions are updated manually and are stored in core GD, they are currently at version 5.6.3, in the next release they will be at 5.7.2.

    If you replace this file in your GD core then it will show the new icons:
    https://github.com/AyeCode/geodirectory/blob/master/includes/admin/settings/data_fontawesome.php

    Thanks,

    Stiofan

Viewing 5 posts - 1 through 5 (of 5 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount