Hi, ok, that's confusing, as in the jobeet it is using include_slot with 2 parameters: http://www.symfony-project.org/jobeet/1_4/Doctrine/en/04
I looked into the method (PartialHelper.php) and there is a default parameter. I tried to debug the function, but didn't find anything. I'll look into this in detail tomorrow. Thanks for your help anyway, Sebastian On Mar 2, 1:11 pm, Gareth McCumskey <gmccums...@gmail.com> wrote: > AFAIK include_slot has only 1 parameter. You may be thinking of the > slot() helper as mentioned here: > > http://www.symfony-project.org/gentle-introduction/1_4/en/07-Inside-t... > > On 02/03/2011 12:35, Sebastian G ttschkes wrote: > > > Hi, > > > I was trying to do the following: > > <?php include_slot('test','0') ?> > > > To my surpirse, if the slot test is not set, it shows nothing at all > > and even if the slot is set to '0' it shows nothing at all. If I > > change it to '1' it works as expected. > > > Am I doing something wrong? > > > Regards, > > Sebastian -- 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