[symfony-users] Re: http://www.symfony-project.org/plugins/ Unavailable

2009-04-22 Thread Lawrence Krubner
On Apr 22, 12:13 am, Sherif wrote: > I'm unable to login tohttp://www.symfony-project.org/plugins/(its > been like that for a few hours now). When you try to login, you get a > "500 Server error". Just posting it here if anyone knows someone who > can fix this, that would be great Yeah, we

[symfony-users] Re: http://www.symfony-project.org/plugins/ Unavailable

2009-04-22 Thread Adrien Mogenet
I don't know why but I find problems appear too often on this Website... Is it due to servers ? application ? On 22 avr, 09:06, Lawrence Krubner wrote: > On Apr 22, 12:13 am, Sherif wrote: > > > I'm unable to login tohttp://www.symfony-project.org/plugins/(its > > been like that for a few hours

[symfony-users] Re: Output Escaping, how the hack can I get RAW Config data?

2009-04-22 Thread Sam
Him thank you for your reply, but this is getting tricky. The partial is used in many places by nearly every module and creating a component out of it because of one single call seems so inefficient. Greetings Sam On 21 Apr., 20:14, Alistair Stead wrote: > I would suggest you assign the value r

[symfony-users] Re: is anyone currently able to reach the Plugins page on Symfony-Project.org?

2009-04-22 Thread Fabien Potencier
This is hopefully fixed now. -- Fabien Potencier Sensio CEO - symfony lead developer sensiolabs.com | symfony-project.org | fabien.potencier.org Tél: +33 1 40 99 80 80 Lawrence Krubner wrote: > > > On Apr 21, 10:18 pm, Eno wrote: >> On Tue, 21 Apr 2009, Lawrence Krubner wrote: >>> I finally

[symfony-users] Re: http://www.symfony-project.org/plugins/ Unavailable

2009-04-22 Thread Fabien Potencier
This is hopefully fixed now. -- Fabien Potencier Sensio CEO - symfony lead developer sensiolabs.com | symfony-project.org | fabien.potencier.org Tél: +33 1 40 99 80 80 Sherif wrote: > I'm unable to login to http://www.symfony-project.org/plugins/ (its > been like that for a few hours now). When

[symfony-users] Re: Output Escaping, how the hack can I get RAW Config data?

2009-04-22 Thread Sam
Ah, this is a problem in itself. My client want to have mailto links with subject in the url to appear in users' mail programm like: mailto:foobar.com?subject=This is a test This works but the mail_to helper it self does a bad job by escaping the parameter with urlencode, so non ansii get escaped

[symfony-users] Re: How do I set a field value on a form?

2009-04-22 Thread Mark Smith
So you are saying the only way to change a form field once the object exists, is to completely rebuild the form? OK, I'll have to restructure my code a bit, but it seems to work. Thanks. On Apr 21, 11:56 am, Bernhard Schussek wrote: > Hi Mark, > > What exactly is it what you want to do? If you

[symfony-users] Re: user->getFlash() when the flash contain html tag

2009-04-22 Thread Ahmed
Also the generated html of the message seems to be correct (but the browser display him as a string) Best glance;) On 21 avr, 19:25, Dheeraj Kumar Aggarwal wrote: > Hi Ahmed, > > At my side this is working > > i have used in actions class > $msg = "display msg"; > and then set the flash message

[symfony-users] Re: http://www.symfony-project.org/plugins/ Unavailable

2009-04-22 Thread Sherif
Still appearing.. On Apr 22, 5:45 pm, Fabien Potencier wrote: > This is hopefully fixed now. > > -- > Fabien Potencier > Sensio CEO - symfony lead developer > sensiolabs.com | symfony-project.org | fabien.potencier.org > Tél: +33 1 40 99 80 80 > > Sherif wrote: > > I'm unable to login tohttp://w

[symfony-users] Re: http://www.symfony-project.org/plugins/ Unavailable

2009-04-22 Thread Fabien Potencier
Should be better now. -- Fabien Potencier Sensio CEO - symfony lead developer sensiolabs.com | symfony-project.org | fabien.potencier.org Tél: +33 1 40 99 80 80 Sherif wrote: > Still appearing.. > > On Apr 22, 5:45 pm, Fabien Potencier project.com> wrote: >> This is hopefully fixed now. >> >>

[symfony-users] Re: http://www.symfony-project.org/plugins/ Unavailable

2009-04-22 Thread Sherif
Works great - thanks! On Apr 22, 7:28 pm, Fabien Potencier wrote: > Should be better now. > > -- > Fabien Potencier > Sensio CEO - symfony lead developer > sensiolabs.com | symfony-project.org | fabien.potencier.org > Tél: +33 1 40 99 80 80 > > Sherif wrote: > > Still appearing.. > > > On Apr 22

[symfony-users] Re: How do I set a field value on a form?

2009-04-22 Thread Bernhard Schussek
Hi Mark, On Wed, Apr 22, 2009 at 10:23 AM, Mark Smith wrote: > So you are saying the only way to change a form field once the object > exists, is to completely rebuild the form? No. The question is _when_ you want to change the form. You can change the default values any time in the object life

[symfony-users] Re: How do I set a field value on a form?

2009-04-22 Thread Mark Smith
I have a form with a list of services on it. When the user submits the form, I want it to remember what item on the list was selected. Even if it's several page requests later. I'm storing the index in session and trying to apply it to the form field. Sending it in the constructor is probably tid

[symfony-users] Re: How do I set a field value on a form?

2009-04-22 Thread Adrien Mogenet
Be careful Mark, I think that by this way you'll get the same issue that I got... => http://groups.google.fr/group/symfony-users/browse_thread/thread/8473bed60eda6dbe setDefault() didn't work for me within the form to "force" a value got from session ; but it worked when I call this method from

[symfony-users] Re: url_for in controller

2009-04-22 Thread Bernhard Schussek
You can use $this->generateUrl() in your action. Bernhard --~--~-~--~~~---~--~~ 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 fr

[symfony-users] Re: url_for in controller

2009-04-22 Thread Dheeraj Kumar Aggarwal
yes, you can use url_for helper in actions class by loading them in actions class by sfLoader::loadHelpers('Url'); On Wed, Apr 22, 2009 at 5:28 PM, HAUSa < jeroen_heeft_behoefte_aan_r...@hotmail.com> wrote: > > Is there a way to use the url_for() (available in the template files) > in my actions.

[symfony-users] Re: url_for in controller

2009-04-22 Thread Tonio
Hello, $this->getContext()->getConfiguration()->loadHelpers('Url'); makes helper accessible. Tonio On Apr 22, 1:58 pm, HAUSa wrote: > Is there a way to use the url_for() (available in the template files) > in my actions.class.php? --~--~-~--~~~---~--~~ You rece

[symfony-users] url_for in controller

2009-04-22 Thread HAUSa
Is there a way to use the url_for() (available in the template files) in my actions.class.php? --~--~-~--~~~---~--~~ 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@

[symfony-users] Re: user->getFlash() when the flash contain html tag

2009-04-22 Thread FÁSI Gábor
The problem is caused by the automatic escaping of any data passed from the controller to the view (including the flash), that you have enabled while generating the application. One way to work around it is to disable escaping entirely, but then you'll have to do this manually, or to get the data

[symfony-users] saving embedded forms in 1.2

2009-04-22 Thread Alexander Deruwe
Hey everyone, I have a problem saving the main form in the case where the embedded form fails for whatever reason (in my test case a double UNIQUE value). It will trigger an exception that the foreign key field cannot be NULL in the main record: SQLSTATE[23000]: Integrity constraint violat

[symfony-users] Re: saving embedded forms in 1.2

2009-04-22 Thread Jonathan Wage
Make sure that the embedded form does not have a widget/validator specified for the foreign key, otherwise u'll get a blank value set to the object. These foreign keys are not set by the form, they are set automatically by your orm. Since you have the widget, you override this automatically value w

[symfony-users] want to develop drag and drop box like igoogle.com in symfony?

2009-04-22 Thread dharma
Hi all, I'm new in symfony. My requirement is to develop drag and drop box on user dashboard ( myaccount) so user can set their message box, friends box, feeds box etc , Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Goog

[symfony-users] Re: How add a method_for_criteria in a sfPropelRouteCollection

2009-04-22 Thread Gregory McLean
On Apr 10, 4:08 pm, Arsouille wrote: > Hi, > > This is an extract of my routing.yml file : > > evolution: >   class: sfPropelRouteCollection >   options: >     model: oxEvolution >     method_for_criteria: doSelectJoinoxProject > I stumbled across this as well... After poking around a bit in t

[symfony-users] Re: saving embedded forms in 1.2

2009-04-22 Thread Alexander Deruwe
Hey Jon, I actually do this already. I'm thinking this is a case of user error? Do I need to specify the unique validator (forgot what it is called exactly) in the embedded form's class myself? Or does the form know it has to use the unique validator because I specified it in the doctri

[symfony-users] Admin linking.

2009-04-22 Thread Valkerian
Morning all. I'm going to throw out a really simple question here about the backend admin. If I want to prefill a field when creating a new item, how do I do that via a link? Say I have a contact form and I want to link to it such that the first name will be filled with "Joe". http://localhost/bac

[symfony-users] Re: want to develop drag and drop box like igoogle.com in symfony?

2009-04-22 Thread Alexandru-Emil Lupu
hi! check this link http://www.symfony-project.org/tutorial/1_2/symfony-ajax a live demo here http://www.symfony-project.org/demo/cart On Wed, Apr 22, 2009 at 9:36 AM, dharma wrote: > > Hi all, > > I'm new in symfony. My requirement is to develop drag and drop box on > user dashboard ( myac

[symfony-users] Re: saving embedded forms in 1.2

2009-04-22 Thread Alexander Deruwe
Eh never mind this one, $this->getObject() does exactly what it says it does. Alexander On 22 Apr 2009, at 16:02, Alexander Deruwe wrote: > As an aside I have another question... I need to update other form > fields in one of my updateXXXColumn() methods, but using > $this['field'] = som

[symfony-users] Problems with doctrine:data-load

2009-04-22 Thread Gary Rojas
I'm having a problem with my fixture data. This is a part of data/ fixtures/status.yml pltStatus: pltStatus_ina: id: ina name: Inactivo description: El registro ha sido desactivado por alguien que tiene las credenciales para hacerlo pltStatus_pen: id: pen name: Pendiente:

[symfony-users] Re: How do I set a field value on a form?

2009-04-22 Thread Lawrence Krubner
On Apr 22, 7:36 am, Adrien Mogenet wrote: > Be careful Mark, I think that by this way you'll get the same issue > that I got... > > =>http://groups.google.fr/group/symfony-users/browse_thread/thread/8473... > > setDefault() didn't work for me within the form to "force" a value got > from sessio

[symfony-users] Add Filter to Frontend App in 1.2/Doctrine

2009-04-22 Thread Todd McNeill
This may have been asked before, but I can't find anything on it, and I'm pretty new to Symfony. I working on a frontend app similar to to the Jobeet demo app, and I want to add a filter to the list view, similar to the filter functionality with a generated backend admin module. Is there an easy

[symfony-users] Re: Admin linking.

2009-04-22 Thread Lawrence Krubner
On Apr 22, 10:07 am, Valkerian wrote: > Morning all. I'm going to throw out a really simple question here > about the backend admin. > If I want to prefill a field when creating a new item, how do I do > that via a link? > Say I have a contact form and I want to link to it such that the first >

[symfony-users] Re: Problems with doctrine:data-load

2009-04-22 Thread Andrei Dziahel
hi. You can also try to enclose descriptions in apostrophes or quotes. 2009/4/22 Gary Rojas > > I'm having a problem with my fixture data. This is a part of > data/fixtures/status.yml > > pltStatus: > pltStatus_ina: >id: ina >name: Inactivo >description: El registro ha sido desacti

[symfony-users] Re: Help, how to install symfony running with windows XP

2009-04-22 Thread Orkan
@Alexandru-Emil Lupu: but how you gonna use this for multiple symfony projects? Isnt it better to right click on any symfony project folder to invoke cmd prompt? [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\shell\DosHere] @="DOS &Prompt Here" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\she

[symfony-users] Re: Help, how to install symfony running with windows XP

2009-04-22 Thread Alexandru-Emil Lupu
yeah ... from what i do see in your registry files ... it seems that "DOS &Prompt Here " would just launch a command window in that directory. Also .. is not quite the "default" in standard Windows XP (SP2). i still think that my way is quite good ... maybe your is better.. "but how you gonna us

[symfony-users] sfValidatorEmail fails

2009-04-22 Thread Eric
Hi, I just setup my table with --- schema.yml email:{ type: string(255), email: true } --- I generated the module and the validator has been created automatically --- Base...Form.php $this->setValidators(array( 'email' => new sfValidatorEmail(array('max_length' => 255, 'required' =>

[symfony-users] Re: sfValidatorEmail fails

2009-04-22 Thread Adrien Mogenet
Are you really sure it's due to a wrong domain name ? I don't know why it would be Doctrine that will throw Exception... Which email address did you enter ? -- Adrien Mogenet http://www.tekover.net On 22 avr, 20:32, Eric wrote: > Hi, > > I just setup my table with > > --- schema.yml > email:  

[symfony-users] Re: How do I set a field value on a form?

2009-04-22 Thread Adrien Mogenet
Good question, I was sure someone would ask me that :-] As I said in my example, I have a form that is instantiated in several pages. This forms has a field 'updated_by' that contains the ID of current user (according to session data) So, it's better - I think - to write only one time "setDefault

[symfony-users] Re: Many sites using the same application

2009-04-22 Thread Rafael Vieira
Nei and all, About this kind of architecture, what do you guys think its the best option: a) Create a centralized application, shared by many websites or b) Create many applications, one for each website (and all the sites are the same, with some css customization and different content)? What y

[symfony-users] Re: Problems with doctrine:data-load

2009-04-22 Thread Gary Rojas
I tried all you said me and follow with the same problem. I'm using Symfony 1.2.5 on Windows I read the chapter about symfony configuration on http://www.symfony-project.org/book/1_2/05-Configuring-Symfony This is my complete status.yml file: # pltStatus:

[symfony-users] Re: sfValidatorEmail fails

2009-04-22 Thread Eric
Alright, some more tests: They throw Exceptions: no...@localhost5.com no...@yoxutube.com no...@googlemally.com k...@stackoverflooow.com symf...@symfonyproject.com <-- redirects to symfony-project.com when typed into the browser but still throws exception They work; notme(at)localhost.com no...@y

[symfony-users] 1.2.x Debug bar no longer showing query times

2009-04-22 Thread Josh Steiner
Hi, Does anyone know why the debug bar on my Sf 1.2.5 installation no longer shows execution times on the "SQL queries" dropdown? Thanks, -Josh --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony users" group

[symfony-users] sf 1.2 admin generator and how to show the primary key field

2009-04-22 Thread Matthias N.
Hi, how do I have to setup the admin generator so I can enter the primary key (a string in my case) instead of using auto increment? Is there a switch somewhere to turn on the primary key field? regards, Matthias --~--~-~--~~~---~--~~ You received this message b

[symfony-users] Re: sfValidatorEmail fails

2009-04-22 Thread Bernhard Schussek
Hi Eric, I know that problem too well. Unfortunately the Doctrine model and the forms framework use two different validators. The forms validator (symfony) only checks for validity of the email address format, while the Doctrine model validator does also check whether the domain name exists. You

[symfony-users] Re: sfValidatorEmail fails

2009-04-22 Thread Adrien Mogenet
That's good to know !! (even if I mostly work with Propel...) -- Adrien http://www.tekover.net On 23 avr, 00:02, Bernhard Schussek wrote: > Hi Eric, > > I know that problem too well. Unfortunately the Doctrine model and the > forms framework use two different validators. The forms validator > (

[symfony-users] Propel question: how to get AND instead of OR

2009-04-22 Thread Lawrence Krubner
I have this code: $this->howManyToPage = 6; $c = new Criteria(); $c->add(WeblogPeer::CATEGORY, "general", Criteria::NOT_EQUAL); $c->add(WeblogPeer::CATEGORY, "featured", Criteria::NOT_EQUAL); $c->add(WeblogPeer::ACTIVE, "0", Criteria::NOT_EQUAL); $c->addDescendingOrderByCo

[symfony-users] Re: Propel question: how to get AND instead of OR

2009-04-22 Thread Dheeraj Kumar Aggarwal
hi i think this should work $this->howManyToPage = 6; $c = new Criteria(); $criterion = $c->getNewCriterion(WeblogPeer::CATEGORY, 'general', Criteria::NOT_EQUAL); $criterion->addAnd($c->getNewCriterion(WeblogPeer::CATEGORY, 'featured', Criteria::NOT_EQUAL);); // $criterion->addOr(

[symfony-users] Re: tinyMCE not working

2009-04-22 Thread Sumedh
The files are in web/js only... I am using symfony in "frozen" state, so /usr/share directory doesn't come into picture, right? On Apr 21, 7:48 pm, Eno wrote: > On Tue, 21 Apr 2009, Alexandru-Emil Lupu wrote: > > on linux OS, you have to check permissions of sf directory in > > /usr/share/php/d

[symfony-users] Re: Propel question: how to get AND instead of OR

2009-04-22 Thread cokker
to see the executed queries you can have a look here: http://forum.symfony-project.org/index.php/t/18373/ greets Sven Lawrence Krubner schrieb: > I have this code: > > $this->howManyToPage = 6; > $c = new Criteria(); > $c->add(WeblogPeer::CATEGORY, "general", Criteria::NOT_EQUAL);