Comments (15)
Have you installed both packages (SuperBoxSelect + SuperBoxFontawesome)?
from superboxfontawesome.
yes of course.
from superboxfontawesome.
Did you save and reload the template variable and set the Type to FontAwesome Icons
?
from superboxfontawesome.
It should request the list from /core/components/superboxfontawesome/processors/types/fontawesome/getlist.php
from superboxfontawesome.
There is my TV setting : https://screenshots.firefox.com/TbezOs3LTsF8PR1X/lesouriant.org
from superboxfontawesome.
The value in Type looks wrong. Is this a dropdown select? Could you select FontAwesome Icons
there?
from superboxfontawesome.
No I can't : I can only select Resource or User
from superboxfontawesome.
Please reload the manager, after you have saved the vemplate variable with the new package setting. Then the type dropdown will have different values. I have done the reload, when the screen gets white in the following screencast.
from superboxfontawesome.
I would prefer to change the type dropdown (without a reload by ExtJS) when the package is changed, but this is not that trivial.
from superboxfontawesome.
Yes I did this with success by following your demo ! Thanks !
But I now have another issue : the TV's still doesn't work because this error :
[2018-05-16 13:15:55] (ERROR in superboxselect.fontawesome @ /home/User/web/website.org/public_html/core/components/superboxfontawesome/processors/types/fontawesome/getlist.class.php : 82) Could not find the icons in the FontAwesome scss!
I thought FontAwesome font was loading natively by MODX Manager....
How can I load it to make this works ?
from superboxfontawesome.
It uses/parses https://raw.githubusercontent.com/FortAwesome/Font-Awesome/master/scss/_icons.scss
per default which seems to be not available anymore.
You could create a system setting superboxselect.fontawesomeUrl
and set this to https://raw.githubusercontent.com/FortAwesome/Font-Awesome/fa-4/scss/_icons.scss
or patch the url in line 16 of core/components/superboxfontawesome/processors/types/fontawesome/getlist.class.php
from superboxfontawesome.
Yes it's works like a charm now !
Thank you very much !!
from superboxfontawesome.
If you want to use this with FontAwesome 5, you have to change the url to i.e. https://raw.githubusercontent.com/FortAwesome/Font-Awesome/master/web-fonts-with-css/scss/_icons.scss
I hope the regex works with that.
from superboxfontawesome.
It's nearly working with V5
Have a look here : https://i.imgur.com/z1dbQzl.png
Not all the icons are here.
In my case, the V4 version is enough :)
from superboxfontawesome.
With version 5, you additionally have to load the FontAwesome 5 CSS in the manager. But that will create some manager style issues and it can't be done in the getlist processor of this package.
from superboxfontawesome.
Related Issues (3)
- fontawesome compatibility HOT 1
- UI issues HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from superboxfontawesome.