Sometimes ago i have seen a tweet:

*To overwrite a template provided by another Bundle with #Symfony2 just 
create a Resources/views/TheOtherBundle/mytpl.twig in your Bundle.*

I haven't tested it, but haven't found any documentation on it.

*Symfony2 should allow us to overwrite any file in the Resources folder of a 
Bundle* (views, public, doc, config ..). This will allow us to create some 
"abstract" bundles wich can be overwritten easily. 

For example i often create new projects so i allways start with the same 
bundle and start modifing files in the Resources folder (views, config etc 
..). What i want to be able to do is:
- to have for each of my projects a *CommonBundle* with lots of files in 
Resources folder.
- a bundle in the Application folder who *overwrites* *files* (under 
Resources folder)* of my CommonBundle*.

Is it enough clear ?

-- 
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