[symfony-users] readonly related value in form

2010-09-06 Thread Marco Rocci
Symfony 1.4 Doctrine admin backend application With this simplified schema: Product: columns: code: { type: string(10) } name: { type: string(100) } DeliveryRow: columns: product_id: { type: integer , notnull: true } qty:{ type: decimal(8,2) }

[symfony-users] Re: [symfony1.4] not sure how to make parent-child category structure in doctrine schema

2010-09-06 Thread ryr
probably it is the best option On 6 сен, 02:31, Arnold Ispan ispanarn...@gmail.com wrote: Hello, Why don't use nested sets to represent this structure? On Sun, Sep 5, 2010 at 9:39 PM, ryr ryr1...@gmail.com wrote: Hello, I want to make a two-tier structure of the categories in

AW: [symfony-users] [symfony1.4] not sure how to make parent-child category structure in doctrine schema

2010-09-06 Thread Christopher Schnell
That's right, Nested Set is the way to go. Both Propel and Doctrine support them. Regards, Christopher. Von: symfony-users@googlegroups.com [mailto:symfony-us...@googlegroups.com] Im Auftrag von Arnold Ispan Gesendet: Sonntag, 5. September 2010 21:31 An: symfony-users@googlegroups.com Betreff:

[symfony-users] symfony application doubt

2010-09-06 Thread Shihab KB
Hi Friends, I am creating a content management system using symfony 1.4. Also some rest apis to access the content management system data for some outside applications. By default symfony generates an application “frontend”. And I have created all my content management systems in it. Now I want

[symfony-users] Re: doubt about segment_separators in symfony 1.4

2010-09-06 Thread Shihab KB
Hi, Thanks for your reply. The error I received is The server returned a 404 response. Your suggestion is ok that I can use 1_2 in version. But I have some other parameters like keyword for searching. In this parameter there may be chance for '.' (dot). Can you suggest me a way to overcome

Re: [symfony-users] symfony application doubt

2010-09-06 Thread Arnold Ispan
Hello, In your settings.yml file set no_script_name: off this will remove the restful.php from your url On Mon, Sep 6, 2010 at 1:38 PM, Shihab KB shiha...@gmail.com wrote: Hi Friends, I am creating a content management system using symfony 1.4. Also some rest apis to access the content

[symfony-users] sfWidgetFormChoice with custom query slower than sfWidgetFormPropelChoice generated by default

2010-09-06 Thread Hugo Chinchilla
Hi, for my app's backend I have written a custom method to draw a select widget which was consuming a lot of memory to generate. The default form generated a select widget from the model populating full objects just to render an options list which only needs a PK and a string, so I wrote a

[symfony-users] Re: symfony application doubt

2010-09-06 Thread Shihab KB
Thanks for your reply. no_script_name is already off in the application restful But in the frontend applicaton restful is on. regards Shihab On Sep 6, 3:55 pm, Arnold Ispan ispanarn...@gmail.com wrote: Hello, In your settings.yml file set no_script_name:  off this will remove the

Re: [symfony-users] Abridged summary of symfony-users@googlegroups.com - 17 Messages in 10 Topics

2010-09-06 Thread joost . farla
Beste, Tot en met vrijdag 10 september ben ik niet aanwezig op kantoor. U kunt voor dringende zaken contact opnemen met mijn collega Dimitri van Hees: dimi...@freshheads.com of 013 5448761. Met vriendelijke groet, Joost Farla joost.fa...@freshheads.com - - freshheads grafisch ontwerp en

[symfony-users] automated response

2010-09-06 Thread Saad Tazi | Twist Image
Merci de votre message. Nos bureaux sont présentement fermés aujourd'hui, le 6 septembre 2010. En cas d’urgence, vous pouvez rejoindre notre équipe technique en envoyant un courriel à l’adresse suivante: supp...@twistimage.com. Cordialement, Saad Tazi - - - - - - - - - - - - - Thank you for

[symfony-users] [Symfony 1.4] Code example showing the use of sfValidatorFromDescription?

2010-09-06 Thread Gustavo Adrian
Hi everyone, Could you tell me where can I get a code example of the validator sfValidatorFromDescription on the Symfony Framework, or show me a little example of its use? I'm reading the API description of this class but I'd like to know how can I use it (and see if it's in fact what I'm looking

[symfony-users] Re: symfony application doubt

2010-09-06 Thread Richtermeister
Under normal conditions, only one application can have no script in the url, since all requests without a script would be directed to that app via .htaccess setting. One way around that is described here: http://symfony-check.org/permalink/delete-backend-php-from-your-uri Daniel On Sep 6, 4:33 

[symfony-users] Re: sfWidgetFormChoice with custom query slower than sfWidgetFormPropelChoice generated by default

2010-09-06 Thread Richtermeister
What happens if you run the query manually against the database? Could be that you're doing a non-optimized join or so... Daniel On Sep 6, 4:13 am, Hugo Chinchilla hugoase...@gmail.com wrote: Hi, for my app's backend I have written a custom method to draw a select widget which was consuming

Re: [symfony-users] readonly related value in form

2010-09-06 Thread Michael Hodges
I'm also new to SF and struggled with this. My solution was a combination of javascript and php code. Hopefully the example code fragments are helpful for you. Basically, my javascript updates the readonly field rather than the user. - Michael [_form.php] echo

[symfony-users] Re: Sf1.4 custom boolean field in generator results in 1 rather than checked-icon

2010-09-06 Thread Michael Hodges
[Resolved] Rereading the documentation more carefully, my [yml] was in error and needed the following correction: type: Boolean with a capital B. Thanks for the feedback. - Michael On Sun, Sep 5, 2010 at 6:54 PM, Michael Hodges mhodg...@gmail.com wrote: Hello all, I found an

Re: [symfony-users] readonly related value in form

2010-09-06 Thread Marco Rocci
Il 07/09/2010 1.31, Michael Hodges ha scritto: I'm also new to SF and struggled with this. My solution was a combination of javascript and php code. Hopefully the example code fragments are helpful for you. Basically, my javascript updates the readonly field rather than the user. - Michael

[symfony-users] Using mysql php functions in symfony

2010-09-06 Thread DEEPAK BHATIA
Hi, I tried accessing some other database than specified in databases.yml. But below is not working. Please help. $con=mysql_connect(localhost,root,); if(!$con) { echo Database Connection Not Estabilished\n; exit(0); } $temp = mysql_select_db(rtdb); if($temp