[symfony-users] Use Plagin from Different ORM

2009-07-13 Thread seifolah Ghaderi
Hi Anybody. I'm new in symfony and I have some question for starting my project. 1-I use Doctrine,and now I want to install some plugins that are on Propel.How Can I use them And What configuration need(I delete some file and change some configuration when I started by doctrine )? 2-A common questi

[symfony-users] Dynamic validation

2009-07-13 Thread nigelks
Hi, I have a form that captures guest information but the form is related to a event in which the administrator can change the required fields i.e. one event may want the preferred name while another may not. I have created a validation file with all the fields for this form and created my own c

[symfony-users] Flash variables lose in iframe in IE6

2009-07-13 Thread Daniel
Hi, I'm on a symfony project, some of our page need in iframed in other systems (with different domain), I found that the flash variables works will if we view the pages directly, but if we visit them in the iframe, the flash variable will lose (IE6). It works fine in firefox. event if I use th

[symfony-users] Duplicate DB entry...help me read this code

2009-07-13 Thread justin_davis
Hey ya'll - Here's a strange problem. Originally, I was getting an error in Record.php on line 1231 using Doctrine and saving an embedded form. I found a hack solution to this problem here: http://trac.symfony-project.org/ticket/6547 In my app, this is occuring when trying to create an sf_gua

[symfony-users] Re: compat_10 in settings.yml

2009-07-13 Thread Ahsanul
Ya.. that's right! try deleting files and folders in your cache directory. rm -Rf cache/* Hope that works for you! On Jul 14, 1:30 am, Gareth McCumskey wrote: > You can also try to manually delete all the files in the cache directory. > > On Mon, Jul 13, 2009 at 4:12 PM, DEEPAK BHATIA wrote:

[symfony-users] Re: Output Escaping

2009-07-13 Thread Tanner
I did. On Jul 12, 9:47 pm, Eno wrote: > On Sun, 12 Jul 2009, Tanner wrote: > > When I print an object out of the database in a form, the content is > > not escaped. I have properly set "escaping_strategy" and > > "escaping_method" in my app's settings.yml file, but it just doesn't > > work. I am

[symfony-users] Re: Problems installing Symfony 1.2.7 on Ubuntu 9.04

2009-07-13 Thread Eno
On Mon, 13 Jul 2009, Bruno Bernardino wrote: > Starting to download symfony-1.2.7.tgz (2,695,475 bytes) > .done: > 2,695,475 bytes > Could not rename /usr/bin/.tmpsymfon

[symfony-users] Re: bind a form manually with embedded forms

2009-07-13 Thread Matthew Penrice
i would actually like to have the validation as well. I have found a way - call the getEmbeddedForms to get embedded forms then call bind on each. Just thought the way bind() worked was to take an input and populate all its fields (embedded forms also contributing their fields). I'm sure this is do

[symfony-users] Re: symfony Day Cologne

2009-07-13 Thread Jonathan Wage
See you there! Can't wait. - Jon On Mon, Jul 13, 2009 at 1:28 PM, Dennis Benkert wrote: > > Hey everybody! > > symfony Day Cologne will be the first symfony conference in Germany. > One day, international speakers, a workshop, and a party. There will > be talks given by various members of the s

[symfony-users] Re: problem with the task symfony-propel-build-schema

2009-07-13 Thread josesilva
thank you all for your help I could solve the problem I was missing a library php-pgsql. was right to the extent that I lack. install the extension and change the php.ini and perfect thanks On 13 jul, 15:48, josesilva wrote: > yes i enable the pgsql and nothing the same error > > On 13 jul, 12

[symfony-users] Re: propel-build-model how to see the begining of model building in putty

2009-07-13 Thread Gábor Fási
Probably an error. Did you try the crollbars? :) Also, if you append "| less" to the end, so you run it like "php symfony propel:build-model | less" you'll have the output in a scrollable fashion. On Mon, Jul 13, 2009 at 22:49, belbek wrote: > > I got something written in red there > > > --~--~-

[symfony-users] propel-build-model how to see the begining of model building in putty

2009-07-13 Thread belbek
I got something written in red there --~--~-~--~~~---~--~~ 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, send emai

[symfony-users] Re: sfGuard

2009-07-13 Thread Richtermeister
Hey Germana, you can create your own form, extending the sfGuardUserFilterForm and make your modifications from inside that form. Look at the formatter classes to see what format settings you can customize.. for example: $this -> widgetSchema -> getFormFormatter() -> setErrorListFormatInARow ("

[symfony-users] Re: problem with the task symfony-propel-build-schema

2009-07-13 Thread josesilva
yes i enable the pgsql and nothing the same error On 13 jul, 12:28, Reynier Pérez Mira wrote: > josesilva wrote: > > I have not enabled. I use pgsql > > Then you have to enable pdo_pgsql try this and tell us > Cheers > -- > Ing. Reynier Pérez Mira --~--~-~--~~~---~--~

[symfony-users] Re: sfEasyGMapPlugin not working

2009-07-13 Thread Zach
Hi Sebastian, Thanks for the reply. Yes, I have setup the right API keys, but I'm not sure if I put them in the right place... I put them in the app.yml file for the plugin and also in the app.yml file for the frontend app. Does it matter which one it is in? Also, I moved the css, images, and js

[symfony-users] Re: Bind() in embedded forms

2009-07-13 Thread Tom Haskins-Vaughan
Ah haa. Thanks! Raphaël B. wrote: > you can do this in the main form to call the embedForm bind() method: > > foreach($this->embeddedForms as $name => $form) >$form->bind($taintedValues[$name]); > > > On 2 juil, 15:38, Tom Haskins-Vaughan > wrote: >> Hi. >> >> I have a question about embe

[symfony-users] Re: compat_10 in settings.yml

2009-07-13 Thread Gareth McCumskey
You can also try to manually delete all the files in the cache directory. On Mon, Jul 13, 2009 at 4:12 PM, DEEPAK BHATIA wrote: > > Hi, > > Thanks for your reply. > > I am changing the value in settings.yml file and doing php symfony cc. > But still sf_compat_10 is coming as false in config_setti

[symfony-users] Re: bind a form manually with embedded forms

2009-07-13 Thread Gandalf
Call the embed method of each form, and I usually use the setdefaults method instead of the bind to prepopulate the forms, because the bind validates the form. P On 7/13/09, Matthew Penrice wrote: > Hello, > > I'm using a form which is made of 2 forms via embedForm(). I'm attempting to > prepop

[symfony-users] sfGuard

2009-07-13 Thread Germana Oliveira
I think i did not explain it wright: the thing is that im generating my backend app, and my admin module of the sfGuard, and everything is cool, but i want to modify the HTML of the sf_guard_user, exactly the filter form. i know that i can do a lot of modifications with the generate.yml, but

[symfony-users] symfony 1.2.8 has been released

2009-07-13 Thread Fabian Lange
Dear users, I just released symfony 1.2.8. Please head over to my blog post for more details: http://www.symfony-project.org/blog/2009/07/13/symfony-1-2-8-rolling-back-our-security-fix Fabian --~--~-~--~~~---~--~~ You received this message because you are subscrib

[symfony-users] symfony Day Cologne

2009-07-13 Thread Dennis Benkert
Hey everybody! symfony Day Cologne will be the first symfony conference in Germany. One day, international speakers, a workshop, and a party. There will be talks given by various members of the symfony community, plus a workshop for beginners. The conference, both talks and the workshop, will be

[symfony-users] Re: sfGuard

2009-07-13 Thread Tom Haskins-Vaughan
Create the directory: :apps/myApp/modules/sfGuardAuth/templates Copy the signinSuccess.php template from the plugin into this directory and modify it. You don't need to create the actions directory. Hope that helps. Germana Oliveira wrote: > Hi!! > > just one little thing.. > > How can i mo

[symfony-users] Re: symfony 1.2, doctrine and new plugins

2009-07-13 Thread Eno
On Mon, 13 Jul 2009, Rene Jochum wrote: > I have a existing and running project ( "oma" ), now i want to extend it > by a plugin which needs some new SQL Tables. > > Is there a automated way to extend my current database with the tables > from my plugin? Not unless it supplies a script or migra

[symfony-users] Re: php error : undefined function ctype_digit() while setting up symfony

2009-07-13 Thread Eno
On Mon, 13 Jul 2009, themba - newbie wrote: > What could be wrong... Am I missing a php package? if yes which > package? I am running php 5.2.4 on openSuse 10.3 ctype_digit() is a function from the ctype extension. http://us.php.net/manual/en/function.ctype-digit.php Shouldn't be hard to check

[symfony-users] php error : undefined function ctype_digit() while setting up symfony

2009-07-13 Thread Germana Oliveira
Do you know if your PHP configuration is with --enable-ctype, or if you compile it with --enable-ctype ?? __ Hi Guys, I am new to symfony, just trying to set it up for the first time, I am going throught the instructions and when I run: php lib/vendor/s

[symfony-users] php error : undefined function ctype_digit() while setting up symfony

2009-07-13 Thread themba - newbie
Hi Guys, I am new to symfony, just trying to set it up for the first time, I am going throught the instructions and when I run: php lib/vendor/symfony/data/bin/symfony -V I get this error: PHP Fatal error: Call to undefined function ctype_digit() in /srv/www/ htdocs/symphony/lib/vendor/symfon

[symfony-users] sfGuard

2009-07-13 Thread Germana Oliveira
Hi!! just one little thing.. How can i modify the HTML in the admin module generate by sfGuard?? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-

[symfony-users] Re: problem with the task symfony-propel-build-schema

2009-07-13 Thread Reynier Pérez Mira
josesilva wrote: > I have not enabled. I use pgsql > Then you have to enable pdo_pgsql try this and tell us Cheers -- Ing. Reynier Pérez Mira --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony users" group. T

[symfony-users] Re: problem with the task symfony-propel-build-schema

2009-07-13 Thread josesilva
I have not enabled. I use pgsql On 13 jul, 11:25, Gábor Fási wrote: > Do you have pdo and pdo_mysql enabled in the php.ini your cli uses? > > On Mon, Jul 13, 2009 at 17:05, josesilva wrote: > > > hi. I check the php and yes is PHP 5.2.6 and also supports xml and > > xsl > > > my schema is the fo

[symfony-users] Re: [Off topic] PHP 4

2009-07-13 Thread Eno
On Mon, 13 Jul 2009, Sid Ferreira wrote: > Im wondering: What makes huge servers still use PHP4? A lot of software still runs in PHP4 and so still require PHP4 hosting. Companies tend to be very conservative with upgrades - if it isn't broken etc etc. -- --~--~-~--~~

[symfony-users] Re: Filter values in a select box dynamically within form framework

2009-07-13 Thread cleve
Thanks Thomas, there's some good stuff there. On Jul 13, 2:41 pm, Thomas Rabaix wrote: > You might want to have a look to this > :http://rabaix.net/en/articles/2009/02/23/let-s-be-more-dynamic-with-s... > > I need to blog more about this > > > > On Mon, Jul 13, 2009 at 2:55 PM, cleve wrot

[symfony-users] symfony 1.2, doctrine and new plugins

2009-07-13 Thread Rene Jochum
Hi, I have a existing and running project ( "oma" ), now i want to extend it by a plugin which needs some new SQL Tables. Is there a automated way to extend my current database with the tables from my plugin? Thanks, Rene Jochum --~--~-~--~~~---~--~~ You receiv

[symfony-users] bind a form manually with embedded forms

2009-07-13 Thread Matthew Penrice
Hello, I'm using a form which is made of 2 forms via embedForm(). I'm attempting to prepopulate the form by calling bind with an array of values before it is rendered. This works well but the embedded() form does not pick up the values. This is probably just the format of the array i am using. Th

[symfony-users] sfWebRequest downcases every parameter

2009-07-13 Thread Sebastian Schulze
Hi folks. I got a strange problem that has to be somewhere between php and symfony. Right from one day to the other I must have broken something in the routing. The default route is no longer working, cause symfony downcases all parameters. An example: retrieve_password: url: /:sf_culture/re

[symfony-users] Joomla and Symfony compatibility?

2009-07-13 Thread televas
Hi! I'm an absolute beginner to symfony framework. I have business reasons (currently not solvable) for developing a project in joomla and a php framework. I chose Symfony. I tested the plugin sfJoomla15BridgePlugin, but it transforms a simple request to joomla in a NEW request sent to symfony (w

[symfony-users] Re: sfEasyGMapPlugin not working

2009-07-13 Thread Sebastian Müller
Hi Zach, I use it and it works very fine. Have you setup the right API keys? So if you use http://example.localhost/ you have to create a API key for this url. BR from Hamburg Sebastian Zach schrieb: > Has anyone used this plugin before? Maybe I just set it up wrong... > and it's a very simpl

[symfony-users] Re: Problems installing Symfony 1.2.7 on Ubuntu 9.04

2009-07-13 Thread Bruno Bernardino
Hi, I’m having the stupidest issue… Installing symfony, I’m getting this: Starting to download symfony-1.2.7.tgz (2,695,475 bytes) .done: 2,695,475 bytes Could not rena

[symfony-users] Re: problem with the task symfony-propel-build-schema

2009-07-13 Thread Gábor Fási
Do you have pdo and pdo_mysql enabled in the php.ini your cli uses? On Mon, Jul 13, 2009 at 17:05, josesilva wrote: > > hi. I check the php and yes is PHP 5.2.6 and also supports xml and > xsl > > my schema is the following > > 2 tables > > propel: >  _attributes: >    package: lib.model >  ciuda

[symfony-users] Re: problem with the task symfony-propel-build-schema

2009-07-13 Thread josesilva
hi. I check the php and yes is PHP 5.2.6 and also supports xml and xsl my schema is the following 2 tables propel: _attributes: package: lib.model ciudad: _attributes: idMethod: native id: type: INTEGER required: true autoIncrement: true primaryKey:

[symfony-users] Re: [Off topic] PHP 4

2009-07-13 Thread Alexandru-Emil Lupu
maybe no one who upgrade them. On Mon, Jul 13, 2009 at 4:57 PM, Szabolcs Heilig wrote: > > > 2009/7/13 Sid Ferreira > >> Im wondering: What makes huge servers still use PHP4? >> > > Maybe big clients? > > > > -- As programmers create bigger & better idiot proof programs, so the universe create

Re: Problems with svn doctrine [WAS: Re: [symfony-users] Re: Anyone having trouble with svn and Phing?]

2009-07-13 Thread Alexandru-Emil Lupu
the website is ok.. i do not know the svn status ... alecs On Mon, Jul 13, 2009 at 4:58 PM, Tom Haskins-Vaughan < t...@templestreetmedia.com> wrote: > > No I can't import doctrine. Anyone know if doctrine is going to be down > for a while? > > Phil wrote: > > Yes - it's been like all day for me a

[symfony-users] Re: compat_10 in settings.yml

2009-07-13 Thread DEEPAK BHATIA
Hi, Thanks for your reply. I am changing the value in settings.yml file and doing php symfony cc. But still sf_compat_10 is coming as false in config_settings.yml.php in cache. Regards Deepak Bhatia On Mon, Jul 13, 2009 at 2:22 PM, Gareth McCumskey wrote: > Everytime you edit config files you

[symfony-users] sfMenuGenerator

2009-07-13 Thread Germana Oliveira
ok... in my app.yml i have this: all: mail: webmaster: 'webmas...@indepabis.gob.ve' sf_guard_plugin: success_signin_url: /intranet.php success_signout_url: @homepage sf_menu_generator: opciones: text: 'Opciones' items: [inicio, calendario, denunc

Problems with svn doctrine [WAS: Re: [symfony-users] Re: Anyone having trouble with svn and Phing?]

2009-07-13 Thread Tom Haskins-Vaughan
No I can't import doctrine. Anyone know if doctrine is going to be down for a while? Phil wrote: > Yes - it's been like all day for me and my team today too. > > Regards, > Philip > > On Jul 10, 11:05 am, Tom Haskins-Vaughan > wrote: >> Pinging svn.phing.info hangs too. >> >> >> >> Tom Haskin

[symfony-users] Re: [Off topic] PHP 4

2009-07-13 Thread Szabolcs Heilig
2009/7/13 Sid Ferreira > Im wondering: What makes huge servers still use PHP4? > Maybe big clients? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfon

[symfony-users] Re: Filter values in a select box dynamically within form framework

2009-07-13 Thread Thomas Rabaix
You might want to have a look to this : http://rabaix.net/en/articles/2009/02/23/let-s-be-more-dynamic-with-sf-form I need to blog more about this On Mon, Jul 13, 2009 at 2:55 PM, cleve wrote: > > Ok this is how I did it, but everything is outside a form / table > class: > > Partial to ove

[symfony-users] [Off topic] PHP 4

2009-07-13 Thread Sid Ferreira
Im wondering: What makes huge servers still use PHP4? --- Sidney G B Ferreira Desenvolvedor Web --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-user

[symfony-users] Re: Server Configuration

2009-07-13 Thread Eno
On Mon, 13 Jul 2009, Sid Ferreira wrote: > Guys, just got a task that is a project in a not updated server. > Actually, I've just checked the > phpinfo and > it seems to be 5.1 in fastcgi... In wondering if symfony will run in this > environment, and if do, wh

[symfony-users] Re: Server Configuration

2009-07-13 Thread Sid Ferreira
But it is really deprecated, then it kinda worries me :-/ I'll have to think about it, but Im trying to use sf 1.2.8 (as soon as it gets available) --- Sidney G B Ferreira Desenvolvedor Web On Mon, Jul 13, 2009 at 10:02, Gareth McCumskey wrote: > compat_10 allows you to use the older form help

[symfony-users] Re: Server Configuration

2009-07-13 Thread Gareth McCumskey
compat_10 allows you to use the older form helpers that was started in symfony 1.0 and phased out starting in symfony 1.0 (hence the name compat_10). Symfony 1.1 allows the use of the symfony forms class or the helpers. On Mon, Jul 13, 2009 at 3:00 PM, Sid Ferreira wrote: > What exactly the com

[symfony-users] Re: Server Configuration

2009-07-13 Thread Sid Ferreira
What exactly the compat_10 do? --- Sidney G B Ferreira Desenvolvedor Web On Mon, Jul 13, 2009 at 09:59, Gareth McCumskey wrote: > You can use Symfony 1.1. It allows the use of Symfony Forms or the older > compat_10 version as well. Try that rather > > On Mon, Jul 13, 2009 at 2:15 PM, Sid Ferre

[symfony-users] Re: Server Configuration

2009-07-13 Thread Gareth McCumskey
You can use Symfony 1.1. It allows the use of Symfony Forms or the older compat_10 version as well. Try that rather On Mon, Jul 13, 2009 at 2:15 PM, Sid Ferreira wrote: > Damn :D > When you get used to Symfony Forms is hard to get back :p > > --- > Sidney G B Ferreira > Desenvolvedor Web > > > >

[symfony-users] Re: Filter values in a select box dynamically within form framework

2009-07-13 Thread cleve
Ok this is how I did it, but everything is outside a form / table class: Partial to override default admin generator field venue_id _venue_id.php renderError() ?> renderLabel('Venue') ?> 'District', 'add_empty' => '--Filter by District--')); echo $w

[symfony-users] Datagrid for Doctrine

2009-07-13 Thread Reynier Pérez Mira
Hi: I'm need a Datagrid functionality in my application but for Doctrine not for Propel. I saw a sfDatagrid but it only works with Propel. Any help on this? Cheers and thanks in advance -- Ing. Reynier Pérez Mira --~--~-~--~~~---~--~~ You received this message

[symfony-users] Re: sfEasyGMapPlugin not working

2009-07-13 Thread Zach
Has anyone used this plugin before? Maybe I just set it up wrong... and it's a very simple problem. I would really appreciate any help I can get on this issue. Thanks, Zach On Jul 8, 1:07 pm, Zach wrote: > Does anyone have any experience with the sfEasyGMapPlugin? I am having > trouble getting

[symfony-users] Re: Server Configuration

2009-07-13 Thread Sid Ferreira
Damn :D When you get used to Symfony Forms is hard to get back :p --- Sidney G B Ferreira Desenvolvedor Web On Mon, Jul 13, 2009 at 09:09, Tuan Vu Minh wrote: > Dear Sid Ferreira, > Symfony version 1.0 will work with your server(PHP 5.1). Check > this

[symfony-users] Re: Server Configuration

2009-07-13 Thread Tuan Vu Minh
Dear Sid Ferreira, Symfony version 1.0 will work with your server(PHP 5.1). Check thisfor more information On Mon, Jul 13, 2009 at 6:50 PM, Sid Ferreira wrote: > Hi folks! > Guys, just got a task that is a project in a not updated server. > Actually, I

[symfony-users] Server Configuration

2009-07-13 Thread Sid Ferreira
Hi folks! Guys, just got a task that is a project in a not updated server. Actually, I've just checked the phpinfo and it seems to be 5.1 in fastcgi... In wondering if symfony will run in this environment, and if do, what version/fixes would be needed. Thanks i

[symfony-users] Filter values in a select box dynamically within form framework

2009-07-13 Thread cleve
Has anyone created filter select boxes using the new form framework? What I mean by that is: 2 selects the first one (not linked to object) filtering the second one (an object field) For example: If you have 3 tables - courses, venues and districts When you create a course and select the venue

[symfony-users] Re: Problem with links in Prod enviroment

2009-07-13 Thread Tuan Vu Minh
One more thing. I can make it work in a apache server. The problem is that I have to deploy the website with an IIS one (windows server 2003). How should I deal with this issue? :-s I heard about ISAPI_Rewrite 3. I am wondering whether it work with iis 6. On Mon, Jul 13, 2009 at 5:21 PM, Tuan Vu M

[symfony-users] Re: Problem with links in Prod enviroment

2009-07-13 Thread Tuan Vu Minh
Thanks for you advance. It really helps. I turned on "no_script_name" and enabled module "rewrite" of Apache. It worked like a charm. [?][?] On Mon, Jul 13, 2009 at 10:49 AM, Eno wrote: > > On Mon, 13 Jul 2009, Tuan Vu Minh wrote: > > > I have just found the solution for this issue. Just turn of

[symfony-users] Re: Step by Step Guide for learning symfony

2009-07-13 Thread Gareth McCumskey
I would also really recommend as a developer that you try and learn to be more independant in your quest for knowledge. The guys on the mailing list are here to help but you need to first exhaust the availabel documentation before posting requests. As was mentioned, there is a very large "Documenta

[symfony-users] Re: compat_10 in settings.yml

2009-07-13 Thread Gareth McCumskey
Everytime you edit config files you need to clear cache, i.e. run symfony cc on the command line On Sun, Jul 12, 2009 at 4:32 PM, DEEPAK BHATIA wrote: > > Hi, > > I am using Symfony 1.1. > > When I created a project and executed that application, it never asked > to set compat_10 to true. > > But

[symfony-users] How to deal with uploaded file in embedded form properly?

2009-07-13 Thread happy oliver
I spent a lot of time to figure out how to deal with embedded form with uploaded file. I don't use the $this->form->save(). How to deal with uploaded file? I can see the temp file at temp folder quickly disappeared automatically. Welcome to any answers ! public function executeEdit(sfWebReq

[symfony-users] Re: Howto insert a ampersand into my database using a textarea from my backend app ?

2009-07-13 Thread sd45sq5d5sqd
I tried doing it with a partial, it does not work either... On Jul 11, 6:04 pm, sd45sq5d5sqd wrote: > I just tried something like : > >     edit: >       title:          Post detail >       fields: >         description:  { type: input_tag, params: size=150 } >         title:        { type: inpu

[symfony-users] Re: Problem with links in Prod enviroment

2009-07-13 Thread Gareth McCumskey
What we found was that in Apache when you setup your virtual host settings it helps to have the AllowOverwrite directives set as well that allow the .htaccess file to actually run On Mon, Jul 13, 2009 at 3:28 AM, Tuan Vu Minh wrote: > I am following the instruction of My first > project

[symfony-users] Symfony Day Colonge 2009 - from munich

2009-07-13 Thread gimler
Anybody that travel from munich to the Symfony Day Colonge 2009? --~--~-~--~~~---~--~~ 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 unsubscrib