On 06.01.2011, at 01:23, gordonslondon wrote: > 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 ?
So views are already covered. And config stuff should be handled by the Bundles Extension class. Public is a question of what you use in your templates (and for other stuff it should be configurable) and those can be overridden. Doc's aren't interpreted so there is no need to override them So I am not sure what is really needed more? regards, Lukas Kahwe Smith [email protected] -- 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
