[symfony-users] Doctrine2 how to add OracleSessionInit?

2011-03-24 Thread Miloslav Kmeť
Hi, how can I add OracleSessionInit event subscriber to a dbal connection? It is possible to do it in the config.yml, or do I need to create my own EventManager, where I attach that subscriber? Thank you -- Miloslav Kmeť -- If you want to report a vulnerability issue on symfony, please send

[symfony-users] Re: How to manage big uploads

2009-10-29 Thread Miloslav Kmeť
the max_execution_time (because I never process the video in a web request). If you would like to use some kind of progressbar for user, you need to find your uploader (uploadify, swfupload) or you can do it yourself for example with APC. There are many example on the internet. ~ Miloslav Kmeť Dňa Št 29

[symfony-users] Re: Prevent partial to be cached

2009-04-29 Thread Miloslav Kmeť
make a config file cache.yml in your module where the partial is placed with content: _partial_name: enabled: false 2009/4/29 Ahmed ghaliano2...@gmail.com: I have a dynamic menu Managed since the backoffice, I put this menu in a partial. My question is how to prevent this partial to be

[symfony-users] Re: resizing image during upload

2009-04-04 Thread Miloslav Kmeť
if ($file instanceof sfValidatedFile) { $image = new sfImage($file-getTempName()); } --~--~-~--~~~---~--~~ 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] Re: where should I add file with javascript.

2009-03-14 Thread Miloslav Kmeť
You need to specify position in your view.yml, your view section name is registerSuccess, not only register. registerSuccess: javascripts: [jquery.js: {position: last}] I am not sure, if this works only for stylesheets, but I think, it should be the same for JS. It is not common way of

[symfony-users] Re: sfForms - group validator

2008-10-06 Thread Miloslav Kmeť
I think, that this validators chains validators only for one field (widget). Dňa Po 6. Október 2008 09:09 raphael Davaillaud wrote: Maybe you can use the logical validator Or/And? -- Miloslav Kmeť --~--~-~--~~~---~--~~ You received this message because you