Jump to content

Recommended Posts

Posted

Would be nice to update the Fontawesome icons in PW core, so they can be used for labels in the backend. The current version 4 is quite old and has a very limit set of icons. Version 6 also has a free version with more icons. The implementation seems to be very similar, so it should be easy to implement. The icons can be downloaded here.

  • Like 9
Posted

I'm actually working on something that allows for this in a limited capacity with my admin theme. I kickstarted with v5 back in the day and still subscribe so my solution will reach back to 4 5 and 6 and include pro support although I don't think I am going to support duotone unless I can find a good way to get theme colors in there. Haven't looked too deep into it.

  • Like 1
Posted

Just something to note, a lot of core wire functions include hardcoded markup here, so hooking into __render is probably the cleanest way to address most of these replacements from a markup output stance - that's what I plan to do. But there's lots of little bits to check - the fa 4 icons appear all over the place. Certain places (like the installation pages) hardcode echo statements and so I think those will always need to be FA4 unless Ryan steps up to 6 completely.

If you are just looking for a way to include fontawesome, I'm sure you know this already - but you've got RockAwesome in the modules library if you just want to be able to assign an icon from your library of choice to use on the front end - it supports whatever version you are able to link the lookup reference to in settings.

https://processwire.com/modules/fieldtype-rock-awesome/

 

  • Like 2

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...