[symfony-users] Re: Putting forms in session

2008-04-04 Thread Richtermeister
Hi there, I tend to store my cross-multiple-request data in the session (user). Just today I worked on an ecommerce checkout process, and shipping / billing / cc all go into the session, and I clear them after checkout.. When you re-display a form, you can just draw on session data and provide d

[symfony-users] Re: Regarding Url

2008-04-04 Thread Ian P. Christian
manish wrote: > what is the default parameter in url_for . true or false? False. --~--~-~--~~~---~--~~ 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

[symfony-users] Re: Regarding Url

2008-04-04 Thread Viktor LOOSZ
http://www.symfony-project.org/api/1_0/UrlHelper#method_url_for False. manish wrote: > what is the default parameter in url_for . true or false? > > On Apr 4, 11:33 am, D3F <[EMAIL PROTECTED]> wrote: > >> url_for has extra parameter "true", >> example: >> > 'listing/list?prop_category=' . $p

[symfony-users] Re: a mixing for all get*

2008-04-04 Thread Lee Bolding
On 4 Apr 2008, at 03:05, hutchic wrote: > Lee: Not so much auditing although an interesting idea as well. > Basically I was looking to catch and log all fatal errors however it's > occured to me that this will not work. > > We end up with fatal errors in our application (no body's fault but > our

[symfony-users] Re: messages on the login and security modules...

2008-04-04 Thread Bruno Reis
That´s a "why havent I tought about that before!" one. Simple and eficient. Thanks a lot!!! 2008/4/3, Thomas Dedericks <[EMAIL PROTECTED]>: > > > Hi, > > you could use another action than index to set your message, then > redirect to index : > > secure_action:needCredentials > > -> in the logi

[symfony-users] Re: Problems to get Oracle working - databases.yml

2008-04-04 Thread Mladen Gogala
On Apr 3, 11:22 pm, "Pedro Casado" <[EMAIL PROTECTED]> wrote: > Im running symfony 1.0.13 > > Why propel-insert-sql works and this doesnt? The connection string are the > same, isnt it ? Ive also tried others syntaxs for databases.yml but no > success. > Pedro, the problem is precisely in the

[symfony-users] Re: Force propel to generate exact db schema

2008-04-04 Thread [YS.PRO]
Go http://www.symfony-project.org/forum/index.php/m/49210/ #msg_49210">here --~--~-~--~~~---~--~~ 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] duplicate entry handling on insert with propel

2008-04-04 Thread Hadrien Boyé
in my model, i have a table called "person" with unique constraint on "name" and "surname" columns. then, i want to prevent duplicates creations by retrieving a message to the user if once tries to create an existing person. at the moment, i use my own validator (inspired by "propelUniqueValidato

[symfony-users] Re: duplicate entry handling on insert with propel

2008-04-04 Thread Zoltán Németh
Hadrien Boyé írta: > in my model, i have a table called "person" with unique constraint on > "name" and "surname" columns. > > then, i want to prevent duplicates creations by retrieving a message to > the user if once tries to create an existing person. > > at the moment, i use my own validato

[symfony-users] Re: duplicate entry handling on insert with propel

2008-04-04 Thread Hadrien Boyé
ouch, that's kind of ugly... but i guess you're right On Fri, Apr 4, 2008 at 5:34 PM, Zoltán Németh <[EMAIL PROTECTED]> wrote: > > Hadrien Boyé írta: > > in my model, i have a table called "person" with unique constraint on > > "name" and "surname" columns. > > > > then, i want to prevent duplica

[symfony-users] more than one tinyMCE editor in admin_generator

2008-04-04 Thread Mohammad Ali Safari
Hi in my generator.yml I use richtext=true option for two fields: fields: field1: {params: rich=true tinymce_options=width:600,height:400} field2: {params: rich=true tinymce_options=width:600,height:400} But tinyMCE editor is shown only for field1. Is there an extra para

[symfony-users] Re: more than one tinyMCE editor in admin_generator

2008-04-04 Thread [EMAIL PROTECTED]
Hi Mohammad , You need to add params: id=your_field_name_here to make it work For example, here is the way I do it ; description_i18n_fr: {type: textarea_tag, params: id=description_i18n_fr disabled=false rich=true tinymce_options='' } description_i18n_en:

[symfony-users] Components

2008-04-04 Thread [EMAIL PROTECTED]
I have a situation that (I think) screams for components, but I don't get how to pull it off. The way I learn is to get something working and then refine. so, my very un-mvc partial is SUNMONTUE WEDTHURFRISAT ACTIVITY TOT

[symfony-users] Re: Problems to get Oracle working - databases.yml

2008-04-04 Thread Pedro Casado
Ive just tried your syntax and no success. The error is when i have $con = Propel::getConnection(propel); So, its on databases.yml certainly. I did the following steps to create the user: sqlplus sys/pass as sysdba SQL> create user pdr identifed by passw0rd; SQL> grant connect, resource to pdr; S

[symfony-users] Re: Problems to get Oracle working - databases.yml

2008-04-04 Thread Georg Sorst
Hey Pedro, I can't really help you with the issue itself, but can you check if a connection to the Oracle DB is actually made when you request your page by looking at the Oracle logs or something similar? Too bad the error message isn't printed out correctly by Symfony. Cheers, Georg Pedro Casa

[symfony-users] Re: more than one tinyMCE editor in admin_generator

2008-04-04 Thread Mohammad Ali Safari
Thanks you Guy it fixed my problem. cheers, --Mohammad On Fri, Apr 4, 2008 at 8:59 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hi Mohammad , > > You need to add > params: id=your_field_name_here > to make it work > > For example, here is the way I do it ; >descriptio

[symfony-users] Re: Problems to get Oracle working - databases.yml

2008-04-04 Thread Pedro Casado
Take a look at some debug: $conn = oci_connect('user', 'pass', '//localhost/XE'); $stid = oci_parse($conn, 'select * from cliente'); oci_execute($stid); And then i get: *Warning*: oci_connect() [function.oci-connect]: OCIEnvNlsCreat

[symfony-users] Re: Problems to get Oracle working - databases.yml

2008-04-04 Thread Pedro Casado
Ive just saw on phpinfo() Compile-time ORACLE_HOME => no value Now, i have to change it. How ? Pedro On Fri, Apr 4, 2008 at 6:07 PM, Pedro Casado <[EMAIL PROTECTED]> wrote: > Take a look at some debug: > > $conn = oci_connect('user', 'pass', '//localhost/XE'); > $stid = oci_parse($conn, 'sele

[symfony-users] Re: Problems to get Oracle working - databases.yml

2008-04-04 Thread Pedro Casado
SOLVED! I just put on my config/config.php while i dont find a way to set oracle_home on oci8 function PutEnv("ORACLE_HOME=/usr/lib/oracle/xe/app/oracle/product/10.2.0/server"); Thats working like a charm now.. Now ill do some research to discover how to change the default path of oci8.. Pedro