Hi all,
I have a model Whitepaper. This model is linked to a user
(sfGuardUser).
I want, in the backend, to get a select tag (a list) that allows, when
I create a new post to choose / modify a user.
The fact is that if I use, in the edit section of the generator.yml:
- a field "user", I have a disabled input tag.
- a field "user_id", I have nothing ! the field disappears.
- a field "sf_guard_user", I have a disabled input tag.
- a field "sf_guard_user_id", I have a 500 error (the BaseWhitepaper
doesn't have the sf_guard_user_id field).
One interesting thing: in the filters (list action), I have the good
select tag with all the users.
But Why not in the edit action ?
Here is my generator.yml:
generator:
class: sfPropelAdminGenerator
param:
model_class: Whitepaper
theme: default
list:
display: [=title, category, sf_guard_user, created_at, _extras]
object_actions:
_edit: ~
_delete: ~
max_per_page: 40
filters: [title, category_id, user_id, created_at]
edit:
display: [title, category_id, user_id, layout_id, caption]
Any clue ?
Any solutions ?
Thanks
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---