Giter Club home page Giter Club logo

Comments (4)

mrohnstock avatar mrohnstock commented on July 29, 2024

I'm using symfony2, too, but your issue is not related to jqueryui, you're missing a setting for assetic. You should take a look in the docs about cssrewrite.

If you still have issues with assetic, feel free to ask your question on the mailinglist of symfony.

from jqueryui.

rrajkomar avatar rrajkomar commented on July 29, 2024

Hi,
Sorry but the link you provided gives samples on how to load either multiple css or multiple js files (using the respective blocks) but only how to load one image at a time.
My issue is that the images cannot be accessed (I'm using cssrewrite) and it works fine for all images but the jqueryui ones !
The issue may come from where the jqueryui packages copy the files (componenets directory) which is not taken into account by the cssrewrite ?

Typically with the default location you have the images loaded from css file with something like this
background-image:url("images/ui-icons_72a7cf_256x240.png")
and when dumping the assets you get in web/css something that points to
background-image:url("../../images/ui-icons_ffffff_256x240.png")
which effectively points to nowhere because the directory images is not at this location (app/images) at all, it is located in app/components/jquery-ui/themes/{theme-name}/images !

from jqueryui.

mrohnstock avatar mrohnstock commented on July 29, 2024

@rrajkomar nothing is wrong with our css files, your issue is still assetic which do not reference the images correctly. Maybe it's possible to pass the correct path to assetic anyway...? I don't know and can't help you. You should ask your question on the mailinglist.

If you still think, there is something wrong with jquery-ui, you should post a bug report to the developers of jquery-ui, we do only provide the shim repository.

from jqueryui.

rrajkomar avatar rrajkomar commented on July 29, 2024

So far the only viable option I found was the one I copied in #47.
But there's one downside : it breaks the standard architecture of a symfony project.
Ideally if when using your package, we could specify a path for each type of component that might help avoiding this.

from jqueryui.

Related Issues (20)

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.