Or just not use the include_partial function at all and handle all partials as normal php include() files. Its actually easier because I don't have to pass a specific array of variables.
On Aug 24, 2:30 pm, James Cauwelier <james.cauwel...@gmail.com> wrote: > You can support it yourself: > > 1. Disable standard Partial helper in the settings.yml > 2. Copy the partial helper from the symfony lib and adjust to suit > your needs. You will probably want to create a new view class that > inherits from sfParialView > > Good luck with it... > > James > > On Aug 24, 6:06 pm,Joshua<houseaddi...@gmail.com> wrote: > > > Thanks Alex. I have tried all ways to pass the include path. I think > > now Symfony does not support partials in folders. This is very dumb > > and a big problem for Symfony. It should be supported. > > > On Aug 21, 5:57 am, Alexandre Salomé <alexandre.sal...@gmail.com> > > wrote: > > > > He is looking for a module "folder". Try setting explicitly your module > > > : > > > > include_partial('my_module/folder/headline_news'); > > > > But (maybe) you will have to put _ on folders : > > > > /modules/my_module/templates/_folder/headline_new > > > > Alex' > > > > Le 19/08/10 22:24,Joshuaa crit : > > > > > include_partial("headline_news"); > > > > > How can I do this with partial _headline_news.php inside a folder > > > > within templates? If I try something like > > > > project_root/apps/frontend/modules/some_module/templates/folder/ > > > > _headline_news.php > > > > > Then in the template index > > > > include_partial("folder/headline_news"); > > > > > The template "_headline_news.php" does not exist or is unreadable in > > > > "". > > > > > Am I using the wrong approach? I have symfony managing two separate > > > > site templates that will each have separate partials. But the same > > > > actions are used for each template. I need a way to organize all the > > > > files in the module /template folder. > > > > -- > > > Alexandre Salom -http://alexandre.salome.fr -- 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 users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en