This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit

eZ Community » Forums » Install & configuration » New "Link assets" command required...

New "Link assets" command required for eZ Publish Community Project 2013.4

New "Link assets" command required for eZ Publish Community Project 2013.4

Friday 26 April 2013 7:40:28 am - 3 replies


Just a heads up if you are installing eZ Publish Community Project 2013.4 that there is a new step required when linking assets.

php ezpublish/console assetic:dump --env=prod web


There are also additional rewrite rules required

 # For eZ Publish 5.1 and higher:
RewriteRule ^/css/.*\.css - [L]
RewriteRule ^/js/.*\.js - [L]

If you don't do this the site will load but the CSS & javascript will not.


Modified on Friday 26 April 2013 10:16:29 am by Bruce Morrison

Tuesday 30 April 2013 1:38:21 pm


I have seen this feature too, usefull on prod, but not on "dev" environment.

It's depend on configuration : "assetic.use_controller".  And for "dev" environment (ezpublish/config/config_dev.yml), we have : 

use_controller: true

I think that we have to comment this rewrite rules on "dev" environment, and we do not have to execute "assetic:dump" script with --env=dev. The assetics files are routed by index_dev.php.

On prod, it's required because the configuration assetic.use_controller=false in ezpublish/config/config.yml

Thanks for the tip.


Monday 06 May 2013 11:14:15 am

The reply has been removed because of violation of forum rules.

Tuesday 07 May 2013 9:35:56 pm

Hello Bruce,

Thanks for this information. Actually, I spent couple of hours looking for a solution here. Too bad I have discovered your post after I wrote mine: blunk.gif Emoticon



You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from