That would be a decision for Fabien. Add a ticket seeing what he thinks? - Jon
On Sun, Dec 28, 2008 at 2:38 AM, David Brewer <[email protected]>wrote: > Jon, what I ended up doing to support this was creating an admin > generator theme based on the standard sfDoctrinePlugin admin theme > with a slight modification to _form_field.php. Essentially I added a > new field option to the admin generator called "inline_partial". If > this option is true, a regular form label and the help text are > included. Otherwise, the behavior is as it was before. > > If you have any interest in adding this kind of functionality to the > admin generator let me know and I'll pass along a patch. > > David > > On Sun, Dec 21, 2008 at 6:15 PM, Jonathan Wage <[email protected]> wrote: > > You could use virtual columns by defining the accessor in your model. > > > > - Jon > > > > On Sun, Dec 21, 2008 at 7:31 PM, David Brewer <[email protected]> > > wrote: > >> > >> Hi Jon -- I'm taking your advice on this. It isn't terrible, but > >> still relatively time consuming just because this particular project > >> has in the ballpark of a dozen different consoles with substantially > >> customized functionality. > >> > >> One difference I've noticed is that the sf 1.2 admin generator does > >> not include the label or help text on partial fields. Sometimes this > >> is good -- if you are making a partial which is so different from a > >> regular field that you want to handle all of that yourself -- but most > >> of the time I would like my partial to be able to take advantages of > >> the label and help text defined in the generator.yml. > >> > >> Is there an option of some kind for changing this behavior? Or > >> perhaps an alternative to partials for inserting a custom field? I > >> guess I could define a specific widget class for these cases... is > >> that the recommended approach? > >> > >> David Brewer > >> > >> On Fri, Dec 19, 2008 at 12:27 AM, Jonathan Wage <[email protected]> > wrote: > >> > >> >> * Recreate the admin console using the new system and port over the > >> >> specific functionality. This seems like a lot of work. > >> > > >> > ^^^^^ > >> > I would do this. Generating new admin generator modules and > customizing > >> > them > >> > is incredibly simple with 1.2 so I don't think it would be as much > work > >> > as > >> > you think. > >> > >> > > > > > > > > -- > > Jonathan H. Wage > > Open Source Software Developer & Evangelist > > http://www.jwage.com > > http://www.doctrine-project.org > > http://www.symfony-project.org > > > > > > > > > -- Jonathan H. Wage Open Source Software Developer & Evangelist http://www.jwage.com http://www.doctrine-project.org http://www.symfony-project.org --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" 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-users?hl=en -~----------~----~----~----~------~----~------~--~---
