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

Reply via email to