Hey There,

yes, both solutions work: either create 2 distinct admin modules by
specifying the "module" parameter during creation,
or have one "smart" module that display info/forms differently. In the
latter case you'll probably have to custom code more and rely less on
the yml configuration.

Daniel



On Mar 18, 4:27 am, Race <horatiu.tode...@gmail.com> wrote:
> # config/schema.yml
> propel:
>
> jobeet_job:
> id: ~
> category_id: { type: integer, foreignTable: jobeet_category,
> foreignReference: id, required: true }
> type: { type: varchar(255) }
> company: { type: varchar(255), required: true }
> logo: { type: varchar(255) }
> url: { type: varchar(255) }
> position: { type: varchar(255), required: true }
> location: { type: varchar(255), required: true }
> description: { type: longvarchar, required: true }
> how_to_apply: { type: longvarchar, required: true }
> token: { type: varchar(255), required: true, index: unique }
> is_public: { type: boolean, required: true, default: 1 }
> is_activated: { type: boolean, required: true, default: 0 }
> email: { type: varchar(255), required: true }
> expires_at: { type: timestamp, required: true }
> created_at: ~
> updated_at: ~
>
> Can i generate two modules where module "job" and "detailed_job" is
> configured different from his own generator.yml file ?
> Example:
> symfony propel:generate-admin backend JobeetJob --module=job
>
> symfony propel:generate-admin backend JobeetJob --module=detailed_job
>
> Finally: I need a module with two faces. One view is Simple and one is
> Detailed.
>
> Thank you !

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

To unsubscribe from this group, send email to 
symfony-users+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.

Reply via email to