[symfony-users] Doctrine Admin Generator

2010-07-14 Thread galileo
I have question how in admin generator add credentials to forms in edit or new for example i have new: display: "Something": [ great ] fields: great: { credentials:[admin_credential]} It dosn't working this field is allways displayed any reason ? Symfony 1.4 with standard sfDoc

[symfony-users] Doctrine admin generator and parameters to partial

2010-07-01 Thread Guill Lo
Hi! I've got a partial that I'm sharing over different modules to show a photo. I have 2 different parameters in this partial that are the user, and the size of the thumbnail. So the simple question is: is it possible in the admin generator to send the width parameter to the partial. Cheers, --

[symfony-users] Doctrine Admin Generator Problem

2010-03-11 Thread Jim Krehl
I'm having some problems with using relations and doctrine:generate-admin. I have two tables, call them Users and Umbrellas. There is a one-to-many relation between Users and Umbrellas, specifically ... class Umbrella extends sfDoctrineRecord { public function setUp () { $thi

[symfony-users] Doctrine Admin Generator Foreign Fields Bug

2010-02-16 Thread M4X
I need to get the same that this link says http://www.blackfinsoftware.com/wordpress/2009/02/automating-__tostring-in-symfony/ but for Doctrine Admin Generator for Symfony 1.4, any clues ? -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post

[symfony-users] Doctrine, Admin Generator & Timestampable behavior

2009-12-10 Thread Darmen Amanbayev
Hi guys, I have a little problem in Doctrine's Timestampable behavior. In admin generator I've set this behaviour to my model and it has been generated properly in base-class. But when user saves a record in backend there is a validation error saying that "created_at" and "updated_at" fields are r

[symfony-users] doctrine admin generator: custom label and icon in object_actions

2009-08-12 Thread silvio.cimino
Good suggestion! The linkToObjectactionname solution is also useful to customize the javascript message ("Are you sure?") with i18n support (I sent another post with this request). Even though I hoped to find a generic solution useful for all modules, instead of a "per-module" implementation.

[symfony-users] Doctrine Admin Generator: javascript message localization

2009-08-10 Thread televas
Hi, I'm using the i18n support in some modules based on the doctrine admin generator. I'm configuring some messages, but I can't find how to have localized javascript messages. When I click on the "delete" link in the list, a message box ask me for confirmation. But I need to translate the message

[symfony-users] doctrine admin generator: custom label and icon in object_actions

2009-08-10 Thread silvio.cimino
I also tried the i18n support, but no success. Besides, when I set a string with only one blank space (“ “) no icons are shown. It seems that there's no solution to this behaviour… blank labels not expected. _ No success with this values: label: “” label: false label:

[symfony-users] doctrine admin generator: custom label and icon in object_actions

2009-08-10 Thread silvio.cimino
I hoped to set all my preferences into the generator.yml. Maybe I could enable the i18n support and customize the messages (but no the icons). I can't explain why the admin generator doesn't include this simple configuration in the yaml: I think this is a common requirement. Thank you, I'll

[symfony-users] doctrine admin generator: custom label and icon in object_actions

2009-08-08 Thread televas
Hi, how can I customize label and icon in the object_actions of the doctrine admin generator? I would show an empty label with a custom icon, but I can't find the correct method to set the generator.yml. I tried label: "" or label: " " or icon: /mydir/myicon.png but no one with success. Can you h

[symfony-users] doctrine admin generator problems

2009-02-20 Thread Gandalf
Hello, I think Ive found a small bug, doctrine admin generator ignores the "type", and "params" keywords. tried both under form and new/edit not sure if propel Another issue, the sql errors, for example, while triying to delete a record related to other, should be more user friendly, not a

[symfony-users] Doctrine admin generator edit resets fields that are not displayed

2009-02-11 Thread Johannes Frandsen
I have this generator config: generator: class: sfDoctrineGenerator param: model_class: Products theme: admin non_verbose_templates: true with_show: false singular: ~ plural:~ route_prefix:

[symfony-users] Doctrine admin-generator customization

2008-12-15 Thread root
Hi, all! I have flowing schema.yml: Category: tableName: categories columns: id: type: integer(4) notnull: 'true' primary: 'true' autoincrement: 'true' name: string - Articles: tableName: articles actAs: Timestampable: created: name: c

[symfony-users] Doctrine Admin Generator

2008-03-24 Thread Usman
Hi all i am using symfony 1.1 (beta)with Doctrine as ORM but for admin generator its not working . "doctrinie-init-admin" command throws an error Fatal error: Call to a member function mirror() on a non-object in C: \wamp\www\yigg\plugins\sfDoctrinePlugin\lib\task \sfDoctrineInitAdminTask.class.ph