[symfony-users] Re: add field which does not belong to the model

2009-09-04 Thread Richtermeister
The choices option takes an array of the acceptable values, in your case array('f', 'c'). Daniel On Sep 3, 5:56 am, Germana Oliveira germanaolivei...@gmail.com wrote: I have this Code: class DenunciaForm extends BaseDenunciaForm {   public function configure()   {    

[symfony-users] display form error message

2009-09-04 Thread avani pujara
HI All, I have done with Registration form. I want to check duplicate. for this, I have done like: Actions.class.php //check for duplicate username $c_checkduplicate = new Criteria(); $c_checkduplicate-add(sfGuardUserPeer::USERNAME, $this-email); $isduplicate =

[symfony-users] Re: display form error message

2009-09-04 Thread Avani
Hey Eno, I m using 1.1 !!! So, wht should I do for displaying my error message?? On Sep 4, 3:27 pm, Eno symb...@gmail.com wrote: On Fri, 4 Sep 2009, avani pujara wrote:   $this-getRequest()-setError('email',The username is already taken. There is no setError method in sfRequest unless you

[symfony-users] Re: display form error message

2009-09-04 Thread Eno
On Fri, 4 Sep 2009, avani pujara wrote: $this-getRequest()-setError('email',The username is already taken. There is no setError method in sfRequest unless you are using the 1.0 plugin - which version of symfony are you using? -- --~--~-~--~~~---~--~~

[symfony-users] sfcryptocaptcha plugin problem.

2009-09-04 Thread Avani
Hi All, I have registration form in my project. For that, I have used sfcryptocaptcha plugin for captcha. Everything works fine in my local machine. But when I upload files, it is not working in live. It is not displaying captcha image. also not giving any erros. My url is

[symfony-users] Re: display form error message

2009-09-04 Thread Eno
On Fri, 4 Sep 2009, Avani wrote: I m using 1.1 !!! So, wht should I do for displaying my error message?? Have you read the forms chapter of the book? If you have, then you may have noticed the note at the start of the forms chapter directing you to read the symfony Forms in Action book if

[symfony-users] Re: sfcryptocaptcha plugin problem.

2009-09-04 Thread Alexandre SALOME
Hello, Could you copy/paste your form class code ? The plugin sfCryptoCaptcha is very complicated Maybe you should consider using the sfFormExtraPluginhttp://www.symfony-project.org/plugins/sfFormExtraPluginand especially the sfWidgetFormRecaptcha and the sfValidatorReCaptcha. It uses

[symfony-users] Re: sfcryptocaptcha plugin problem.

2009-09-04 Thread Eno
On Fri, 4 Sep 2009, Avani wrote: For that, I have used sfcryptocaptcha plugin for captcha. Everything works fine in my local machine. But when I upload files, it is not working in live. It is not displaying captcha image. also not giving any erros. Is the module enabled in your 'guest'

[symfony-users] Re: Check duplicate for registration

2009-09-04 Thread ev...@freshheads.com
$this-validatorSchema-setPostValidator(new sfValidatorPropelUnique (array('model' = 'model_name'', 'column' = 'column_name'), array ('invalid' = 'Value already used'))); That should do the trick, you could also give an array of columns.. Gr Evert On Sep 4, 5:25 am, avani pujara

[symfony-users] Re: my first plugin

2009-09-04 Thread berni
Whether on the symfony project website is a description of the proposed naming convention plugins? Proposed own prefix is ok, will keep order. On Sep 4, 12:45 am, Jake Barnes lkrub...@geocities.com wrote: name it *sfGoogleAnalyticsPlugin* I thought the initials sf were suppose to indicate

[symfony-users] Re: help with customizing sfguard

2009-09-04 Thread sweetgirl
Hi jarthel, please did you find the answer to the first question, i want me to to change the place of the error msg (required, invalid), i want to replace them far from the form i searched in a lot of class and files and i didn't find them best regards On Sep 3, 2:09 am, jarthel

[symfony-users] sfphpExcel plugin installation

2009-09-04 Thread sunny
Hi can anybody help me how to install sfphpExcelPlugin i get the following error in cli mode You try to install a symfony 1.0 plugin. Please read the help message of this task to know how to install a plugin for the current version of symfony.

[symfony-users] How can I set a different base class for each Doctrine record?

2009-09-04 Thread Georg Gell
Dear list, is it possible to set a certain base class for each doctrine record? I tried baseClassName, but this was not working like expected. I would like to have Adress extends BaseAdress extends ClientAwareDoctrineRecord extends Doctrine_Record for all tables, that have a reference to the

[symfony-users] sfphpExcelPlugin installation problem

2009-09-04 Thread sunny
Hi can anybody help me how to install sfphpExcelPlugin i get the following error in cli mode You try to install a symfony 1.0 plugin. Please read the help message of this task to know how to install a plugin for the current version of symfony.

[symfony-users] Re: sfphpExcelPlugin installation problem

2009-09-04 Thread Bertrand Zuchuat
Hi, I'll post a new version later in the day. Bertrand Le 4 sept. 2009 à 12:14, sunny a écrit : Hi can anybody help me how to install sfphpExcelPlugin i get the following error in cli mode You try to install a symfony 1.0 plugin. Please read the help message of this task to know

[symfony-users] Re: sfphpExcelPlugin installation problem

2009-09-04 Thread Bertrand Zuchuat
Or use this solution: http://www.funstaff.ch/2009/07/07/integration-de-phpexcel-dans-un-projet-symfony Sorry, but this post is in french. Bertrand Le 4 sept. 2009 à 12:14, sunny a écrit : Please read the help message of this task to know how to install a plugin for the current version of

[symfony-users] Debian or Ubuntu or RHEL or centOS or 'nix

2009-09-04 Thread Robert Aceti
Which Linux server is best tuned (less bugs from server os) to develop in symfony? Thank you. Bob --~--~-~--~~~---~--~~ 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] Re: sfphpExcelPlugin installation problem

2009-09-04 Thread Walter
Download the plugin und copy it manulally in the plugin folder That worked in my case. Cheers Walter On 4 Sep., 12:14, sunny asim...@gmail.com wrote: Hi can anybody  help me how to install sfphpExcelPlugin i get the following error in cli mode   You try to install a symfony 1.0

[symfony-users] How do I find someone to work on a Symfony site for me?

2009-09-04 Thread Tony C
I recently had a site built by someone who used Symfony. More work needs to be done and I need someone who is familiar with it. Can you tell me where to find developers who know it or where I can post my project, etc? Thanks a lot. I need someone fluent in English.

[symfony-users] Symfony Facebook Integration

2009-09-04 Thread Sorom Uzomah
Hello everyone, I have 2 questions * Is there now a stable plugin for handling user registration for SfGuard for propel users ie email authentication etc ? * Is there also now a standard facebook integration plugin to help in building facebook applications for SF 1.2 ?Thanks.

[symfony-users] Re: Symfony Facebook Integration

2009-09-04 Thread Sid Ferreira
Isn't it open id? On Fri, Sep 4, 2009 at 09:21, Sorom Uzomah delsa...@yahoo.com wrote: Hello everyone, I have 2 questions - Is there now a stable plugin for handling user registration for SfGuard for propel users ie email authentication etc ? - Is there also now a standard

[symfony-users] Re: How do I find someone to work on a Symfony site for me?

2009-09-04 Thread Mr_chon
Hi, I'd say I'd love to do it if I didn't have a dayjob... Anyways, there's this site that could help you : http://symfonians.net/jobs Good luck :) On Sep 4, 11:54 am, Tony C goldmanme...@gmail.com wrote: I recently had a site built by someone who used Symfony. More work needs to be done and

[symfony-users] Re: Preferred Linux servers for symfony?

2009-09-04 Thread Tom Boutell
[Moving this thread to symfony-users as it does not belong in -devs] Actually, CentOS and Red Hat Enterprise Linux do not have PHP 5.2.x yet, so it is fair to say they are actively bad choices for Symfony. You have to take on maintenance of PHP via some less official repository or build it

[symfony-users] Re: How do I find someone to work on a Symfony site for me?

2009-09-04 Thread Rob Riggen
I'm a freelance PHP programmer with Symfony experience. Contact me off line if you would like to discuss. Thanks, Rob Rob Riggen (802) 662-1069 r...@riggen.org On Fri, Sep 4, 2009 at 5:54 AM, Tony C goldmanme...@gmail.com wrote: I recently had a site built by someone who used Symfony.

[symfony-users] Re: How do I find someone to work on a Symfony site for me?

2009-09-04 Thread Jacob Coby
Also, http://trac.symfony-project.org/wiki/DevelopersForHire I'm on that list along with lots of other people :) On Sep 4, 2009, at 9:43 AM, Mr_chon wrote: Hi, I'd say I'd love to do it if I didn't have a dayjob... Anyways, there's this site that could help you :

[symfony-users] Re: add field which does not belong to the model

2009-09-04 Thread Germana Oliveira
Well, the widget has no empty field, so the user is allways going to chose something... Eno escribió: On Thu, 3 Sep 2009, Germana Oliveira wrote: I have this Code: class DenunciaForm extends BaseDenunciaForm { public function configure() { parent::configure();

[symfony-users] Symfony Plugin for Microsoft Outlook Calender

2009-09-04 Thread DEEPAK BHATIA
Hi, Do we have any pluging which updates Microsoft Outlook Calender ? Regards Deepak Bhatia --~--~-~--~~~---~--~~ 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] Calendar plugin

2009-09-04 Thread Rajesh Kodali
Hi Guys, I did not receive any reply to my previous post on Calendar plug-in. Can any one help me in integrating. -- Regards Thanks, Rajesh.Kodali --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users

[symfony-users] Re: Calendar plugin

2009-09-04 Thread Rajesh Kodali
I am looking at full scale calendar plug in with ical compliance. On Fri, Sep 4, 2009 at 8:21 PM, DEEPAK BHATIA toreachdee...@gmail.comwrote: Hi, I have used Yahoo user interface for the same. http://developer.yahoo.com/yui/ Regards Deepak On Fri, Sep 4, 2009 at 8:13 PM, Rajesh

[symfony-users] Re: Preferred Linux servers for symfony?

2009-09-04 Thread Pablo Godel
I heard Snow Leopard includes PHP 5.3 Another good option for symfony development platform is using Zend Server which is available for Mac, Linux and Windows and includes the latest versions of PHP, Mysql, etc. Great package! Pablo On Fri, Sep 4, 2009 at 9:48 AM, Tom Boutellt...@punkave.com

[symfony-users] Re: Preferred Linux servers for symfony?

2009-09-04 Thread Jacob Coby
Snow Leopard includes 5.3 with pdo and gd included - it should work great for sf development out of the box. Leopard includes 5.2 but pdo is missing mysql and it's impossible to get gd to work. I use XAMPP for development on the mac. The latest XAMPP version uses PHP 5.3 - I recommend

[symfony-users] Re: propel:generate-admin module name

2009-09-04 Thread Richtermeister
Hey Dawid, I have the same issue, but only if I forget to specify the module name the first time around. After that symfony seems to remember that name, which is really annoying. I usually end up manually renaming things, which is possible. Just remember to pass the proper module name the first

[symfony-users] Re: Debian or Ubuntu or RHEL or centOS or 'nix

2009-09-04 Thread Jacob Coby
On Sep 4, 2009, at 11:20 AM, ColinFine wrote: On Sep 4, 4:01 am, Robert Aceti bob...@cogeco.ca wrote: Which Linux server is best tuned (less bugs from server os) to develop in symfony? I don't think there is an answer. Particular versions of particular distributions might have

[symfony-users] Re: Calendar plugin

2009-09-04 Thread Richtermeister
Hey Rajesh, I guess the answer is that it's not available. Doesn't seem to be amongst the official plugins, and nobody came forward with one.. Time to shine and build it ;) Daniel On Sep 4, 8:02 am, Rajesh Kodali rajeshkod...@gmail.com wrote: I am looking at full scale calendar plug in with

[symfony-users] Re: Symfony Facebook Integration

2009-09-04 Thread Richtermeister
Hey Surom, I believe http://www.symfony-project.org/plugins/sfPropelApplyPlugin could help. Haven't tried it yet, but seems to fit the bill. Daniel On Sep 4, 5:21 am, Sorom Uzomah delsa...@yahoo.com wrote: Hello everyone, I have 2 questions         * Is there now a stable plugin for

[symfony-users] Re: Preferred Linux servers for symfony?

2009-09-04 Thread Lee Bolding
I recommend developing on a virtual machine configured as closely to your deployment server as possible. There's a whole bunch of benefits to using a VM, but essentially, it means you can run as many as you like, if you trash it you can either roll back or just grab another VM image from

[symfony-users] Re: Debian or Ubuntu or RHEL or centOS or 'nix

2009-09-04 Thread Jeremy Thomerson
I use Ubuntu at home, but we have CentOS production servers. If you must use a RH variant like CentOS, getting PHP 5.2 on it is easy thanks to Jason Litka, who maintains a yum repo with things like this. See http://www.jasonlitka.com/yum-repository/ Jeremy Thomerson On Fri, Sep 4, 2009 at

[symfony-users] Re: Calendar plugin

2009-09-04 Thread DEEPAK BHATIA
Hi, I have used Yahoo user interface for the same. http://developer.yahoo.com/yui/ Regards Deepak On Fri, Sep 4, 2009 at 8:13 PM, Rajesh Kodalirajeshkod...@gmail.com wrote: Hi Guys, I did not receive any reply to my previous post on Calendar plug-in. Can any one help me in integrating.

[symfony-users] Re: Calendar plugin

2009-09-04 Thread Rajesh Kodali
Hi, We have tried and integrated http://www.k5n.us/webcalendar.php to symfony, though could not succeed 100% we hope to completely integrate in a week's time. So I was trying to find out if any one have already tried this before On Fri, Sep 4, 2009 at 9:03 PM, Richtermeister nex...@gmail.com

[symfony-users] Re: Preferred Linux servers for symfony?

2009-09-04 Thread Eno
On Fri, 4 Sep 2009, Tom Boutell wrote: Actually, CentOS and Red Hat Enterprise Linux do not have PHP 5.2.x yet, so it is fair to say they are actively bad choices for Symfony. You have to take on maintenance of PHP via some less official repository or build it yourself, and other

[symfony-users] Re: Preferred Linux servers for symfony?

2009-09-04 Thread Eno
On Fri, 4 Sep 2009, Lee Bolding wrote: I recommend developing on a virtual machine configured as closely to your deployment server as possible. VMs are also good for production use - you get all the benefits of having a dedicated server without the cost or hardware maintenance. Linode

[symfony-users] Re: propel:generate-admin module name

2009-09-04 Thread Dawid Ferenczy
Puvodni zprava [symfony-users] Re: propel:generate-admin module name od Richtermeister (symfony-users@googlegroups.com) z 4. září 2009, 17:27:40, msgid:92c695a3-8603-4bc2-a2f7-efbc6a21d...@f20g2000prn.googlegroups.com (1619 bajtu): R Hey Dawid, R I have the same issue, but only if I

[symfony-users] Re: add field which does not belong to the model

2009-09-04 Thread Eno
On Fri, 4 Sep 2009, Germana Oliveira wrote: Well, the widget has no empty field, so the user is allways going to chose something... Looks like Richtermeister found the problem - did you test it? -- --~--~-~--~~~---~--~~ You received this message because

[symfony-users] Re: Symfony Facebook Integration

2009-09-04 Thread Sorom Uzomah
Hi Daniel, Thanks alot, any information on facebook integration ? From: Richtermeister nex...@gmail.com To: symfony users symfony-users@googlegroups.com Sent: Friday, September 4, 2009 4:36:44 PM Subject: [symfony-users] Re: Symfony Facebook Integration Hey

[symfony-users] about generator.yml

2009-09-04 Thread Abraham
hello folks, i created a module with the doctrine:generate-module -- with-show --non-verbose-templates X Y Z command, now i want to use a generator.yml to configure the forms and list view, but it doesn't work, why is that? i created the generator in the /apps/my-app/

[symfony-users] Re: about generator.yml

2009-09-04 Thread Sid Ferreira
AFAIK yes On Fri, Sep 4, 2009 at 14:57, Abraham amontil...@gmail.com wrote: hello folks, i created a module with the doctrine:generate-module -- with-show --non-verbose-templates X Y Z command, now i want to use a generator.yml to configure the forms and list view, but it doesn't work, why

[symfony-users] Re: Debian or Ubuntu or RHEL or centOS or 'nix

2009-09-04 Thread andrea cecchetto
I run symfony on arch linux, without any problem!! 2009/9/4 Jeremy Thomerson jeremythomer...@gmail.com I use Ubuntu at home, but we have CentOS production servers. If you must use a RH variant like CentOS, getting PHP 5.2 on it is easy thanks to Jason Litka, who maintains a yum repo with

[symfony-users] Re: Symfony Facebook Integration

2009-09-04 Thread Kieu Anh Tuan
Interesting question. I've heard about a plugin named sfFacebookConnectPlugin during the Symfony live in Paris but there's nothing so far. Any idea on the development state of the plugin or how to get involved? On Sep 4, 2009 6:36 PM, Sorom Uzomah delsa...@yahoo.com wrote: Hi Daniel, Thanks

[symfony-users] Re: Debian or Ubuntu or RHEL or centOS or 'nix

2009-09-04 Thread Sid Bachtiar
I run Ubuntu 9.04 (with PlayOnLinux to test my websites on Safari, Internet Explorer, Google Chrome, etc) No problem what-so-ever. On Sat, Sep 5, 2009 at 5:48 AM, andrea cecchettoandrea.cecche...@gmail.com wrote: I run symfony on arch linux, without any problem!! 2009/9/4 Jeremy Thomerson

[symfony-users] Re: How can I custom the default css path

2009-09-04 Thread Tom Haskins-Vaughan
I've just come across a need for this too. Here's my situation. I am including a very simple symfony project to run a couple of forms in an existing website. Overkill for now yes, but I anticipate using symfony for more and more of the website. Anyway, the current setup is: / /public_html

[symfony-users] Re: Preferred Linux servers for symfony?

2009-09-04 Thread Jake Barnes
As for development itself, develop on a Mac for better compatibility and fewer surprises when you sync your code to a Unix host later. You I missed the beginning of this conversation, but this bit seems very odd to me. Why would you develop on a Mac? Why not develop on a Ubuntu machine? On

[symfony-users] sfApply Help

2009-09-04 Thread ShadySandman
Hi All, I have sfApply installed as per the README. app.yml set like this: # default values all: title: # sfApplyPlugin: from: email: aa...@guise.net.nz fullname: Aaron Guise mailer_type: SMTP mailer_host: smtp.ihug.co.nz

[symfony-users] Re: Preferred Linux servers for symfony?

2009-09-04 Thread Sid Bachtiar
As for development itself, develop on a Mac for better compatibility and fewer surprises when you sync your code to a Unix host later. You can use MAMP or MacPorts to get a version of Apache and PHP that is good enough for the job. The standard PHP in MacOS Leopard won't cut it (I'm not sure

[symfony-users] Re: Preferred Linux servers for symfony?

2009-09-04 Thread Eno
On Fri, 4 Sep 2009, Jake Barnes wrote: I missed the beginning of this conversation, but this bit seems very odd to me. Why would you develop on a Mac? Why not develop on a Ubuntu machine? For those developers that are more mainstream (i.e. not Linux savvy), a Mac is the nearest they will

[symfony-users] Re: sfApply Help

2009-09-04 Thread ShadySandman
Hi, I threw the error to screen and it shows this in the top line. exception 'Exception' with message 'app_sfApplyPlugin_from is not set' in /home/aaron/sfprojects/kiwibid2/apps/frontend/modules/sfApply/lib/ BasesfApplyActions.class.php:112 Does this mean my app.yml is jacked up? On Sep 5,

[symfony-users] Re: sfApply Help

2009-09-04 Thread Tom Boutell
Every time it comes back that some error has occurred. That's pretty vague - details of the error message please? Try it in your dev controller and check out what appears in the logs, if anything. -- Tom Boutell P'unk Avenue 215 755 1330 punkave.com window.punkave.com

[symfony-users] Re: Preferred Linux servers for symfony?

2009-09-04 Thread Eno
On Sat, 5 Sep 2009, Sid Bachtiar wrote: But I disagree that you'll get better compatibility and fewer surprises when you sync your code to a Unix host. Depends on the viewpoint - compared to Windows, a Mac is closer to UNIX than Windows will ever be. For start, most hosts out there run

[symfony-users] Re: Preferred Linux servers for symfony?

2009-09-04 Thread Sid Bachtiar
Hi, Fair comments For start, most hosts out there run Linux, not Unix. Pretty much the same if you ask me, at least the tools are. LINUX = Linux Is Not UniX Since most hosts out there run Linux, if you aim for better compatibility and fewer surprises, then just use Linux to develop. On

[symfony-users] Unique random column (sfDoctrine behavior / template)

2009-09-04 Thread Sid Bachtiar
Hi, I just made a switch to doctrine and wrote a doctrine behavior to add a unique random column. I didn't find such plugin, may be I'm mistaken? http://bluehorn.co.nz/2009/09/05/sfdoctrine-behavior-unique-random-column/ Hope to get some feedbacks. Kind regards, Sid -- Blue Horn Ltd - System

[symfony-users] Re: help with customizing sfguard

2009-09-04 Thread jarthel
you're in luck! $form['fieldname_here']-renderError(). It returns a string. not empty = error. You need to use widgets to create the form tags (input, textarea and etc) or else it wouldn't work. On Sep 4, 6:12 pm, sweetgirl ezziani.cha...@gmail.com wrote: Hi jarthel, please did you find the

[symfony-users] Re: MVC architecture: where do most Symfony developers resize images, in the Form class, or in a validator?

2009-09-04 Thread Sid Bachtiar
I'd say in the form class, definitely not in action. Action should just be the glue between model, form, and user request On Sat, Sep 5, 2009 at 2:30 PM, Jake Barneslkrub...@geocities.com wrote: No one has any thoughts on this? I'm basically asking about the application of the MVC ideal -

[symfony-users] MVC architecture: where do most Symfony developers resize images, in the Form class, or in a validator?

2009-09-04 Thread Jake Barnes
No one has any thoughts on this? I'm basically asking about the application of the MVC ideal - what is pure, in terms of MVC. To put the resizing code in the form class or in the action? Or in the validator? On Sep 3, 1:35 am, Jake Barnes lkrub...@geocities.com wrote: I've a form that allows

[symfony-users] jobeet tutorial backend app problem

2009-09-04 Thread dc
Hello, I'm approximately following the jobeet (propel) tutorial using my own database. I went through the frontend application development and it all works as expected. Now I wanted to try the backend part of the tutorial so I created the app by running: ./symfony generate:app

[symfony-users] Re: sfApply Help

2009-09-04 Thread Aaron Guise
Hmmm, I had totally jacked up the app.yml file. Wrong Indentation, grrr! Corrected the indentation like this: # default values all: title: # sfApplyPlugin: from: email: aa...@guise.net.nz fullname: Aaron Guise mailer_type: SMTP

[symfony-users] Re: sfphpExcelPlugin installation problem

2009-09-04 Thread asim nizam
i did same i downloaded it manually and copied in plugin folder and also enabled in sfconfigurationfile but when i run the example file it says phpexcel class doesnot exist --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[symfony-users] how to use sfCallbackValidator in sfGuard?

2009-09-04 Thread jarthel
The username in my login form can be a username or an email address. By default, the username field uses sfValidatorString() and this isn't enough to achieve what I require. If the text entered by the user has @ in it, I want to check if it's a valid email address (i.e. correct format). My