-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add FontAwesome Icons, re-order items #21
base: develop
Are you sure you want to change the base?
Conversation
New item order: Dashboard, Create Here, Edit
Hi @rafihopkins. Thanks for the PR. It looks like this assumes that font-awesome is being loaded on the front end pages of the site, which Quickbar does not assume. Therefore, for this to be merged, it would need to only output font-awesome icons in accordance with a System Setting that defaults to false. |
I suppose another option could be to inline the icons (base64) rather than depend on a iconset like fontawesome. Then the icons could be included independently |
What about a quickbar.chunk.tpl system setting in the quickbar namespace, part of the "theme" area, to allow users to provide their own tpl markup. This way quickbar theme developers could customize the markup in addition to the css. |
@rafihopkins that's even better. that would work. |
I like the idea of a chunk.tpl system setting, but in the meantime something like this achieves the desired result with just css: /* requires FontAwesome 4.5.0, including fa-modx for dashboard */ |
@rafihopkins I've added #23 to the roadmap I like the idea of keeping it custom because I think it is the "MODX way". I don't want to cater to heavily to one icon set or implementation than another. I'll take a crack at #23 when I get a chance. Unless someone beats me to it of course ;) |
Sounds good, @jpdevries! I started working on it but got confused when It would be nice if the tpl could be either a user-defined chunk from On 1/21/16 1:16 AM, JP DeVries wrote:
|
Hey JP,
I've been manually overriding this file whenever I use QuickBar now for about a year, figured others might benefit. Let me know what you think.