GithubHelp home page GithubHelp logo

Missing files ? about superboxfontawesome HOT 15 CLOSED

jako avatar jako commented on August 16, 2024
Missing files ?

from superboxfontawesome.

Comments (15)

Jako avatar Jako commented on August 16, 2024

Have you installed both packages (SuperBoxSelect + SuperBoxFontawesome)?

from superboxfontawesome.

Spheerys avatar Spheerys commented on August 16, 2024

yes of course.

from superboxfontawesome.

Jako avatar Jako commented on August 16, 2024

Did you save and reload the template variable and set the Type to FontAwesome Icons?

from superboxfontawesome.

Jako avatar Jako commented on August 16, 2024

It should request the list from /core/components/superboxfontawesome/processors/types/fontawesome/getlist.php

from superboxfontawesome.

Spheerys avatar Spheerys commented on August 16, 2024

There is my TV setting : https://screenshots.firefox.com/TbezOs3LTsF8PR1X/lesouriant.org

from superboxfontawesome.

Jako avatar Jako commented on August 16, 2024

The value in Type looks wrong. Is this a dropdown select? Could you select FontAwesome Icons there?

from superboxfontawesome.

Spheerys avatar Spheerys commented on August 16, 2024

No I can't : I can only select Resource or User

from superboxfontawesome.

Jako avatar Jako commented on August 16, 2024

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.

howto

from superboxfontawesome.

Jako avatar Jako commented on August 16, 2024

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.

Spheerys avatar Spheerys commented on August 16, 2024

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.

Jako avatar Jako commented on August 16, 2024

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.

Spheerys avatar Spheerys commented on August 16, 2024

Yes it's works like a charm now !
Thank you very much !!

from superboxfontawesome.

Jako avatar Jako commented on August 16, 2024

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.

Spheerys avatar Spheerys commented on August 16, 2024

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.

Jako avatar Jako commented on August 16, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.