[symfony-users] Forms with pictures

2007-09-05 Thread Cacho
Hi I'm developing my site with symfony and everything is working well and I'm learning faster. I did a lot of forms to allow clients input data without problems but I've now some doubts. I need to make a form where the user will input some data and where I should allow the user to upload

[symfony-users] Re : [symfony-users] Propel query : dynamically set fields

2007-09-05 Thread Loïc Vernet
Check constant function - Message d'origine De : Olivier Revollat [EMAIL PROTECTED] À : symfony-users@googlegroups.com Envoyé le : Mercredi, 5 Septembre 2007, 12h51mn 16s Objet : [symfony-users] Propel query : dynamically set fields public function getClientByField($field,$pattern)

[symfony-users] Output an excel file from an action

2007-09-05 Thread anakreon
Hello everyone. I am trying to serve an excel file from an action. The content is dynamically generated with PHPExcel library. Before starting to generate content, I disable the layout and set the content type of the response to application/vnd.ms-excel - $this-setLayout(false);

[symfony-users] Re: Output an excel file from an action

2007-09-05 Thread Tristan Rivoallan
On 9/5/07, anakreon [EMAIL PROTECTED] wrote: (output started at /home/anakreon/ekby_site/lib/PHPExcel/Shared/OLE/ OLE_Root.php:254) what do you see at this line in the file ? it's probably just a whitespace problem : cleanup PHPExcel or make use of output buffering. Also, the page ends

[symfony-users] Re: Output an excel file from an action

2007-09-05 Thread anakreon
On Sep 5, 2:59 pm, Tristan Rivoallan [EMAIL PROTECTED] wrote: On 9/5/07, anakreon [EMAIL PROTECTED] wrote: (output started at /home/anakreon/ekby_site/lib/PHPExcel/Shared/OLE/ OLE_Root.php:254) what do you see at this line in the file ? It ends the command which makes the first attempt

[symfony-users] Flexy Templating Plugin?

2007-09-05 Thread commercemeister
Hello, I have a prototype Flexy templating plugin for Symfony. This is similar to sfSmartyView, but using the Flexy engine: http://pear.php.net/manual/en/package.html.html-template-flexy.php Before making it available (and hence supporting it), I first want to gauge the interest / response of

[symfony-users] Re: Flexy Templating Plugin?

2007-09-05 Thread commercemeister
On Sep 5, 10:47 am, Tristan Rivoallan [EMAIL PROTECTED] wrote: flexy is really my favourite templating engine, but i have a few concerns : Mine too, and both concerns you bring up are important considerations. * is it still actively maintained ? There has not been a release in many nearly a

[symfony-users] mysql_error

2007-09-05 Thread tolga
hi, how can I get db-error in ORM? esp. if my db is MySQL? Should I use sfExceptions thanks.. :) --~--~-~--~~~---~--~~ 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: mysql_error

2007-09-05 Thread tolga
sfDatabaseException, oki I found :) On 5 Eylül, 18:28, tolga [EMAIL PROTECTED] wrote: hi, how can I get db-error in ORM? esp. if my db is MySQL? Should I use sfExceptions thanks.. :) --~--~-~--~~~---~--~~ You received this message because you are

[symfony-users] Two new plugins: polling and rating

2007-09-05 Thread Nicolas Perriault
Hi, FYI I've just added two plugins in the Symfony Trac: sfPropelPollsPlugin: sfPropelPollsPlugin is a Symfony plugin which make polling a piece of cake (well, I wish.) http://trac.symfony-project.com/trac/wiki/sfPropelPollsPlugin sfPropelActAsRatableBehaviorPlugin: This plugin

[symfony-users] Re: Flexy Templating Plugin?

2007-09-05 Thread Kiril Angov
I am sorry I will changing the topic a little but by reading your reasons to use Flexy and your concerns about it being developed and PHP5 compatible why not take a look at PHPTal. There is a not very recent symofny plugin for it that I took a look at some time ago.

[symfony-users] Re: Flexy Templating Plugin?

2007-09-05 Thread Alexander Deruwe
On 05 Sep 2007, at 17:32, Kiril Angov wrote: I am sorry I will changing the topic a little but by reading your reasons to use Flexy and your concerns about it being developed and PHP5 compatible why not take a look at PHPTal. There is a not very recent symofny plugin for it that I took a

[symfony-users] Re: automated code audit

2007-09-05 Thread Alexander Deruwe
On 29 Aug 2007, at 20:29, Tristan Rivoallan wrote: On 8/29/07, Jack Bates [EMAIL PROTECTED] wrote: I wonder if any code already exists for checking symfony's code standards? pear's codesniffer can provide a very good basis for implementing this.

[symfony-users] Re: Two new plugins: polling and rating

2007-09-05 Thread Fabian Lange
Hi, Woot, thats soo cruel.. I invested so much time into a ugly hacky rating solution. Now I will have to remove it and use your Behavior. From its description it reads exactly what I need. Ill contact you after I integrated it. Well done! .: Fabian -Original Message- From: [EMAIL

[symfony-users] Re: Flexy Templating Plugin?

2007-09-05 Thread Kiril Angov
Alexander Deruwe wrote: On 05 Sep 2007, at 17:32, Kiril Angov wrote: I am sorry I will changing the topic a little but by reading your reasons to use Flexy and your concerns about it being developed and PHP5 compatible why not take a look at PHPTal. There is a not very recent symofny

[symfony-users] Re: automated code audit

2007-09-05 Thread Kiril Angov
Jack, I would be happy if you share that unit test code with us when you are done or if you want some help, put it online and I will be also happy to contribute. Kupo Jack Bates wrote: I'm working on an automated code audit, to check our code conforms to symfony's code standards. I'm

[symfony-users] Re: Two new plugins: polling and rating

2007-09-05 Thread Nicolas Perriault
Francois Zaninotto a écrit : May I suggest a component in the Ratable plugin to allow, for instance, 5 stars Ajax Rating, which would allow for a screenshot to be added to the plugin's page ? No helper is provided for the moment but it's planned. I'll add a TODO section in the dedicated

[symfony-users] Re: automated code audit

2007-09-05 Thread Alistair Stead
I would suggest that plugins are the best place for all additional development of symfony. That way the core stays as lightweight as possible and users can choose what elements suite their development practices. For exmaple the control pannel is now a plugin and the audit could be part of this. I

[symfony-users] Re: Flexy Templating Plugin?

2007-09-05 Thread commercemeister
On Sep 5, 11:47 am, Alexander Deruwe [EMAIL PROTECTED] wrote: I'll take this opportunity to ask another related though off topic question... Generally speaking, if the developer(s) are also the designer(s) (no matter how awful that may turn out to be ;) as in my case, would you still

[symfony-users] sfGuard redirect after logout

2007-09-05 Thread Kostas Papadimitriou
How can i configure sfGuard to redirect to a custom module/action after the logout action instead of redirecting to the refferer. Also when im visiting a secure page without being logged in i get a 404 page, is that correct ? shouldn't i get the not enough credentials page ?

[symfony-users] Re: Two new plugins: polling and rating

2007-09-05 Thread Frank Stelzer
Great work! I need this functionality for my current project the next days and i was afraid, that i have to do all the work alone. But so, you saved me lots of hours of work! Thanks! - Frank Am 05.09.2007 um 18:21 schrieb Nicolas Perriault: Francois Zaninotto a écrit : May I suggest

[symfony-users] Re: sfGuard redirect after logout

2007-09-05 Thread Serkan Koyuncu
Hi, If you want to redirect the user to his profile after a success login or define a logout site. You can change the redirect values in app.yml: all: sf_guard_plugin: success_signin_url: @my_route?param=value # the plugin use the referer as default

[symfony-users] Re: Flexy Templating Plugin?

2007-09-05 Thread Ant Cunningham
Alexander... Nice to see the HAML port. Personally though im not so much interested in HAML templates as I am SASS for CSS. Did you manage to implement SASS? I know that last time I looked phphaml hadnt finished it off yet or support was lacking form what I could tell. On 9/5/07 12:12 PM,

[symfony-users] Re: Two new plugins: polling and rating

2007-09-05 Thread Mat
Great job!! I'm been thinking about adding a rating system to our current site, and the only think holding me back was the time it would take to knock together the prototype, as we arnt sure it would add that much value to the site, however this is ideal! A helper would be a fantastic idea just