Found some stuff: http://fkling.wordpress.com/2009/09/09/custom-properties-in-symfonys-admin-generator-configuration/ http://www.symfony-project.org/gentle-introduction/1_4/en/14-Admin-Generator#chapter_14_summary http://gestadieu.blogspot.com/2009/08/sfadminthemejrollerplugin-symfony-admin.html
On 15 čnc, 12:48, Thor <thorste...@gmail.com> wrote: > nobody? :( > > On 12 Lug, 12:43, Thor <thorste...@gmail.com> wrote: > > > > > well,actually i need to heavily customizeadmingenerators to create > > various functionalities, so i haven't got a single example, i provide > > some of them that i could use: > > > batch_position: top # (top,bottom,both) > > toggable_fields: [ gallery, field1,field2 ] # fields who will have a > > jquery effect to toggle containers > > floating_components: [ component1,component2, component3 ] # ok ,maybe > > this is a bit too much, but is only for the sake of the example > > > The goal i'd want to reach is to provide other developers in the > > company,admingenerators already configured / built with some custom > > needs > > > I looked in the built-in themes, and for example they look for > > > $this->configuration->getValue('list.batch_actions') > > or again > > $this->configuration->getValue('list.display') > > or again > > $this->getI18NString ('list.title') > > > i'd like to find a way to make > > $this->configuration->getValue('list.batch_position') > > parsable with a custom function... > > > On 12 Lug, 12:25, Daniel Lohse <annismcken...@googlemail.com> wrote: > > > > This sounds much too abtract (custom_option1) — what use-case do you have? > > > > Cheers, Daniel > > > > Sent from my iPad > > > > On Jul 12, 2010, at 12:18 PM, Thor <thorste...@gmail.com> wrote: > > > > > Hi all, > > > > i cannot understand how to customize theadmingenerator: > > > > i am using propel, and i see that from thegenerator.yml the first > > > > line is the class used by thegenerator, therefore in my case > > > > sfPropelGenerator. > > > > > I think that extending that class with a custom one is the first step, > > > > what i'd like to know, and i didn't find any information about it, is > > > > how to parse the yml with options i want, for example by adding some > > > > options > > > > > list: > > > > display: [ title, _content, status, created_at ] > > > > batch_actions: { } > > > > custom_option1: true > > > > custom_option2: { attrib1: xyz, attrib2: aaa } > > > > etc.. > > > > > could someone please address me toward the correct direction? > > > > what class do i have to look for? > > > > > -- > > > > 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 -- 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