[symfony-users] Re: File Size validation not working...

2008-05-22 Thread Uli Nitsche
Hi, as far as I remember there is a value in the php.ini which must be adapted as well. Not sure, but have a look there. On Fri, May 23, 2008 at 7:29 AM, Sumedh <[EMAIL PROTECTED]> wrote: > > Hey...someone please say something here??? :) > > On May 22, 2:18 pm, Sumedh <[EMAIL PROTECTED]> wrote:

[symfony-users] Re: File Size validation not working...

2008-05-22 Thread Sumedh
Hey...someone please say something here??? :) On May 22, 2:18 pm, Sumedh <[EMAIL PROTECTED]> wrote: > BTW, > > 1. It is correctly uploading smaller than 1 MB files... > > 2. I have declared the form multipart correctly... > > On May 22, 2:10 pm, Sumedh <[EMAIL PROTECTED]> wrote: > > > I want to a

[symfony-users] Javascript to Gd library

2008-05-22 Thread mozey
I'm trying to develop a BASIC functionality for clipmann.com so not only can you upload images and write on them, but you can also do BASIC select+copy+paste, then send it to symfony where GD will do its magic!, I think i need somehow, capture vai JavaScript the vector representation of what has

[symfony-users] Re: How do you sync your production db ?

2008-05-22 Thread kayoone
thanks for all the informative answers, good stuff! --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this g

[symfony-users] How to insert an image in postgreDB???

2008-05-22 Thread allan
Hello everyone I'm making a project in which I need to save some image in my postgreDB, this is the table I have in the db. CREATE TABLE tbimagen ( idimagen serial NOT NULL, imagen bytea NOT NULL, CONSTRAINT pk_nimagen PRIMARY KEY (idimagen) ) WITHOUT OIDS; ALTER TABLE tbimagen OWNER TO pos

[symfony-users] Re: Mixins howto

2008-05-22 Thread Thomas Rabaix
Just about the code, you have to provide de $con variable to the save method. Thomas On Thu, May 22, 2008 at 9:34 PM, Tom Haskins-Vaughan <[EMAIL PROTECTED]> wrote: > > Hi Guys, > > Thanks to all your help, I've managed to sort out my propel-load-data > problem. My next mission is to get the han

[symfony-users] Mixins howto

2008-05-22 Thread Tom Haskins-Vaughan
Hi Guys, Thanks to all your help, I've managed to sort out my propel-load-data problem. My next mission is to get the hang of mixins. I've read the section in the book over and over but I can;t quite get my head around the concept. I want to add the following piece of code to several model cl

[symfony-users] two primary keys problem

2008-05-22 Thread CX
i have a foreign key to a table with two primary keys. the values of the object select tag are "PK1/PK2" how can i set the value to use PK2 instead of use both primary keys? thanks! (i've this issue on the administration generated with symfony's admin generator) --~--~-~--~~---

[symfony-users] Overriding a plugin's generator.yml in an app

2008-05-22 Thread Onanga
Hello everyone ! I meeting a problem that's getting me stuck for hours now... I have a plugin installed, using generator.yml. It is actually plugins/sfSimpleCMSPlugin/modules/sfSimpleCMSAdmin/ config/generator.yml, but I guess it would happen with any plugin's generator. I would like to overrid

[symfony-users] Re: How do you sync your production db ?

2008-05-22 Thread Mark D
I second that, sfPropelMigrationsLightPlugin is really the best and simplest way to handle database changes for a symfony project using propel. Mark On May 22, 1:04 am, "Thomas Rabaix" <[EMAIL PROTECTED]> wrote: > You can use the sfPropelMigrationsLightPlugin > > http://trac.symfony-project.com/

[symfony-users] Re: Correct validate file format

2008-05-22 Thread Tom Haskins-Vaughan
Thanks, Mark. Looks like my query was just like yours. I'm going to go with the following until make the change to 1.1: methods: post:[name] fillin: enabled: on fields: name: required: Yes msg: Name field can't be blank markchicobaby wrote

[symfony-users] Re: propel-load-data

2008-05-22 Thread Tom Haskins-Vaughan
Thanks, Nicholas. That works like a charm! Nicolas Perriault wrote: > 2008/5/22 Tom Haskins-Vaughan <[EMAIL PROTECTED]>: > >> When I do this, I don;t get any warnings like before, but I get a >> sfException: >> >> [sfException] >> Call to undefined method sfUser::getUserId > > That's normal

[symfony-users] Re: IDE for symfony?

2008-05-22 Thread Eno
On May 21, 9:32 pm, "Daevid Vincent" <[EMAIL PROTECTED]> wrote: > I'm old school and use HomeSite on XP. But symfony is just too damn > complicated for my brain it seems. All these eight billion classes, four > classes per table, and directories up to six levels deep and yaml files up > the wazoo

[symfony-users] Problem with sfPager and sfPropelActAsTaggableBehaviorPlugin

2008-05-22 Thread Vincent Lemaire
Hi, First, I apologize for my approximate English and I hope you will understand me! I have a problem with sfPager and sfPropelActAsTaggableBehaviorPlugin. I want to retrieve all of items tagged by a keyword. For this, I use the following code: $pager = new sfPropelPager('Item', 10); $c = TagPe

[symfony-users] Re: User Registration

2008-05-22 Thread Nicolas Perriault
2008/5/22 Sumedh <[EMAIL PROTECTED]>: > Is there a ready made way in PHP / Symfony to handle user registration > process (registration form, login, account activation, detecting user > with cookie etc.)? You can look at what has been done for symfonians.net, based on the existing features of the

[symfony-users] Re: object_input_tag problem

2008-05-22 Thread pierrix
HI, to have a blank value, you can assign a default value in your database. On 10 mai, 20:01, Richix <[EMAIL PROTECTED]> wrote: > Hi > > I have a scaffolding module, but, on edit form the object_input_tag() > print an > the input have a text 'null'printedby > default. why? it can't be blank?

[symfony-users] Re: IDE for symfony?

2008-05-22 Thread markchicobaby
I use PDT on Eclipse. Follow the symfony community wiki for the installation specifics to symfony. The version I downloaded from Zend seemed to work better than the one from the official PDT page (but that could be my inexperience set up the first time around). It takes a while to set it up, bu

[symfony-users] Re: Correct validate file format

2008-05-22 Thread markchicobaby
I know what you mean I raised a similar issue a while ago, the discussion is here http://www.symfony-project.org/forum/index.php?t=rview&goto=46626&th=11583#msg_46626 Can you give some specific examples of conflicting syntax? This may help others to work out which syntax is best, which I wo

[symfony-users] User Registration

2008-05-22 Thread Sumedh
Hi guys... Is there a ready made way in PHP / Symfony to handle user registration process (registration form, login, account activation, detecting user with cookie etc.)? Sumedh http://sumedhsays.wordpress.com --~--~-~--~~~---~--~~ You received this message becaus

[symfony-users] Re: IDE for symfony?

2008-05-22 Thread Stefan Koopmanschap
I personally use Zend Studio for Eclipse, which works well if you add symfony to the "library". But there is also the free Symfoclipse, an Eclipse plugin. I have not worked with it yet, so I don't know how good it is. Stefan On May 22, 3:32 am, "Daevid Vincent" <[EMAIL PROTECTED]> wrote: > Not t

[symfony-users] Re: File Size validation not working...

2008-05-22 Thread Sumedh
BTW, 1. It is correctly uploading smaller than 1 MB files... 2. I have declared the form multipart correctly... On May 22, 2:10 pm, Sumedh <[EMAIL PROTECTED]> wrote: > I want to allow users to upload image files of upto 1 MB in size... > > I tried with YML... > > fields: > ... > file: > f

[symfony-users] File Size validation not working...

2008-05-22 Thread Sumedh
I want to allow users to upload image files of upto 1 MB in size... I tried with YML... fields: ... file: file: True sfFileValidator: mime_types: - 'image/jpeg' - 'image/png' - 'image/gif' - 'image/bmp' mime_types_error: Please upload o

[symfony-users] Re: How do you sync your production db ?

2008-05-22 Thread Thomas Rabaix
You can use the sfPropelMigrationsLightPlugin http://trac.symfony-project.com/wiki/sfPropelMigrationsLightPlugin Thomas On Thu, May 22, 2008 at 8:59 AM, Daevid Vincent <[EMAIL PROTECTED]> wrote: > >> -Original Message- >> symfony has nice features to deploy your applications and to crea

[symfony-users] Re: How can I tell if a $user is "my" user?

2008-05-22 Thread Thomas Rabaix
sfUser is just a handler to store information in the user session and check permission. This object is not directly related with any kind of database object. Now, $sf_user always refers to 'myUser'. The "crap" you see from var dump is all related objects : sfContext, sfRequest and their are

[symfony-users] Re: IDE for symfony?

2008-05-22 Thread Peter HO
I used to use Eclipse + PDT + Symfoclipse + a few other extensions, but now I use waterproof's PHPEdit .Very nice IDE with a lot of built-in functionalities (FTP sync, integrated PHPUnit support, CVS/SVN, XDebug, Database explorer ...). Actually, all it does not is ... making the coffee and cod