[symfony-users] Re: plugin js & css

2009-09-24 Thread smellycat37
Is it possible to define a view.yml file in the folder /plugins/ myPlugin/config/ to load js and css from myPlugin in the head of the html page or do I add them in /apps/backend/config/view.yml ? On 15 sep, 17:53, david wrote: > Aye.  I was thinking more that it's better to use the task than to

[symfony-users] Re: plugin js & css

2009-09-15 Thread david
Aye. I was thinking more that it's better to use the task than to do it by hand. It helps ensure it's repeatable when moving to prod. On Tue, 15 Sep 2009 17:47:54 +0200, Richtermeister wrote: > > On linux systems the plugin:publish-assets task will actually do a > symlink by default. > On

[symfony-users] Re: plugin js & css

2009-09-15 Thread Richtermeister
On linux systems the plugin:publish-assets task will actually do a symlink by default. On windows the files just get copied. Daniel On Sep 15, 3:30 am, david wrote: > Putting the files into the plugin web/js & web/css directories and then   > using the publish-assets task should put the files

[symfony-users] Re: plugin js & css

2009-09-15 Thread david
Putting the files into the plugin web/js & web/css directories and then using the publish-assets task should put the files into the appropriate directories for you - symlinking shouldn't be needed. On Tue, 15 Sep 2009 12:14:41 +0200, Alexandru-Emil Lupu wrote: > when you have some css or

[symfony-users] Re: plugin js & css

2009-09-15 Thread Alexandru-Emil Lupu
when you have some css or js for a pluging you usually can create a symlink called NamePlugin from your pluginName/web dir into the web dir ex: plugins/ NamePlugin/web/ plugins/ NamePlugin/web/js plugins/ NamePlugin/web/css ln -s plugins/NamePlugin/web web/NamePlugin and your web interface wil