[symfony-users] Re: Allow javascript to run
Hey Gareth, hi all, sadly i don't have an solution to this. But i have similiar experience with Symfony and AJAX calls. I can easily include JavaScript with the jvavscript_tag(), wich works fine... Until JavaScript is included in a partial wich is rendered as response from AJAX-request. How can i run JS in the rendered partial after i use for exemple a form_remote_tag(array( 'update' = 'div2Update', 'url' = 'module/action', 'loading' =visual_effect('grow', 'indicator'), 'complete' = visual_effect('puff', 'indicator').visual_effect ('appear', 'map'), )); ? I think these problems are linked, as long every JS in my partial just seems to be ignored. How to solve this? Regards, Georg --~--~-~--~~~---~--~~ 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 email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~--~~~~--~~--~--~---
[symfony-users] Re: Allow javascript to run
Thx Gareth, you're a genius! --~--~-~--~~~---~--~~ 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 email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~--~~~~--~~--~--~---
[symfony-users] Re: schema.sql is empty. Anybody can a help???
Hey, do you have an non empty schema.yml file? Doctrine stores it's schema.yml in the config/doctrine folder. If the doctrine folder doesn't exist, you have to create manually before you start. On Mar 15, 6:22 pm, Carlos Henrique chasi...@gmail.com wrote: am following the tutorial for Jobeet/Doctrine on Day 3. After I created the schema.yml and run build-sql, the prompt is doctrine generating sql for models doctrine Generated SQL successfully for models But I cannot find mentioned sql file under data/sql. There is only one emply schema.sql residing. I am using Windows XAMPP distribution. Anybody can a help? --~--~-~--~~~---~--~~ 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 email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~--~~~~--~~--~--~---
[symfony-users] Re: sf 1.2: is all the documentation about the admin generator wrong?
I made fileuploads work by configuring the referring nameForm.class.php. Make sure the form ist working. Admin generator is using the configuration made in the form class. I think it's the easiest way to configure a fileupload. In my case a editable fileupload. With template you can customize the look. Examples: $this-widgetSchema['logo_link'] = new sfWidgetFormInputFileEditable (array( 'file_src' = '/uploads/logos/'.$this-getObject()-getLogoLink (), 'is_image' = false, 'edit_mode' = !$this-isNew(), 'template' = 'div'.lilHelpers::returnPhotoShow('/uploads/ logos/', 'logo', $this-getObject()-getLogoLink()).'br /%input%/ div')); $this-validatorSchema['logo_link'] = new sfValidatorFile(array( 'path' = 'uploads/logos/', 'required' = false, 'max_size' = 2048000, 'mime_types' = 'web_images'), array( 'max_size' = 'Maximale Dateigrouml;szlig;e: 2MB.', 'mime_types' = 'Datei ist kein Bild (jpg, png, gif)') ); --~--~-~--~~~---~--~~ 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 email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~--~~~~--~~--~--~---
[symfony-users] Re: a blank white screen
I had a white screen too. My problem was a too old PHP-Version. Did you run that lib\vendor\symfony\data\bin\check_configuration.php script. It's good to see, if your server is ready for symfony. --~--~-~--~~~---~--~~ 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 email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~--~~~~--~~--~--~---
[symfony-users] Re: Adding a file upload control
Hey, maybe you need to allow the extra-fields in your form definition class. $this-validatorSchema-setOption('allow_extra_fields', true); Check this out: http://www.symfony-project.org/book/forms/1_1/en/02-Form-Validation Greets --~--~-~--~~~---~--~~ 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 email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~--~~~~--~~--~--~---