[symfony-users] Re: sfCKEditorPlugin not dislplaying

2010-05-17 Thread Fabrizio Cuscini
root. Hope this helps. Cheers, Fabrizio On May 6, 10:33 pm, zubair wrote: > Hello guys, > > i have a problem using thesfCKEditorPlugin. i get the CKEditor class > not found error! > > Anyone with this problem, pls? > > thanks > > -- > If you want to report a vulne

[symfony-users] sfCKEditor doesn't display anything

2010-05-14 Thread Fabrizio Cuscini
ckeditor up! I wrote: $this->widgetSchema['content'] = new sfWidgetFormCKEditor(); in the configure() method of the (doctrine)form class definition. Do I have to do something else? Thanks in advance. Fabrizio -- If you want to report a vulnerability issue on symfony, please sen

Re: [symfony-users] How to access user details with sfGuard

2010-03-22 Thread Fabrizio Scimia
, Think about Your Environmental Responsibility! > Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! > > > 2010/3/21 Lea Hänsenberger > > Hi Fabrizio, >> in action classes you can access the user with >> $this->getUser()->getGuardUser() and

[symfony-users] How to access user details with sfGuard

2010-03-21 Thread Fabrizio Scimia
n an instance of the sfGuardUser class is created. I would like to access that object and print the user details in the profile table. I tried to create a module based on "profile" table, but in this way I get all the records of the table and not only the one of the authenticated user. Any help

[symfony-users] Re: How to change the route created by the admin generator

2010-02-10 Thread Fabrizio
I found another discussion on the exact same problem http://groups.google.com/group/symfony-users/browse_thread/thread/61ae0d3e9a06224c/f46622302f3744c1?show_docid=f46622302f3744c1 I already tried this solution (in my case, add a method getTypeId () ), but does not work, this method is not called

[symfony-users] Re: How to change the route created by the admin generator

2010-02-09 Thread Fabrizio
> Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! > > On Tue, Feb 9, 2010 at 9:58 PM, Fabrizio wrote: > > > (Upon, there is a little typo) > > > With my code > > > prefix_path:          product/:type_id > > > I expect (for exa

[symfony-users] Re: How to change the route created by the admin generator

2010-02-09 Thread Fabrizio
(Upon, there is a little typo) With my code prefix_path: product/:type_id I expect (for example with type_id = 1) www.yourserver.com/backend_dev.php/product/1 for list www.yourserver.com/backend_dev.php/product/1/1/edit for edit product 1 On 9 Feb, 21:32, Fabrizio wrote: >

[symfony-users] Re: How to change the route created by the admin generator

2010-02-09 Thread Fabrizio
) www.yourserver.com/backend_dev.php/1/product for list www.yourserver.com/backend_dev.php/product/1/1/edit for edit product 1 If it worked the code above, I will use the type_id to filter the list Fabrizio On 9 Feb, 21:21, Stéphane wrote: > Hi, > > Sorry for the */*, I just put the / in bold us

[symfony-users] Re: How to change the route created by the admin generator

2010-02-09 Thread Fabrizio
> > Cheers, > > Before Printing, Think about Your Environmental Responsibility! > Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! > > On Tue, Feb 9, 2010 at 11:45 AM, Fabrizio wrote: > > > I have a route generated with admin generator > > > # ap

[symfony-users] How to change the route created by the admin generator

2010-02-09 Thread Fabrizio
I have a route generated with admin generator # apps/backend/config/routing.yml product: class: sfDoctrineRouteCollection options: model:Product module: product prefix_path: product column: id with_wildcard_routes: true

[symfony-users] Re: I18n on admin generator filters

2010-02-06 Thread Fabrizio
Resolved! I have manually add the fields to the form filter and a where in the query On 6 Feb, 14:45, Fabrizio wrote: > Hi, > I have created a form with I18n with the admin generator. > By default in the filter section not appear the fields I18n. > How do I add them in the filte

[symfony-users] I18n on admin generator filters

2010-02-06 Thread Fabrizio
Hi, I have created a form with I18n with the admin generator. By default in the filter section not appear the fields I18n. How do I add them in the filters? -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to sy

[symfony-users] Re: Advanced Forms Example

2010-01-14 Thread Fabrizio
This problem affects me too. Nobody can give some help / info? How to add delete link with embedRelation() ? On 13 Gen, 17:29, axel at wrote: > hi list, > > I'm using embedForm() and embedRelation() (described > in:http://www.symfony-project.org/advent_calendar/8/enhttp://www.symfony-project.or

[symfony-users] Symfony 1.4, doctrine 1.2 and the method embedRelation with many to many relation and admin generator

2010-01-10 Thread Fabrizio
Hi, in a similar way as described in "Advanced forms", I used the method embedRelation to edit a form build with admin generator that embed e many to many relation. But this method does not create the buttons to delete embedded records. What is the best way to add this feature? -- You received th

[symfony-users] Re: Symfony 1.3 and Blameable Doctrine Extension

2009-11-29 Thread Fabrizio
s here, doctrine set the field creato_da, even if it is empty. Any advice on this problem? On 2 Nov, 13:44, Fabrizio wrote: > But a strange thing happens. > > If I edit a record and click on the button "Save"     without having > changed the data on the form, the fields "crea

[symfony-users] Re: Symfony 1.3 and Blameable Doctrine Extension

2009-11-02 Thread Fabrizio
Hi, thanks for the tips. I have create my listener "BlameableSymfony" Blameable: listener: BlameableSymfony columns: created: name: creato_da type: integer length: 4 options: notnull: false updated: na

[symfony-users] Re: Symfony 1.3 and Blameable Doctrine Extension

2009-11-01 Thread Fabrizio
Hi, tranks for the reply Unfortunately adding the notnull option Blameable: columns: created: name: creato_da type: integer length: 4 options: notnull: false updated: name: aggiornato_da type: int

[symfony-users] Symfony 1.3 and Blameable Doctrine Extension

2009-11-01 Thread Fabrizio
Hi, I have installed Blameable Extension in the folder /lib/doctrine_extensions/Blameable/ from the root of my symfony 1.3 project. in the /config/doctrine/schema.yml I have added the following code TableName: tableName: table_name actAs: Timestampable: Sluggable: ..

[symfony-users] Problem with admin generator with i18n and insert blank field i18

2009-08-09 Thread Fabrizio
Hi, I noticed that using the admin generator for a model with i18n fields, the default behavior when a record is inserted in the table "* _translation" is to insert one row for each language, although they have been left empty. The behavior that I would like to achieve is to insert only the record

[symfony-users] Problem with doctrine and id fields on I18n

2009-06-25 Thread Fabrizio
Hi, I have the following scheme that works properly. In particular, generates the correct field relations musica_recensioni.creato_da_ana_nomi_id and musica_recensioni.aggiornato_da_ana_nomi_id AnaNomi: tableName: ana_nomi actAs: Timestampable: created: name: creato_il