Excuse me for digging up this old topic, but this was the only discussion I 
found regarding overwriting assets.

I want to extend a Bundle (let's say Foo/BarBundle) to overwrite some 
images and stylesheets, but it's not possible to use the same name for the 
extended bundle, because the names must be different when extending (see 
Kernel::initializeBundles, line 473). And when using a different name, the 
command 'assets:install' places the image in another folder which is not 
referenced by the twig template.

Can someone explain how you did the trick?

Besides that, is it possible to extend the Twig's asset() function to look 
in the correct folder of the extended Bundle?

Op zaterdag 15 januari 2011 12:21:34 UTC+1 schreef gordonslondon het 
volgende:
>
> (i use both with and without symlink option)
>
> Ok you're right i have the same result as you. 
> Except for the content of web/bundles/user/foo.txt where i have what i've 
> described above.
>

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en

Reply via email to