[symfony-users] Question about a form and unset

2010-03-12 Thread Javier Garcia
Hi, i have installed sfDoctrineGuardExtraPlugin. When i execute sfGuardRegister/register i found a form with username, email, password, and confirmation password. Now i want to remove the field 'username' from the form. For that i have written this class sfGuardFormRegister extends

Re: [symfony-users] swift mailer - delivery_strategy: none

2010-03-12 Thread Lea Hänsenberger
Additionally set transport class to Swift_NullTransport to avoid this: dev: mailer: param: delivery_strategy: none transport: class: Swift_NullTransport Cheers, Lea On Mar 12, 2010, at 3:22 , Kevin wrote: When the delivery strategy is set to none should swift mailer

[symfony-users] Re: symfony 1.3.3 doctrine inheritance custom primary key and formfilters

2010-03-12 Thread lxtechie
No one? On Mar 10, 10:52 pm, lxtechie lxtec...@gmail.com wrote: Hi If been trying to use doctrine's inheritance feature . I add my own primary key in the child table (in this case my_id) but if I try and use a filter in the backend I get the following error : SQLSTATE[HY093]: Invalid

[symfony-users] Please help me with plugin development

2010-03-12 Thread Yura Rodchyn
Hi, I'm write sfUserOnlinePlugin then put package.xml file into root plugin directory with next content: ?xml version=1.0 encoding=UTF-8? package xmlns=http://pear.php.net/dtd/package-2.0; xmlns:tasks=http://pear.php.net/dtd/tasks-1.0; xmlns:xsi=http:// www.w3.org/2001/XMLSchema-instance

[symfony-users] Re: propel:build-schema not working[jobeet]

2010-03-12 Thread Massimiliano Arione
On 12 Mar, 05:10, Tahar Yazid Touaibia ytouaib...@gmail.com wrote: in the tutorial, i did not see any instruction concerning : --orm=Propel http://www.symfony-project.org/jobeet/1_4/Propel/en/01#chapter_01_sub_project_creation -- If you want to report a vulnerability issue on symfony, please

[symfony-users] Doctrine question

2010-03-12 Thread Alexander Deruwe
I have the following yaml schema: Profile: # blah blah Channel: actAs: { Timestampable: ~ } columns: sender_id: { type: integer, notnull: true } receiver_id: { type: integer, notnull: true } relations: Profile: { local: sender_id, foreign: id } How can I relate receiver_id

Re: [symfony-users] Doctrine question

2010-03-12 Thread Syam
Hi, Try this : Channel: actAs: { Timestampable: ~ } columns: sender_id: { type: integer, notnull: true } receiver_id: { type: integer, notnull: true } relations: SenderProfile: { local: sender_id, foreign: id, class: Profile} ReceiverProfile: { local: receiver_id, foreign: id,

RE: [symfony-users] Doctrine question

2010-03-12 Thread Alexander Deruwe
That worked just fine! Thanks a bunch. A. -Oorspronkelijk bericht- Van: symfony-users@googlegroups.com [mailto:symfony-us...@googlegroups.com] Namens Syam Verzonden: vrijdag 12 maart 2010 15:14 Aan: symfony-users@googlegroups.com Onderwerp: Re: [symfony-users] Doctrine question

[symfony-users] Re: propel:build-schema not working[jobeet]

2010-03-12 Thread PachinSV
what version of symfony are you using? if you're using 1.3/1.4 so ... maybe you create the project with default configuration (Doctrine) and that is why Propel task does not exist. If you are starting to learn symfony I recommend you learn Doctrine because that's the future of Symfony. Grettings

Re: [symfony-users] Linking to the upload path from a template.

2010-03-12 Thread Luis Alberto Zarrabeitia
On Fri, Mar 12, 2010 at 2:00 AM, Gareth McCumskey gmccums...@gmail.com wrote: In your template: ?php echo image_tag($sf_config-get('sf_upload_dir').'/myImages/'.$image_name) ? The $sf_config variable is a copy of the sfConfig object used in the actions. Thank you, but I'm afraid that

[symfony-users] Re: Simple Form Question

2010-03-12 Thread Darren884
Here is what I did, in my BaseForm class I added this method: public function setValue($field, $value){ if(!in_array($field, array_keys($this-values))){ throw new sfException(sprintf('Unkown field %s in %s object.', $field, get_class($this)));

[symfony-users] Re: Custom logger via factory.yml?

2010-03-12 Thread Richtermeister
Hey Scott, I guess you're right.. if the aggregate logger registers itself for the application.log event, it will simply stuff those log messages down into it's contained loggers, regardless of whether they are listening for this event themselves. Frankly, I think we have established that symfony

[symfony-users] Re: swift mailer - delivery_strategy: none

2010-03-12 Thread Kevin
great, thanks! On Mar 12, 3:42 am, Lea Hänsenberger baerne...@gmail.com wrote: Additionally set transport class to Swift_NullTransport to avoid this: dev:   mailer:     param:       delivery_strategy: none       transport:         class: Swift_NullTransport Cheers, Lea On Mar 12,

[symfony-users] Re: help il list

2010-03-12 Thread ScherlOMatic
Hello! What's the problem? Building forms, rendering in your template file or writing doctrine queries? first of all you need to customize your JobForm.class.php: sfWidgetFormDoctrineChoice() please give us more details and you will get more feedback. Ciao On 13 Mrz., 01:02, Belgacem TLILI

[symfony-users] Problem in creating a Doctrine backend admin module

2010-03-12 Thread t...@soe
I have two tables: headline, review. One-to-many relationship, i.e. many reviews may belongs to one headline. 1. symfony doctrine:generate-admin backend BookHeadline is successful. I can go to the backend by /book_headline and admin the headline data; 2. symfony doctrine:generate-admin backend