Mustafa-Online Posted July 27, 2018 Share Posted July 27, 2018 I wanna know if any one managed to add "Font-awesome 5" to "FieldtypeFontIconPicker" Module. . Link to comment Share on other sites More sharing options...
dragan Posted July 27, 2018 Share Posted July 27, 2018 It's there: https://github.com/trk/FieldtypeFontIconPicker/blob/master/Icons/FontAwesome5.php can't you select it? Link to comment Share on other sites More sharing options...
louisstephens Posted July 27, 2018 Share Posted July 27, 2018 I will say, I downloaded the module using the class from the module directory, and font awesome 4 was the only option to select in the options (though the FontAwesome5.php was there). I uninstalled the module and installed from the github page and you can select Font Awesome 5. Link to comment Share on other sites More sharing options...
Mustafa-Online Posted July 27, 2018 Author Share Posted July 27, 2018 @dragan & @louisstephens .. I uninstalled the module and installed from the github as u said, but i can only see version 4 is there any thing else i have to do .. What if i wanna change the "CSS URL" to local, how it should be written ?? . Link to comment Share on other sites More sharing options...
OLSA Posted July 29, 2018 Share Posted July 29, 2018 Hello, here is simplified version of icons font fieldtype module: https://github.com/OLSA/FieldtypeFontIcon This module use the same icons css file like your template (set path relative to template folder, eg. styles/fontawesome5/all.css ). After module install and created field go to field Input tab to set path (and in some cases prefix classes). Examples: Font Awesome 5 IcoMoon If everything is ok you will get something like this: NOTE: "Regular expression pattern parser" input field is not required because it will be set by default (by module itself). Regards. 7 Link to comment Share on other sites More sharing options...
Mustafa-Online Posted July 29, 2018 Author Share Posted July 29, 2018 @OLSA .. You Saved My Life, Thank you so much ? . 1 Link to comment Share on other sites More sharing options...
Mustafa-Online Posted September 12, 2018 Author Share Posted September 12, 2018 @OLSA - I tried the icon yesterday inside a "Repeater Field" - but it doesn't work ? Link to comment Share on other sites More sharing options...
OLSA Posted September 17, 2018 Share Posted September 17, 2018 @Mustafa-Online probably you use Fontawsome v4 and get that situation because ProcessWire also use Fontawesome icons v4 and override module css inclusion. If you go with some other font icons (or FA version v5, Fontelo, IcoMoon...) that would works. Also switch off option "Repeater dynamic loading (AJAX)" for repeater field. Regards. Link to comment Share on other sites More sharing options...
Ralf Posted April 26, 2019 Share Posted April 26, 2019 @OLSA many thanks for the module that works great to set up and select! However, I still have a big problem... If i have selected an icon and then click on save, the information "Session: Saved Page: ...." appears on top. But when I want to leave the page I ALWAYS get a popup with the following error message (sorry translated from German) "This page asks you to confirm that you want to leave the page - data you have entered may not be saved." What am I doing wrong or is there an error in the CSS/JS? Can someone please help me? Thank you cu Ralf Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now