assetic Questions
2
I'm trying to build a project using Symfony2 and all possible optimizations included. One of such is the optimizing of images used in the html. Symfony2 has a bundle Assetic that allows for this us...
3
Solved
1
Solved
I'm using Symfony version 2.1.10 with Assetic and after the last composer update I get the follwoing error when I try to run php app/console assetic:dump
Dumping all dev assets.
Debug mode is on.
...
2
Solved
My deployment fail when calling:
cd /var/www/prod/releases/20130513164742 && php app/console assetic:dump --env=prod --no-debug
My setup worked fine yestertay but today I can't deploy it...
Therewithal asked 13/5, 2013 at 16:59
2
Solved
I'm working on a kind of dashboard mini site that has blocks with a certain functionality. Using symfony2 I have a dedicated route /instagram that gets an html fragment that shows all the images ta...
Gusman asked 18/11, 2011 at 10:7
1
Solved
I want to include the url to one of the assets in my bundle in the controller, not in the template.
More specifically, but not very important: I make a HighChart chart using obHighChartsBundle, a...
1
Is there a way to make assetic automatically compile and compress .less files?
I tried this config:
assetic:
debug: "%kernel.debug%"
use_controller: true
bundles: ['BloggerBlogBundle', "FOSCommen...
Perplexed asked 5/1, 2013 at 10:3
4
How can I force assetic to render assets each time the page is reloaded (no matter if assets are modified or not)?
More explanation about my issue:
I'm currently working on a Symfony2 project whe...
3
I am trying to link a css file (that lives in a bundle) inside a twig template :
{% stylesheets
'@AcmeFooBundle/Resources/public/css/bootstrap.min.css'
%}
<link href="{{ asset_url }}" rel="...
2
Solved
I have simple login page and security set up like this:
firewalls:
main:
pattern: ^/
form_login:
provider: fos_userbundle
csrf_provider: form.csrf_provider
use_referer: true
always_use_defa...
Pyroelectricity asked 27/8, 2012 at 19:25
1
What I want to do: Get CSS properties from a database and dump it into a less file. Then apply a less/yui compress-filter on it and dump the output in my twig template.
Let me just come to the poi...
3
Solved
I'm hoping someone with more experience with global-scale web applications could clarify some questions, assumptions and possible misunderstandings I have.
Let's take a hypothetical site (heavy am...
Padishah asked 1/8, 2012 at 16:18
2
Solved
I was trying to use Capifony, which requires Capistrano, which requires Ruby. But my apt version of ruby was old and was throwing syntax errors. So then I installed RVM and did this:
$ rvm use 1.9...
2
Solved
We are building a new site using Symfony2, and Assetic looks very promising for resource management, in particular for combining and processing all js/css files together automatically.
We wil have...
1
Solved
I am using assetic to manage my assets in a Symfony2 application. I am wondering where I should be placing my global or site wide assets. Should they go in the /web folder or /app/Resources folder?...
1
Solved
My site is on Zend Framework and uses Assetic to compile SCSS and minify it.
It works wonderfully when I'm developing on Ubuntu.
Sometimes I need to develop on Windows (WAMP) instead of Ubuntu.
...
Rewarding asked 15/6, 2012 at 16:27
1
Solved
I'm trying to put a Symfony 2 app in production mode. It all runs fine except for the fact that the compressed single JavaScript file causes errors and makes the site unable to render correctly. I ...
Extortion asked 28/2, 2012 at 11:3
1
I'm trying to get Symfony2 to work with jQuery UI. I've gotten the JavaScript portion of it working just fine but I'm having trouble getting the images to work.
One thing I read in the Assetic doc...
2
Solved
I'm trying to get Assetic to run within Symfony 2.0.11 in order to use sass for css files.
I've been fiddling around that issue for hours, and from what I gather the current assetic version (1.0.2...
Digression asked 8/3, 2012 at 23:35
1
Solved
I'm trying to understand symfony2 assetic bundle.
I'm trying to use a jquery plugin which uses it's own css file. I've put everything in mybundle/Resources/public and then split into images/ javasc...
1
I'm trying to set up Assetic PHP asset compiler and I have got it working with CoffeeScript, Stylus, and Less (all the NPM packages worked perfectly). However, with Sass I am having a problem. Here...
3
Solved
I'm trying to get assetics running with the yui compressor and, if this is running, sass. Right now, both don't work. When removing all filters from config.yml and the twig template, it works and p...
Patriapatriarch asked 19/11, 2011 at 15:45
2
Solved
My problem:
I have 3 templates:
main.html.twig (main layout file)
layout.html.twig (a bundle specific layout override which contains some bundle specific JS tags)
create.html.twig (a page specif...
1
Solved
I have template for example index.html.php where I use php assetic loader like this
<?php foreach ($view['assetic']->javascripts(
array('@AcmeFooBundle/Resources/public/js/*')) as $url): ?&...
© 2022 - 2024 — McMap. All rights reserved.