AW: [symfony-users] Form Submition

2010-10-12 Thread Christopher Schnell
Hi, That is what user flashes are for. http://www.symfony-project.org/gentle-introduction/1_4/en/06-Inside-the-Controller-Layer#chapter_06_sub_flash_attributes Regards, Christopher. -Ursprüngliche Nachricht- Von: symfony-users@googlegroups.com [mailto:symfony-

Re: [symfony-users] Form Submition

2010-10-12 Thread Gareth McCumskey
There are any number of ways: 1. Set a variable in your action after the form was succesfully processed (eg: $this-form_success = true;) that you can then check for on the template and display an appropriate message: ?php if ($form_success): ? pYour submission was succesful/p ?php endif; ? 2.

Re: [symfony-users] Clear cache in action

2010-10-12 Thread Sela Yair
is there a single command in sfConfigCache to clear all the cache? i want to enable from the admin to do similar to symfony cc On 8 October 2010 15:00, Damien Alexandre dalexan...@clever-age.com wrote: For this kind of question, make sure to search in the documentation :

[symfony-users] Doctrine JOIN model defined in schema with and one that isnt

2010-10-12 Thread tigana . fluens
Hello guys, given that: profile --- defined in schema (ofc used by symfony) id user_id field1 field2 user --- not in schema, because this is a table used by another script (a forum script for example) id field1 field2 I would like to get all profiles and their corresponding users. I don't

[symfony-users] automated response

2010-10-12 Thread Saad Tazi | Twist Image
Merci de votre message. Nos bureaux sont présentement fermés aujourd'hui, le 11 octobre 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

Re: [symfony-users] Live symfony tutorial

2010-10-12 Thread Joseph Myalla
We we be able to view it online, I am in East Africa, and wish to view the tutorial live On Wed, Sep 29, 2010 at 6:21 AM, f1gm3nt f1gm...@gmail.com wrote: I just want to spark up a discussion on what I hope to be very informative for the symfony community. I will be giving a live symfony 1.4

[symfony-users] Re: This is nuts, SwiftMailer trying to connect to localhost SMTP even if delivery strategy is none

2010-10-12 Thread Paulo Ribeiro
Hi, I know it's crazy, but you got to define the transport class in order to get rid of this behavior. dev: mailer: param: delivery_strategy: none transport: class: Swift_NullTransport regards, Paulo On Oct 12, 2:25 am, bzarzuela bzarzu...@gmail.com wrote: A simple

[symfony-users] Re: Form Submition

2010-10-12 Thread guiguiboy
As Christopher Schnell said, you have to use flash messages. Guillaume B. On 12 oct, 05:49, farhana farhana@gmail.com wrote: I am doing my project using symfony frame work . I want to show a message saved successfully after the successfull submition of my form .how can I show it. I am

[symfony-users] sfPropel15Plugin, admin and mergeRelation()

2010-10-12 Thread Adam Frame
Hi, I have a form ('Gallery') that embeds a related form using mergeRelation. [code] class GalleryForm extends BaseGalleryForm { public function configure() { $this-mergeRelation(Image); } } [/code] Now leaving the generator.yml in admin with its defaults and just changing

[symfony-users] Result quantity different btween Hydrate and non hydrrate

2010-10-12 Thread Dennis Gearon
Anyone ever have a DQL query that returns plenty of rows using NO-HYDRATE, but only 1 or two in normal hydration mode? This query uses joins. If I use all my joins that I need, I then only get a few rows period, array mode(non hydrate) or not. In SQL, it works great, just as planned. Dennis

[symfony-users] Any way to generate backend lists using div instead of table ?

2010-10-12 Thread Javier Garci
Hi, anyway to generate backend lists using div instead of table ? Without modifying too much the symfony generator... Javi -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to

[symfony-users] [sf 1.3] different edit views

2010-10-12 Thread Christian
hi, i have a backend module generated by propel:generate-admin. I need two different edit views. One view with all possible form fields and one view with one form field only. i created an new executeEdit2() action in generated actions.class.php and added to my generator.yml: form: ~

[symfony-users] Re: How to pass single instance of an Object to view

2010-10-12 Thread Richtermeister
Might just be a typo, but you're calling getInstance while the method you show is called createInstance.. Daniel On Oct 11, 1:43 pm, wickass wick...@gmail.com wrote: Im trying to pass a single instance of a helper object to the view by making use of template.filter_parameters event. However

[symfony-users] Re: How to pass single instance of an Object to view

2010-10-12 Thread wickass
Hi Daniel Yes this is a typo in my post code should look like the following public function setup() { // ... $this-dispatcher-connect('template.filter_parameters', array( $this, 'templateFilterParameters' )); } public function templateFilterParameters(sfEvent $event, $parameters) {

Re: [symfony-users] [sf 1.3] different edit views

2010-10-12 Thread Christian
ok, i found a solution: in my xxxGeneratorConfiguration.class.php i added getFormFields method with unset unwanted fields: public function getFormFields(sfForm $form, $context) { $fields = parent::getFormFields($form, $context); if(!$form-getOption('withInfo')):

[symfony-users] Symfony2 - MongoDB extension not loadable?

2010-10-12 Thread Daniel Kucharski
Hi, I get following error when trying to access the mongo document service in Symfony 2PR3: There is no extension able to load the configuration for doctrine_odm.mongodb (in D:\wamp\www\symfony2\app/config\config.yml).' My config.yml contains following line:

[symfony-users] Re: Unwanted /www/web in URL

2010-10-12 Thread Felix E. Klee
I have now done a test with the Jobeet example, Symfony 1.4, again with .htaccess. See details below. The test URL associated with htdocs: http://127.0.0.1:8081 Now, when I visit that URL, then I see the Jobeet index page. The URL does not change. That's perfect! However, all the links on

Re: [symfony-users] Symfony2 - MongoDB extension not loadable?

2010-10-12 Thread Tim Nagel
Did you include the DoctrineMongo bundle in your kernel? t On Wed, Oct 13, 2010 at 04:58, Daniel Kucharski dan...@inspiran.be wrote: Hi, I get following error when trying to access the mongo document service in Symfony 2PR3: *There is no extension able to load the configuration for

[symfony-users] Tracking down issue in factories

2010-10-12 Thread ashton
I am experiencing an intermittent issue where sometimes it takes an inordinate amount of time for the page to load. Most of the time, the page loads fine and everything looks great (~1s) page load; however I occasionally see this super long load time (2 mins plus). Inspecting the timers, the

[symfony-users] sfGuardUser

2010-10-12 Thread Dennis Gearon
Not sure if this is the right place to ask this, let me know if not. From what I remember about sfUser, permissions were in the confiig file and applied to routes. Does sfGuardUser keep permissions in the database and allow applying permissions to database records/entities directly? Dennis