[symfony-users] Re: How to include partials from another module in the Admin Generator

2009-03-21 Thread ssaboum

thank you that's what i did (override)

On 8 mar, 12:34, naholyr  wrote:
> You could try to add "_module/partial" in the display list.
> If this doesn't work (I didn't try), then yes you'll have to edit a
> template to add the call to include_partial.
> Note that you can overwrite _edit_header.php or _list_header.php,
> which are meant to be overwritten for your needs as they're empty by
> default.
>
> On 8 mar, 11:54, Dheeraj Kumar Aggarwal 
> wrote:
>
> > Hi
>
> > u can directly include partial from another module like this
>
> > e.g. Module Name: Hello
> >       partial name: message
>
> > then include_partial("Hello/message",array(any arguments));
>
> > On Sun, Mar 8, 2009 at 2:46 PM,ssaboum wrote:
>
> > > Hi,
> > > i wanted to know how to include partials from another module,
> > > i perfectly understand how to do it when the partial is in the module
> > > of the admin gen,
> > > but as the command include_partial can take a module into account, how
> > > can we do that with Admin Generator (generator.yml file) ?
>
> > > Should i change the editSuccess generated file ?
>
> > > Thank you
>
> > --
> > Regards,
> > Dheeraj
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[symfony-users] Re: How to include partials from another module in the Admin Generator

2009-03-08 Thread naholyr

You could try to add "_module/partial" in the display list.
If this doesn't work (I didn't try), then yes you'll have to edit a
template to add the call to include_partial.
Note that you can overwrite _edit_header.php or _list_header.php,
which are meant to be overwritten for your needs as they're empty by
default.

On 8 mar, 11:54, Dheeraj Kumar Aggarwal 
wrote:
> Hi
>
> u can directly include partial from another module like this
>
> e.g. Module Name: Hello
>       partial name: message
>
> then include_partial("Hello/message",array(any arguments));
>
> On Sun, Mar 8, 2009 at 2:46 PM, ssaboum  wrote:
>
> > Hi,
> > i wanted to know how to include partials from another module,
> > i perfectly understand how to do it when the partial is in the module
> > of the admin gen,
> > but as the command include_partial can take a module into account, how
> > can we do that with Admin Generator (generator.yml file) ?
>
> > Should i change the editSuccess generated file ?
>
> > Thank you
>
> --
> Regards,
> Dheeraj
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[symfony-users] Re: How to include partials from another module in the Admin Generator

2009-03-08 Thread Dheeraj Kumar Aggarwal
Hi

u can directly include partial from another module like this

e.g. Module Name: Hello
  partial name: message


then include_partial("Hello/message",array(any arguments));

On Sun, Mar 8, 2009 at 2:46 PM, ssaboum  wrote:

>
> Hi,
> i wanted to know how to include partials from another module,
> i perfectly understand how to do it when the partial is in the module
> of the admin gen,
> but as the command include_partial can take a module into account, how
> can we do that with Admin Generator (generator.yml file) ?
>
> Should i change the editSuccess generated file ?
>
> Thank you
> >
>


-- 
Regards,
Dheeraj

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