[symfony-users] admin_double_list validation

2008-05-06 Thread Neubreed
Hi, I've googled 'til my lips went purple and I haven't been able to find information on how to perform YAML validation in an admin generator form that has any of the many-to-many select lists.. Can anyone post their experience / examples..? Basically I need to make sure at least one option is

[symfony-users] How to correct the error Class 'sfActions' not found in C:\wamp\www\sf_sandbox\sen\home\newpro\apps\Directory\modules\newcust omer\actions\actions.class.php on line 15

2008-05-06 Thread karla
Hello all, I'm new to the symfony framework. I've created a project and when tried to execute it i got the following error message... Fatal error: Class 'sfActions' not found in C:\wamp\www\sf_sandbox\sen \home\newpro\apps\Directory\modules\newcustomer\actions \actions.class.php

[symfony-users] remove dynamic string from URL and setting a rule for it in routing.yml

2008-05-06 Thread honey
We have a live site www.vois.com. we have a URL say http://www.vois.com/profile/index/dXNlcmlkPTExMzUzNA%3D%3D/ now we have to remove the dynamic encrypted text from URL and set a rule for it routing.yml. The encrypted part of the URL contains GET parameters based on which the action is executed.

[symfony-users] Re: SF 1.1.: Zend framework integration and session managing problem

2008-05-06 Thread paulo_graca
Thanks! Yes! it works, with some adaptations, I'm using the OpenId Plugin. On May 5, 5:57 pm, Eno [EMAIL PROTECTED] wrote: On Mon, 5 May 2008, paulo_graca wrote: I'm integrating Zend Framework with my project. And trying to use OpenId for signin. But I'm getting an error related with the

[symfony-users] symfony propel-dump-data - Maximum function nesting level

2008-05-06 Thread Marco Schierhorn
I have tried to execute symfony propel-dump-data frontend test_data.yml But i do always get a PHP Fatal error: Maximum function nesting level of '100' reached, aborting! in /home/marco/workspace/decayenne/lib/vendor/symfony/lib/addon/propel/sfPropelData.class.php on line 428 Does somebody

[symfony-users] Validating a non-required field

2008-05-06 Thread Rytis Daugirdas
Hello, Is it possible to define a validator that would be executed with each request, no matter if the field it validates is empty or not? Or is my only option to do that in the validate() method of my action? Regards, Rytis --~--~-~--~~~---~--~~ You received

[symfony-users] Re: Validating a non-required field

2008-05-06 Thread Lee Bolding
In your validate.yml just set required: false for the field On 6 May 2008, at 13:10, Rytis Daugirdas wrote: Hello, Is it possible to define a validator that would be executed with each request, no matter if the field it validates is empty or not? Or is my only option to do that in the

[symfony-users] Re: Validating a non-required field

2008-05-06 Thread Rytis Daugirdas
Thanks. On May 6, 3:30 pm, Lee Bolding [EMAIL PROTECTED] wrote: In your validate.yml just set required: false for the field On 6 May 2008, at 13:10, Rytis Daugirdas wrote: Hello, Is it possible to define a validator that would be executed with each request, no matter if the field it

[symfony-users] Re: SF 1.1.: Zend framework integration and session managing problem

2008-05-06 Thread gestadieu
can you share your finding to everyone? you probably have to modify send to use symfony session instead of starting a new one... On May 6, 6:54 pm, paulo_graca [EMAIL PROTECTED] wrote: Thanks! Yes! it works, with some adaptations, I'm using the OpenId Plugin. On May 5, 5:57 pm, Eno [EMAIL

[symfony-users] Re: symfony propel-dump-data - Maximum function nesting level

2008-05-06 Thread Olivier LOYNET
Hi, Try in your php.ini to increase your memory. Be careful, there are two php.ini, one for apache, on for cli mode. This is the cli for your command line. Olivier -Original Message- From: symfony-users@googlegroups.com [mailto:symfony- [EMAIL PROTECTED] On Behalf Of Marco

[symfony-users] Re: symfony propel-dump-data - Maximum function nesting level

2008-05-06 Thread Thomas Rabaix
try to remove your debugger ... Thomas On Tue, May 6, 2008 at 6:24 PM, Olivier LOYNET [EMAIL PROTECTED] wrote: Hi, Try in your php.ini to increase your memory. Be careful, there are two php.ini, one for apache, on for cli mode. This is the cli for your command line. Olivier

[symfony-users] problem in batch script

2008-05-06 Thread Hadubard
Hi, might be a stupid problem, but can anybody tell me, why I get the following error when trying to run a batch script directly from the command line with php batch_name.php from the symfony/batch directory? Parse error: parse error, expecting `T_OLD_FUNCTION' or `T_FUNCTION' or `T_VAR'

[symfony-users] Re: symfony propel-dump-data - Maximum function nesting level

2008-05-06 Thread Marco Schierhorn
Thanks for your help. I have increased now the memory limit and disabled the xdebugger. Now i get this message : [EMAIL PROTECTED]:~/workspace/decayenne$ symfony propel-dump-data frontend mokosch.yml propeldumping data to /home/marco/wo...enne/data/fixtures/mokosch.yml Segmentation fault

[symfony-users] Accessing model from helper

2008-05-06 Thread Tom Haskins-Vaughan
I'm about to start writing a helper. Is there any reason why I shouldn't access the model from a helper? TIA Tom --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send

[symfony-users] Re: Accessing model from helper

2008-05-06 Thread Thomas Rabaix
Hello, I am not sure what you mean by access the model. but an helper can have model as argument to perform a specific task. You cannot do any logic in a helper. Thomas On Tue, May 6, 2008 at 9:58 PM, Tom Haskins-Vaughan [EMAIL PROTECTED] wrote: I'm about to start writing a helper. Is

[symfony-users] Re: problem in batch script

2008-05-06 Thread Zsolt Takacs
Hi I think you have php4 installed too, and php points to it. check 'php -v' to see the version or just try 'php5 batch_name.php' Zs. Hadubard wrote: Hi, might be a stupid problem, but can anybody tell me, why I get the following error when trying to run a batch script directly from the

[symfony-users] Re: Accessing model from helper

2008-05-06 Thread Tom Haskins-Vaughan
Well, here's what I want to do. I want to be able to upload photos to my website. Then I can display them in a gallery. Fairly straightforward. But I'd also like to be able to hard code some of the uploaded photos into my website. So I'd have the following: div id=newHouse h3New House/h3

[symfony-users] Re: Accessing model from helper

2008-05-06 Thread Nicolas Perriault
On Tue, May 6, 2008 at 10:15 PM, Tom Haskins-Vaughan [EMAIL PROTECTED] wrote: So the question is, do I use a peer method to output the html or create a helper to do this? To me, templating should never sit in the model. I'd rather make a helper, a partial or a component for that purpose.

[symfony-users] Re: Accessing model from helper

2008-05-06 Thread Tom Haskins-Vaughan
Merci, Nicolas. So I there shouldn't be any problem accessing the model (having a peer method) inside the helper? Nicolas Perriault wrote: On Tue, May 6, 2008 at 10:15 PM, Tom Haskins-Vaughan [EMAIL PROTECTED] wrote: So the question is, do I use a peer method to output the html or create

[symfony-users] Re: Accessing model from helper

2008-05-06 Thread Nicolas Perriault
Le 6 mai 08 à 22:28, Tom Haskins-Vaughan a écrit : So I there shouldn't be any problem accessing the model (having a peer method) inside the helper? Nope, just have a look to symfony's ObjectHelper.php functions to reassure yourself :) ++ -- Nicolas Perriault http://prendreuncafe.com

[symfony-users] Re: Accessing model from helper

2008-05-06 Thread Jorge Vargas
On Tue, May 6, 2008 at 4:15 PM, Tom Haskins-Vaughan [EMAIL PROTECTED] wrote: Well, here's what I want to do. I want to be able to upload photos to my website. Then I can display them in a gallery. Fairly straightforward. But I'd also like to be able to hard code some of the uploaded photos

[symfony-users] Re: Accessing model from helper

2008-05-06 Thread Tom Haskins-Vaughan
Yes, that's what I was thinking, but I want to be able to only pass the photo_id rather than have to pass the src, the alt and the href. Jorge Vargas wrote: On Tue, May 6, 2008 at 4:15 PM, Tom Haskins-Vaughan [EMAIL PROTECTED] wrote: Well, here's what I want to do. I want to be able to

[symfony-users] How to cache differently based on parameters not in the request?

2008-05-06 Thread Dennis Verspuij
The sfViewCacheManager creates cache keys based on parameters that appear in the request. Is there any way to apply some custom parameters to each cached action, component and/or partial, without messing with the internal uri? For example, I keep currently selected language and time zone for a

[symfony-users] Re: problem in batch script

2008-05-06 Thread Hadubard
yeah, you're right. It's working now. I knew it was something stupid ;-) thanks, Pierre Am 06.05.2008 um 22:13 schrieb Zsolt Takacs: Hi I think you have php4 installed too, and php points to it. check 'php -v' to see the version or just try 'php5 batch_name.php' Zs. Hadubard wrote:

[symfony-users] Loosing partial after validate

2008-05-06 Thread Reynier Perez Mira
Hi every: I have the following code at preExecute() function: [code] public function preExecute() { if ( $this-getModuleName() == geslicsoft) { $this-mostrar_parcial = geslicsoft; } } Then in the layout.php I have this other code: [code] ?php if (isset($mostrar_parcial)) { switch

[symfony-users] Re: How I get the Database Connection ...

2008-05-06 Thread Whisller
Propel::getConnection(); Is it, what you want? --~--~-~--~~~---~--~~ 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 group,

[symfony-users] Re: How I get the Database Connection ...

2008-05-06 Thread Reynier Perez Mira
Yes it is, I founded few hours ago when I post the message, anyway thanks Ing. Reynier Pérez Mira Grupo Soporte al Desarrollo - Dirección Técnica IP -Original Message- From: symfony-users@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Whisller Sent: Tuesday, May 06, 2008

[symfony-users] How to filter admin_double_list content?

2008-05-06 Thread rafix
I´m developing an app that has a relationship m:n, one of the entities of this relationship contains a compound key. How can I show in an admin_double_list a listing of elements of the entity of the compound key, filtered by one of their keys? My schema.xml table name=sga_funcionalidad

[symfony-users] Re: Turning off session auto_start causes flash to not work

2008-05-06 Thread Eno
On Mon, 5 May 2008, Balaji Srinivasan wrote: So I turned off session. auto_start in factories.yml. In my preExecute method, I set up a session using session_id() call. Now it looks like the flash parameters are no longer being carried from one call to the next. Also somehow the session