Note that there are some explanatory texts on larger screens.

plurals
  1. POsymfony2 jquery ui datepicker images
    primarykey
    data
    text
    <p>I´m working with jQuery-ui datepicker but I have problems with images and paths. This is how I link my css:</p> <pre><code> {% stylesheets '@BackendBundle/Resources/public/css/bootstrap.min.css' '@BackendBundle/Resources/public/css/bootstrap-responsive.min.css' '@HotelBundle/Resources/public/css/ui-lightness/jquery-ui-1.8.20.custom.css' '@HotelBundle/Resources/public/css/encargado.css' output='css/encargado.css' %} &lt;link href="{{ asset_url }}" rel="stylesheet" type="text/css" /&gt; {% endstylesheets %} {% endblock %} {% block javascripts %} {% javascripts '@BackendBundle/Resources/public/js/jquery-1.7.2.min.js' '@BackendBundle/Resources/public/js/modernizr-2.5.3-respond-1.1.0.min.js' '@HotelBundle/Resources/public/js/jquery-ui-1.8.20.custom.min.js' output='js/backend.js' %} &lt;script src="{{ asset_url }}" type="text/javascript"&gt;&lt;/script&gt; {% endjavascripts %} </code></pre> <p>and I save my files css files there:</p> <pre><code>../src/Gitek/HotelBundle/Resources/public/css/ui-lightness/ - jquery-ui-1.8.20.custom.css - images/ui-bg_diagonals-thick_18_b81900_40x40.png;ui-bg_diagonals-thick_20_666666_40x40.png ... </code></pre> <p>my js files there:</p> <pre><code>../src/Gitek/HotelBundle/Resources/public/js/jquery-ui-1.8.20.custom.min.css </code></pre> <p>after that, I dump the assets with php app/console assetic:dump with no error</p> <p>I also install the assets with php app/console assets:install web --symlink</p> <p>and clear the cache php app/console cache:clear</p> <p>I did all this and I can see and work with my datepicker, but some pictures are not loading. If I go to the Chrome console I can see these errors:</p> <pre><code>Failed to load resource: the server responded with a status of 404 (Not Found) http://hotel.local/app_dev.php/css/images/ui-bg_highlight-soft_100_eeeeee_1x100.png Failed to load resource: the server responded with a status of 404 (Not Found) http://hotel.local/app_dev.php/css/images/ui-bg_gloss-wave_35_f6a828_500x100.png Failed to load resource: the server responded with a status of 404 (Not Found) http://hotel.local/app_dev.php/css/images/ui-bg_glass_100_f6f6f6_1x400.png Failed to load resource: the server responded with a status of 404 (Not Found) http://hotel.local/app_dev.php/css/images/ui-icons_ffffff_256x240.png Failed to load resource: the server responded with a status of 404 (Not Found) http://hotel.local/app_dev.php/css/images/ui-bg_highlight-soft_75_ffe45c_1x100.png </code></pre> <p>I think that maybe the problem is with the paths within the css file but I´m not sure.</p> <p>Any help?</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload