[symfony-users] help

2009-09-16 Thread Gabriel Guzman
please healpme i need to install symfony with informix but a cannot install --~--~-~--~~~---~--~~ 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

[symfony-users] Re: how to get current login user id in my commonclass??

2009-09-16 Thread Sebastien Armand [Pink]
If I remember, calling sfContext::getInstance() is not really recommended because the context is not always defined (if you are performing tests or run the CLI for example, but I'm not 100% sure) and the preferred way is to pass the information to the class you want to use from the action:

[symfony-users] Re: help

2009-09-16 Thread Alexandru-Emil Lupu
Could you be more specific? On Wed, Sep 16, 2009 at 3:13 AM, Gabriel Guzman gabo.ic...@gmail.comwrote: please healpme i need to install symfony with informix but a cannot install -- As programmers create bigger better idiot proof programs, so the universe creates bigger better

[symfony-users] Re: Disable create button from backend

2009-09-16 Thread gerhard.schr...@gmail.com
In the generator.yml of your module replace actions ~ with: config: actions: _new: { credentials: [no_one] } Be sure that no user has the credential no_one ;) Greets from Austria, Gerhard On 16 Sep., 05:20, Avani avani.v.puj...@gmail.com wrote: Hi All, I

[symfony-users] Re: Primary key input hidden

2009-09-16 Thread waouf
To add some more info to last post, here is what you need to put in the lib/form/*YourTableName*Form.class.php file: // Redefine primary keys as Dropdown lists $this-widgetSchema['your_primary_key'] = new sfWidgetFormDoctrineChoice(array('model' = 'your_model', 'add_empty' = false)); cheers.

[symfony-users] Re: many to many relationships at admin not working

2009-09-16 Thread Farrukh Abbas
yes i did, build-model, form, sql, and insert-sql ... then cache:clear ... but no difference ... On Wed, Sep 16, 2009 at 3:45 AM, Abraham Montilla amontil...@gmail.comwrote: i think you actually did it, but... did you make the build-all-load command? and clear the cache only to see if helps.

[symfony-users] Re: Ajax queuing behaviour driving us mad

2009-09-16 Thread Gareth McCumskey
Sure using memcache speads up session processing but thats not where our problem lay. PHP locks session for reads, be it in memcache or database or file, while a script using session_start() is executing. So even if session management was blinding fast they are still locked while the scripts

[symfony-users] Re: Get the values of other fields from a validator

2009-09-16 Thread miguelSantirso
Ok, I will try that; I think it can work. Thank you! On Sep 16, 12:02 am, Casey casey.cam...@gmail.com wrote: The only way I know to do this is to use sfValidatorSchema, which is an array of validators.  I would create a validator that extends sfValidatorSchema and then use it as a post

[symfony-users] changing the field content when using the executeEdit action

2009-09-16 Thread Yaniv
Hi all ( I'm using symfony 1.2.8 ) i have a propel model form that contain image upload, when the form is processed the image uploaded is being saved several time in different sizes using sfThumbnails the problem start when i want to use edit method auto generated by propel because it generate

[symfony-users] Re: PropelException on Symfony 1.2: SQLSTATE[22P02]: Invalid text representation: 7 ERROR: invalid input syntax for integer:

2009-09-16 Thread Luis Nabais
Thanks for the answer. The schema file is huge, but this entity part (which doesn't have any FK), is the following: mbmkt_entity: id: name: { type: VARCHAR, size: '64', required: true } address: { type: VARCHAR, size: '128', required: true } postcode: {

[symfony-users] Re: Get the values of other fields from a validator

2009-09-16 Thread miguelSantirso
Thank you Casey, your solution worked! In case someone has the same problem, I posted how I did it here: http://sourcecookbook.com/es/recipes/56/change-the-filename-of-an-upload On Sep 16, 11:16 am, miguelSantirso tirso...@gmail.com wrote: Ok, I will try that; I think it can work. Thank you!

[symfony-users] sfImageTransformPlugin resample

2009-09-16 Thread HAUSa
Does somebody know the code for image resampling in the sfImageTransformPlugin? --~--~-~--~~~---~--~~ 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

[symfony-users] OT: Firma para liberar Project Zero

2009-09-16 Thread roberto german puentes diaz
Firma para liberar Project Zero ( http://www.projectzero.org/ ) http://www.petitiononline.com/zerogpl/ -- Cr. Puentes Diaz MP 10.12726.9 Córdoba - Argentina www.puentesdiaz.com.ar/blog/ www.puentesdiaz.com.ar/blog/novedades www.puentesdiaz.com.ar/blog/curriculum-vitae Linux User n° 441474

[symfony-users] make get in doctrine model class

2009-09-16 Thread smellycat37
Hi, I try to make a get function in a doctrine model class of an existed field table... That's my schema.yml : Media: columns: id: {type: integer(4), primary: true, autoincrement: true, sequence: media_id} name: {type: string(50)} title: {type: string(50)} alt: {type:

[symfony-users] Re: sfImageTransformPlugin resample

2009-09-16 Thread Gábor Fási
You can check it in the plugins section: http://trac.symfony-project.org/browser/plugins/sfImageTransformPlugin/trunk/lib/transforms On Wed, Sep 16, 2009 at 14:17, HAUSa jeroen_heeft_behoefte_aan_r...@hotmail.com wrote: Does somebody know the code for image resampling in the

[symfony-users] Re: How to know if memcache is caching

2009-09-16 Thread Bert-Jan
You can start memcache with the -vv switch and without -d to keep it in foreground. It will then show you what it's doing as it happens. I use that to check if the session save handler of the pecl memcached extension works properly (it does btw. :)). alvaro schreef: you can telnet to the host

[symfony-users] symfony 1.3 php 5.3 plugins installation

2009-09-16 Thread alessandro cinelli
Hi folks, I posted in the dev group but probably was the wrong place. 1) would you suggest to use symfony 1.3 with php 5.3? I'm trying it right now but I have many deprecated errors output installing plugins with symfony cli, I think it's a pear related problem. 2) is It normal that I can't

[symfony-users] Re: symfony 1.3 php 5.3 plugins installation

2009-09-16 Thread chakir ezziani
hi, i don't suggest you tu use symfony 1.3, you will still always have problemes with plugins and more and more. now we find some problemes with 1.2.8 sometimes best reguards 2009/9/16 alessandro cinelli alessandro.cine...@gmail.com Hi folks, I posted in the dev group but probably was

[symfony-users] Re: many to many relationships at admin not working

2009-09-16 Thread Abraham Montilla
oh, try deleting the module and generate it again, i think that's the problem then... 2009/9/16 Farrukh Abbas strategy.vs.lo...@gmail.com yes i did, build-model, form, sql, and insert-sql ... then cache:clear ... but no difference ... On Wed, Sep 16, 2009 at 3:45 AM, Abraham Montilla

[symfony-users] A PHP little trouble

2009-09-16 Thread Abraham Montilla
Hi all! This is a label i'm making with jq_link_to_remote function: $label = Lesionado $index.jq_link_to_remote(image_tag('/sf/sf_admin/images/delete'), array( 'url' = 'siniestro/deleteItem?cedula_id=' . $lesionado-getCedulaId() . 'nro_siniestr=' .

[symfony-users] Re: many to many relationships at admin not working

2009-09-16 Thread Farrukh Abbas
tried that too ... does not work ... r u using sf 1.2 ? can u plz give it a try for experiment sake ... coz i picked the implementation of many to many relationship from a thread which was based on 1.0 http://groups.google.com/group/symfony-users/msg/627be2a11e61990e

[symfony-users] Re: A PHP little trouble

2009-09-16 Thread Sid Ferreira
try to use instead of ' I had this problem once and I think I just replaced... On Wed, Sep 16, 2009 at 15:25, Abraham Montilla amontil...@gmail.comwrote: Hi all! This is a label i'm making with jq_link_to_remote function: $label = Lesionado

[symfony-users] Re: A PHP little trouble

2009-09-16 Thread Casey
I'm not sure about this, but, does it have to with output escaping? I would guess that both of the issues you are dealing with have something to do either with output escaping or the url being malformed and symfony trying to fix it. I used to run into these types of problems all of the time, so

[symfony-users] Re: many to many relationships at admin not working

2009-09-16 Thread Abraham Montilla
weird :s ... i'm using sf1.2 too 2009/9/16 Farrukh Abbas strategy.vs.lo...@gmail.com tried that too ... does not work ... r u using sf 1.2 ? can u plz give it a try for experiment sake ... coz i picked the implementation of many to many relationship from a thread which was based on 1.0

[symfony-users] Re: Deployment Scenarios (DB Specific)

2009-09-16 Thread Jake Barnes
We used migrations on a recent project, but it was only a partial solution. Each programmer was responsible for writing their own migration, and then committing it to Subversion, and then they were suppose to warn the other programmers to update the database on their local machines. For some

[symfony-users] Re: pkToolkitPlugin gems: a lightweight HTML filter, and a handy way to ssh to your staging and production servers

2009-09-16 Thread Jake Barnes
Thanks, Tom. I'll post a link to this from my weblog. The HTML Simplify is a utility most of us need for a lot of projects. Do you have a blog? I'm going to link to the thread on Google Groups, but it would seem more normal to post to an announcement on your company site. On Sep 14, 4:36 pm,

[symfony-users] svnforeigncopy: copy a Symfony project from the Symfony repo to your repo without losing externals

2009-09-16 Thread Tom Boutell
Just a quick note to share a tool that is helpful to our Symfony projects and might be useful in your own: We built a demo project for our Symfony-based CMS, pkContextCMS. That demo project is in the Symfony svn repository. We figured people would check it out as a starting point and then build

[symfony-users] Re: symfony 1.3 php 5.3 plugins installation

2009-09-16 Thread djones
I've also experienced a lot of deprecated warnings when installing plugins, but despite the complaints they seem to have installed successfully. However, I'm using symfony 1.2 with php 5.3.0 rather than symfony 1.3. On Sep 16, 10:55 am, alessandro cinelli alessandro.cine...@gmail.com wrote: Hi

[symfony-users] Selenium IDE lime integration?

2009-09-16 Thread Tennis Smith
Has anyone written a Selenium IDE user-extension that will generate code (pref PHP) for symfony/lime instead of PHPUnit? -- Tks, -T --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users group. To post to

[symfony-users] Re: User group and permission in sfGuardPlugin

2009-09-16 Thread veasna.phal
Hello Abraham Montilla, Hello Tom, Thanks very much for the answers. I did it as you told me, It works, but I'm not sure the point that Tom said: default: is_secure: on credentials: [admin] Because I have created one permission by my own named administratorPermission, so in the credentials

[symfony-users] Re: Calendar plugin

2009-09-16 Thread DEEPAK BHATIA
Hi, Is it compatible with Microsoft Outlook Calender ? Does it take Microsoft Outlook calender to .ics file ? Regards Deepak Bhatia On Fri, Sep 4, 2009 at 9:13 PM, Rajesh Kodali rajeshkod...@gmail.com wrote: Hi, We have tried and integrated http://www.k5n.us/webcalendar.php to symfony,