Re: [symfony-users] In remote host: Connection could not be established with host smtp.gmail.com [Connection timed out #110]

2010-04-30 Thread Nicolas Perriault
On Thu, Apr 29, 2010 at 13:03, Javier GARCIA tirengar...@gmail.com wrote: Any hand? Try port 587 instead. ++ -- Nicolas Perriault Akei : http://www.akei.com/ Symfonians : http://symfonians.net Blog : http://prendreuncafe.com/ Mobile: +33 660 92 08 67 -- If you want to report

[symfony-users] How to use doctrine tasks only for a given connection?

2009-12-11 Thread Nicolas Perriault
Hi, I've just noticed the --connection option has been removed from the doctrine:* tasks family since symfony 1.3 (and 1.4 as well), so I wonder what's the recommended way to operate on a particular connection now. Any hint? ++ -- Nicolas Perriault http://prendreuncafe.com - http

Re: [symfony-users] How to use doctrine tasks only for a given connection?

2009-12-11 Thread Nicolas Perriault
: if you create a dedicated and isolated environment for it, how will you be able to read it in the prod one? ++ -- Nicolas Perriault http://prendreuncafe.com - http://symfonians.net Mobile: +33 660 92 08 67 -- You received this message because you are subscribed to the Google Groups symfony users

Re: [symfony-users] How to use doctrine tasks only for a given connection?

2009-12-11 Thread Nicolas Perriault
third-part database to be dropped and recreated by the task command? -- Nicolas Perriault http://prendreuncafe.com - http://symfonians.net Mobile: +33 660 92 08 67 -- You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email

[symfony-users] Re: Problem with model in Event Management Plugin

2009-11-10 Thread Nicolas Perriault
BaseMyModuleGeneratorHelper { } That's it. Maybe there would a place for a generate:plugin-init-admin task in Kris' plugin. Kris? :-) ++ -- Nicolas Perriault http://prendreuncafe.com - http://symfonians.net Mobile: +33 660 92 08 67 --~--~-~--~~~---~--~~ You received this message

[symfony-users] Re: Problem with model in Event Management Plugin

2009-11-10 Thread Nicolas Perriault
On Tue, Nov 10, 2009 at 8:33 PM, juro fo...@juro.at wrote: Thank you for the tutorial, is the sfTaskExtraPlugin compatible with 1.3? Sure, I'm using it on a 1.3 powered project of mine with no pb :) ++ -- Nicolas Perriault http://prendreuncafe.com - http://symfonians.net Mobile: +33 660 92

[symfony-users] Re: Problem with model in Event Management Plugin

2009-11-09 Thread Nicolas Perriault
problem. ++ -- Nicolas Perriault http://prendreuncafe.com - http://symfonians.net Mobile: +33 660 92 08 67 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email

[symfony-users] Re: Problem with model in Event Management Plugin

2009-11-09 Thread Nicolas Perriault
, try to name your plugin accordingly, eg. sfPropelCalendarPlugin or sfDoctrineCalendar Plugin. Again, these are just to avoid name collisions with other plugins/libs. Things will definitely be easier with php 5.3 namespaces, but in the meanwhile... :/ ++ -- Nicolas Perriault http

[symfony-users] Re: Problem with model in Event Management Plugin

2009-11-09 Thread Nicolas Perriault
On Mon, Nov 9, 2009 at 8:59 PM, juro fo...@juro.at wrote: ?? Another idea: prefix your class names with two or three characters of your choice, eg. if your name is John Doe: jdDoctrineCalendarPlugin jdEvent.class.php jdCalendar.class.php ++ -- Nicolas Perriault http://prendreuncafe.com

[symfony-users] Tweaking generated routes with the admin generator

2009-08-26 Thread Nicolas Perriault
the community if you've been ever exposed to an approaching situation or have an idea to solve it ;) Cheers, -- Nicolas Perriault http://prendreuncafe.com - http://symfonians.net Mobile: +33 660 92 08 67 --~--~-~--~~~---~--~~ You received this message because you

[symfony-users] Re: Doctrine Sluggable auto update

2009-07-01 Thread Nicolas Perriault
it with Sluggable behaviour. There's a canUpdate option you can set to true in the Sluggable behavior configuration. ++ -- Nicolas Perriault Training and Consulting Manager at Sensio Labs http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com Pro phone: +33 140 99 82 11 Mobile: +33

[symfony-users] Re: Validator for wysiwyg

2009-06-19 Thread Nicolas Perriault
plugin for that specific purpose. Also, it shouldn't be hard to create a 1.2 compatible form validator based on this library. ++ -- Nicolas Perriault Training and Consulting Manager at Sensio Labs http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com Pro phone: +33 140 99 82

[symfony-users] Re: Model View Controller pattern

2009-01-18 Thread Nicolas Perriault
the data from the Model and gives them to the View from the user input (in a Web context, it's mainly the url and maybe some associated parameters). Well, that's hard. Hope it helps anyway. ++ -- Nicolas Perriault Training and Consulting Manager at Sensio Labs http://prendreuncafe.com - http

[symfony-users] Re: I18N of sfWidgetFormChoice

2009-01-13 Thread Nicolas Perriault
of the symfony code. I need holidays. ++ -- Nicolas Perriault http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com Phone: +33 660 92 08 67 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users

[symfony-users] Re: Validating rich text?

2009-01-07 Thread Nicolas Perriault
, but it's not as widely known). You should also checkout http://www.symfony-project.org/plugins/sfXssSafePlugin ++ -- Nicolas Perriault http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com Phone: +33 660 92 08 67 --~--~-~--~~~---~--~~ You received

[symfony-users] Re: output in functional test

2009-01-03 Thread Nicolas Perriault
() method is intented to be used for debugging purpose only, so onece you've fixed your problem you must remove all calls to it. ++ -- Nicolas Perriault http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com Phone: +33 660 92 08 67

[symfony-users] Re: What is Base64 encoding?

2008-12-17 Thread Nicolas Perriault
On Wed, Dec 17, 2008 at 3:04 PM, Samir van de Sand samir@googlemail.com wrote: The cookie only contains a string. How's that binary data? Base64 is often used because it's charset safe (only ascii characters are used to represent the encoded content) ++ -- Nicolas Perriault http

[symfony-users] Re: What is Base64 encoding?

2008-12-17 Thread Nicolas Perriault
On Wed, Dec 17, 2008 at 2:21 PM, Samir van de Sand samir@googlemail.com wrote: However I still haven't understood what base64 is and why I should use it. Is there anybody who could explain this? http://letmegooglethatforyou.com/?q=base64 -- Nicolas Perriault http://prendreuncafe.com

[symfony-users] Re: New Routing: sf_format

2008-12-14 Thread Nicolas Perriault
? Just create a dedicate route, like this: csv_export: url: /toto.csv param: { module: foo, action: bar } The use of sf_format is not mandatory here. ++ -- Nicolas Perriault http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com Phone: +33 660 92 08 67

[symfony-users] Re: symfony 1.1 : how to set global errors

2008-12-09 Thread Nicolas Perriault
an array of error messages as well if you prefer (and this would be a good idea regarding decoupling purpose between view and controller). Hope this helps, -- Nicolas Perriault http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com Phone: +33 660 92 08 67

[symfony-users] Re: URL's with dots ('.')

2008-12-04 Thread Nicolas Perriault
and Apache 2.2 for symfonians.net and it works smoothly for urls with dots : http://pastie.org/330755 ++ -- Nicolas Perriault http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com Phone: +33 660 92 08 67 --~--~-~--~~~---~--~~ You received

[symfony-users] Re: sfdoctrinetreeplugin

2008-12-04 Thread Nicolas Perriault
?tab=plugin_readme Isn't this sufficient to start? ++ -- Nicolas Perriault http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com Phone: +33 660 92 08 67 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[symfony-users] Re: 1.2 v. admin generator impossible to set up

2008-12-01 Thread Nicolas Perriault
++ -- Nicolas Perriault http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com Phone: +33 660 92 08 67 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users group. To post to this group

[symfony-users] Re: [SF1.2] Admin generator

2008-11-26 Thread Nicolas Perriault
(and don't forget symfony cc) prior to launch the generate-admin task ++ -- Nicolas Perriault http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com Phone: +33 660 92 08 67 --~--~-~--~~~---~--~~ You received this message because you are subscribed

[symfony-users] Re: sfBreadcrumbs plugin

2008-11-19 Thread Nicolas Perriault
On Wed, Nov 19, 2008 at 2:15 PM, mahesh [EMAIL PROTECTED] wrote: Hi how to display the breadcrmbs on my laout. Hi p id=breadcrmbs?php echo $breadcrmbs ?/p Sorry -- Nicolas Perriault http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com Phone: +33 660 92 08 67

[symfony-users] Re: Using components

2008-11-12 Thread Nicolas Perriault
2008/11/12 [EMAIL PROTECTED] [EMAIL PROTECTED]: Thanks, Dmitry - though it's very pitifully. You can create components in plugin modules, and then share them accross multiple apps, though. ++ -- Nicolas Perriault http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com Phone

[symfony-users] Re: Generating complete URLs in Symfony 1.1

2008-10-30 Thread Nicolas Perriault
of the box: ?php echo url_for('mymodule/myaction', true) ? Note the boolean argument to generate the full url. ++ -- Nicolas Perriault http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com Phone: +33 660 92 08 67 --~--~-~--~~~---~--~~ You received

[symfony-users] Re: Symfony 1.2 does not load plugins?

2008-10-19 Thread Nicolas Perriault
://trac.symfony-project.org/browser/branches/1.2/UPGRADE_TO_1_2#L1527 HTH ++ -- Nicolas Perriault http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com Phone: +33 660 92 08 67 --~--~-~--~~~---~--~~ You received this message because you are subscribed

[symfony-users] Re: Charting...

2008-10-11 Thread Nicolas Perriault
On Sat, Oct 11, 2008 at 8:58 AM, Sumedh [EMAIL PROTECTED] wrote: Have any of you used a charting library in Symfony? Which one is simple to use? This one for sure: http://code.google.com/apis/chart/ ++ -- Nicolas Perriault http://prendreuncafe.com - http://symfonians.net - http

[symfony-users] Re: sf_format parameter for get_partial

2008-10-11 Thread Nicolas Perriault
tries to get their xml versions as well (which of course does not exist). You'll find a quick'n dirty modified get_partial() helper which allows what you describe here: http://pastebin.com/m4e4800d3 ++ -- Nicolas Perriault http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com

[symfony-users] Re: Sending mails with maillayout in sf1.1

2008-10-04 Thread Nicolas Perriault
configure your action to use a dedicated email layout. ++ -- Nicolas Perriault http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com Phone: +33 660 92 08 67 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[symfony-users] Re: upgrading symfony 1.1.1 1.1.3 with pear

2008-10-01 Thread Nicolas Perriault
On Thu, Oct 2, 2008 at 4:12 AM, James [EMAIL PROTECTED] wrote: i thought we were still at 1.1.2? Did I miss something? James http://www.symfony-project.org/blog/2008/09/29/symfony-1-1-3-released ++ -- Nicolas Perriault http://prendreuncafe.com - http://symfonians.net - http

[symfony-users] Re: problems updating form

2008-09-30 Thread Nicolas Perriault
($request-getParameter('blog'), array('name' = 'tralala'))); if ($this-form-isValid()) { $blog = $this-form-save(); ++ -- Nicolas Perriault http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com Phone: +33 660 92 08 67 --~--~-~--~~~---~--~~ You

[symfony-users] Re: strange beahviour with request in forms1.1

2008-09-29 Thread Nicolas Perriault
field automatically becomes the value of the name field. I've just run your example on my box and it works perfectly... Have you got a tweaked php.ini or apache configuration? ++ -- Nicolas Perriault http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com Phone: +33 660 92 08 67

[symfony-users] Re: Symfony performance - optimisation and testing

2008-09-29 Thread Nicolas Perriault
On Mon, Sep 29, 2008 at 6:07 PM, Eno [EMAIL PROTECTED] wrote: Here's a mother load of general advice :-) Nice check list. Would you mind creating a dedicated page on the wiki with these informations? This would be a nice addition to the chapter 18 of the book. ++ -- Nicolas Perriault http

[symfony-users] Re: Symfony performance - optimisation and testing

2008-09-29 Thread Nicolas Perriault
community place to share tips on symfony performance tuning. I'd really love having something like https://tuneup.fiveruns.com/ for symfony, but I have no time... ++ -- Nicolas Perriault http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com Phone: +33 660 92 08 67

[symfony-users] Re: Registering Behaviors in 1.1

2008-09-28 Thread Nicolas Perriault
broken in some part of the book... ++ -- Nicolas Perriault http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com Phone: +33 660 92 08 67 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users

[symfony-users] Re: Send exception/error to an email address?

2008-09-28 Thread Nicolas Perriault
($filterChain) { try { $filterChain-execute(); } catch (sfStopException $e) { throw $e; } catch (Exception $e) { // send your mail here throw $e; } } } ++ -- Nicolas Perriault http://prendreuncafe.com - http://symfonians.net - http

[symfony-users] Re: Developing Symfony 1.0, 1.1, 1.2, etc, Projects Simultaneously On One Machine

2008-09-27 Thread Nicolas Perriault
-project.com/branches/1.2 symfony12 $ sudo ln -s /usr/share/php/symfony12/data/bin/symfony /usr/bin/symfony12 Then: $ symfony10 -V $ symfony11 -V $ symfony12 -V But for production purpose, freezing and syncing is the way to go. ++ -- Nicolas Perriault http://prendreuncafe.com - http://symfonians.net

[symfony-users] Re: Business logic layer...

2008-09-26 Thread Nicolas Perriault
= new MyBusinessClass(); from anywhere within your project. ++ -- Nicolas Perriault http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com Phone: +33 660 92 08 67 --~--~-~--~~~---~--~~ You received this message because you are subscribed

[symfony-users] Re: Problem with Propel on frozen projects

2008-09-26 Thread Nicolas Perriault
On Fri, Sep 26, 2008 at 12:15 PM, Nicolas MARTIN [EMAIL PROTECTED] wrote: Is that a bug or do I miss something ? Did you clear the cache? Also, are you using APC or something similar? I had issues with APC which was caching some pathes... ++ -- Nicolas Perriault http://prendreuncafe.com

[symfony-users] Re: Tutorial: How migrate/change a website in producction

2008-09-24 Thread Nicolas Perriault
migration tasks by hand. But I'd love having a standard way for doing this. ++ -- Nicolas Perriault http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com Phone: +33 660 92 08 67 --~--~-~--~~~---~--~~ You received this message because you

[symfony-users] Re: Tutorial: How migrate/change a website in producction

2008-09-24 Thread Nicolas Perriault
On Wed, Sep 24, 2008 at 7:04 PM, Thomas Rabaix [EMAIL PROTECTED] wrote: with sfPropelMigrationLight you can do data manipulation. maybe you should define what is data manipulation Split the data in your old name column into your brand new first_name and last_name columns. ++ -- Nicolas

[symfony-users] Re: Symfony clear-cache locking the CLI environment ?

2008-09-22 Thread Nicolas Perriault
On Tue, Sep 23, 2008 at 2:23 AM, Cristiano Betta [EMAIL PROTECTED] wrote: I still haven't for the reason as described before Open a ticket: - for the correct milestone (1.1.3 here) - flag is as major It will be reviewed really quickly ;) ++ -- Nicolas Perriault http://prendreuncafe.com

[symfony-users] Re: Symfony clear-cache locking the CLI environment ?

2008-09-19 Thread Nicolas Perriault
in the /lib/task/cache/sfCacheClearTask.class.php file but can't figure out what is causing it yet. People, can you open a ticket on this issue, specifing your OS, php version and sample use cases? Thanks :-) ++ -- Nicolas Perriault http://prendreuncafe.com - http://symfonians.net - http

[symfony-users] Re: I18N select options for symfony 1.1 forms

2008-09-17 Thread Nicolas Perriault
-getSchemaFormatter()-setTranslationCatalogue('contact_form'); ++ -- Nicolas Perriault http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com Phone: +33 660 92 08 67 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[symfony-users] Re: sf_user?

2008-09-17 Thread Nicolas Perriault
a database based session storage, so if that's your case check the queries, or maybe the db configuration... ++ -- Nicolas Perriault http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com Phone: +33 660 92 08 67 --~--~-~--~~~---~--~~ You received

[symfony-users] Re: Captcha for symfony 1.1

2008-09-14 Thread Nicolas Perriault
++ -- Nicolas Perriault http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com Phone: +33 660 92 08 67 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email

[symfony-users] Re: Symfony 1.2 web debug toolbar not valid for xhtml

2008-09-12 Thread Nicolas Perriault
On Fri, Sep 12, 2008 at 2:45 PM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: What on earth is handler? Not even in the xhtml DTD. It is in xhtml2, so we'll have it in 10 years, or more probably never http://www.w3.org/TR/xhtml2/mod-handler.html ++ -- Nicolas Perriault http

[symfony-users] Re: DB Column starts with Integer.

2008-08-29 Thread Nicolas Perriault
/BasePlanVoicePeer.php on line 86 const 13NUMBER_RATE = 'plans_voice.13NUMBER_RATE'; A PHP constant cannot start with a number: http://fr.php.net/constants ++ -- Nicolas Perriault http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com Phone: +33 660 92 08 67

[symfony-users] Re: Produce a 404 in a filter

2008-08-26 Thread Nicolas Perriault
), and then validate it in a filter querying your db. ++ -- Nicolas Perriault http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com Phone: +33 660 92 08 67 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony

[symfony-users] Re: Produce a 404 in a filter

2008-08-26 Thread Nicolas Perriault
On Tue, Aug 26, 2008 at 11:29 PM, Nicolas Perriault [EMAIL PROTECTED] wrote: Well, you can first check that two chars are making the param in the routing.yml file (maybe with a more accurate regexp if you wish), and then validate it in a filter querying your db. Okay, I didn't saw Cyril's

[symfony-users] Re: sfGuard - how to implement registration

2008-08-22 Thread Nicolas Perriault
a look at what has been done for Symfonians using sfGuard: http://symfonians.org/browser/branches/1.0/apps/main/modules/sfGuardAuth ++ -- Nicolas Perriault http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com Phone: +33 660 92 08 67

[symfony-users] Re: META name=title tag

2008-07-15 Thread Nicolas Perriault
On Tue, Jul 15, 2008 at 11:51 AM, Sumedh [EMAIL PROTECTED] wrote: Is there some easy way to do this? If you want fine control of your metas, you should use a dedicated slot to fill it from your templates. ++ -- Nicolas Perriault http://prendreuncafe.com - http://symfonians.net - http

[symfony-users] Re: META name=title tag

2008-07-15 Thread Nicolas Perriault
, bar, baz / ?php end_slot() ? Of course this is a very simple example, but you get the point. ++ -- Nicolas Perriault http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com Phone: +33 660 92 08 67 --~--~-~--~~~---~--~~ You received this message

[symfony-users] Re: Validation of Requests in 1.1

2008-07-12 Thread Nicolas Perriault
'; } catch (sfValidatorError $e) { // Handle validation error and message here return $this-renderText($e-getMessage()); } } } It makes me think that this will be a bit redundant with the new input filtering implementation planned for 1.2... ++ -- Nicolas Perriault

[symfony-users] Re: using renderComponent() outside of an action

2008-07-11 Thread Nicolas Perriault
. ++ -- Nicolas Perriault http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com Phone: +33 660 92 08 67 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email

[symfony-users] Re: Symfony database connection problem

2008-07-11 Thread Nicolas Perriault
hunch here is that symfony only closes the database connection once you destroy the credentials/authentication or when the session times out. Am I right? Well, nope. ++ -- Nicolas Perriault http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com Phone: +33 660 92 08 67

[symfony-users] Re: Escaping in partials

2008-07-08 Thread Nicolas Perriault
variables in your partials, however they are called (component, layout, partial, get_partial(), etc.) I can agree it's a bit disturbing at first sight. ++ -- Nicolas Perriault http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com Phone: +33 660 92 08 67

[symfony-users] Re: Escaping in partials

2008-07-07 Thread Nicolas Perriault
###'))); ? Then you can deal with unescaping in your partial this way: ?php echo $sf_data-getRaw('heading') ? or ?php echo $heading-getRawValue() ? ++ -- Nicolas Perriault http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com Phone: +33 660 92 08 76

[symfony-users] Re: Model class not found

2008-07-06 Thread Nicolas Perriault
not mandatory as you're using symfony 1.1, have you tried to clear the app cache? 3. Does an 'Article' entry exist in your cache/backend/config/config_autoload.yml.php? ++ -- Nicolas Perriault http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com Phone: +33 660 92 08 76

[symfony-users] Re: Why is there no way to install that 1.0.x version using pear?

2008-07-01 Thread Nicolas Perriault
On Tue, Jul 1, 2008 at 11:16 PM, Nicolas Perriault [EMAIL PROTECTED] wrote: http://symfonians.org/svn/branches/1.0 Woops, wrong url copy/paste :p Here's the correct sequence: $ svn co http://svn.symfony-project.com/branches/1.0 /usr/share/php/symfony10 $ svn co http://svn.symfony-project.com

[symfony-users] Re: eclipse PDT + symfony project build issue

2008-06-29 Thread Nicolas Perriault
/ ++ -- Nicolas Perriault http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com Phone: +33 660 92 08 76 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email

[symfony-users] Re: Ajax form validation with the new form framework

2008-06-27 Thread Nicolas Perriault
('params')); $errors = array(); foreach ($form-getErrorSchema()-getErrors() as $field = $error) { $errors[$field] = $error-getMessage(); } $this-getResponse()-setContentType('application/json'); return $this-renderText(json_encode($errors)); } HTH ++ -- Nicolas Perriault http

[symfony-users] Re: Ajax form validation with the new form framework

2008-06-27 Thread Nicolas Perriault
and html when requested as html. A good way to achieve both client and server side validation using the same action code, BTW. ++ -- Nicolas Perriault http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com Phone: +33 660 92 08 76

[symfony-users] Re: Admin generator in Symfony 1.1

2008-06-19 Thread Nicolas Perriault
. ++ -- Nicolas Perriault http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com Phone: +33 660 92 08 76 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send

[symfony-users] Re: Multiple Front end servers and sflucene.

2008-06-08 Thread Nicolas Perriault
as ./data/index/ to share the data between your servers. ++ -- Nicolas Perriault http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com Phone: +33 660 92 08 76 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[symfony-users] Re: routing : ability to change the module name?

2008-06-04 Thread Nicolas Perriault
in. ++ -- Nicolas Perriault http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com Phone: +33 660 92 08 76 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email

[symfony-users] Re: Migration guide for 1.1

2008-06-03 Thread Nicolas Perriault
2008/6/3 Sumedh [EMAIL PROTECTED]: May be I am asking a dumb question, but where can I find a migration guide to Symfony 1.1? Here at this moment: http://trac.symfony-project.com/browser/branches/1.1/UPGRADE ++ -- Nicolas Perriault http://prendreuncafe.com - http://symfonians.net - http

[symfony-users] Re: forwardUnless(1,a message)

2008-05-30 Thread Nicolas Perriault
2008/5/29 russell [EMAIL PROTECTED]: From within error404Success.php template, how can I access the message passed by forwardUnless(1, this is the message I want to display)? In your symfony app log file, eg. log/frontend_dev.log or in the web debug toolbar. ++ -- Nicolas Perriault http

[symfony-users] Re: output escapting

2008-05-30 Thread Nicolas Perriault
2008/5/30 hutchic [EMAIL PROTECTED]: Output escaping seems to be escaping any ' to #039; Any help is appreciated. This bug has been introduced in 1.0.12 and fixed in 1.0.13. Anyway, you should update to the latest available (1.0.16) ++ -- Nicolas Perriault http://prendreuncafe.com - http

[symfony-users] Re: User Registration

2008-05-22 Thread Nicolas Perriault
of the the sfGuard plugin: http://symfonians.org/browser/trunk/apps/main/modules/sfGuardAuth/ ++ -- Nicolas Perriault http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com Phone: +33 660 92 08 76 --~--~-~--~~~---~--~~ You received this message because you

[symfony-users] Re: propel-load-data

2008-05-21 Thread Nicolas Perriault
challenge the session data. You can get the storage object with sfContext::getStorage(). HTH ++ -- Nicolas Perriault http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com Phone: +33 660 92 08 76 --~--~-~--~~~---~--~~ You received this message because

[symfony-users] Re: propel-load-data

2008-05-21 Thread Nicolas Perriault
(); } Or something like this (not tested) ++ -- Nicolas Perriault http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com Phone: +33 660 92 08 76 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony

[symfony-users] Re: Breadcrumb best practice

2008-05-20 Thread Nicolas Perriault
2008/5/19 Rasmus Luckow-Nielsen [EMAIL PROTECTED]: Yes, that is my impression as well. Never heard of rootline. +1, http://en.wikipedia.org/wiki/Breadcrumb_(navigation) ++ -- Nicolas Perriault http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com Phone: +33 660 92 08 76

[symfony-users] Re: *BEST* validation practice?

2008-05-20 Thread Nicolas Perriault
and define its validation rules - you can create and validate forms programatically (the validation schema is the real thing you're looking for I guess) - you maintain php classes, not unvalidateable YAML syntax - as a bonus, you can use the 1.1 forms framework in a 1.0 project ++ -- Nicolas

[symfony-users] Re: *BEST* validation practice?

2008-05-20 Thread Nicolas Perriault
. Stay tuned :) ++ -- Nicolas Perriault http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com Phone: +33 660 92 08 76 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users group. To post

[symfony-users] Re: propel-load-data

2008-05-20 Thread Nicolas Perriault
()-getUser()) { return parent::save(); } if ($this-isNew()) { $this-setCreatedBy($user-getUserId()); } if ($this-isModified()) { $this-setUpdatedBy($user-getUserId()); } parent::save(); } ++ -- Nicolas Perriault http://prendreuncafe.com - http

[symfony-users] Re: I18n cache problem

2008-05-16 Thread Nicolas Perriault
2008/5/16 David Desquiens [EMAIL PROTECTED]: My site has French and English cultures. If I go to English, footer stay in French. You may try to set the culture in the sf_cache_key parameter in your partial/component call: ?php include_partial('global/footer', array('sf_cache_key' =

[symfony-users] Re: Problems with translation and I18N

2008-05-16 Thread Nicolas Perriault
2008/5/16 Reynier Perez Mira [EMAIL PROTECTED]: trans-unit id=1 source nombre_licencia /source target Listar /target /trans-unit You must use this format: trans-unit

[symfony-users] Re: Symfony 1.1 Permissions error

2008-05-16 Thread Nicolas Perriault
2008/5/16 Keith [EMAIL PROTECTED]: When I access: http://www.sandbox.dev/sf/sf_default/images/sfTLogo.png I get 403 Forbidden error Any suggestions? Try to add this rule to your vhost : Directory /usr/share/pear/data/symfony/web/sf AllowOverride All Allow from All /Directory I have

[symfony-users] Re: Symfony 1.1 Permissions error

2008-05-16 Thread Nicolas Perriault
2008/5/16 Keith [EMAIL PROTECTED]: That is already in there. Yes, sorry I'm blind today. So try: # chown -R www-data /usr/share/pear/data/symfony/web/sf # chmod -R ugo+r /usr/share/pear/data/symfony/web/sf ++ -- Nicolas Perriault http://prendreuncafe.com - http://symfonians.net - http

[symfony-users] Re: Best way to test sending of emails in development?

2008-05-15 Thread Nicolas Perriault
2008/5/15 markchicobaby [EMAIL PROTECTED]: Does anyone test sending of emails in a WAMP or Windows development environment? You can fake a mail sending system using the sfEmail plugin: http://trac.symfony-project.com/wiki/sfEmailPlugin ++ -- Nicolas

[symfony-users] Re: sf_request an instance of?

2008-05-15 Thread Nicolas Perriault
2008/5/15 Sumedh [EMAIL PROTECTED]: ?php echo get_class($sf_request)? in my template...and I got nothing printed... :( Err, that's weird. What does say a var_dump($sf_request) ? And the method to use url_for would work for the URL's for which I have no rules...but what about the URL's that

[symfony-users] Re: Best way to test sending of emails in development?

2008-05-15 Thread Nicolas Perriault
2008/5/15 markchicobaby [EMAIL PROTECTED]: Hi Gilles, yes I tried to use the Google SMTP server. I couldn't get it working, I got an unhandled exception. See my forum post for my mailer.yml settings http://www.symfony-project.org/forum/index.php?t=rviewgoto=52076#msg_52076 GMail smtp

[symfony-users] Re: sf_request an instance of?

2008-05-14 Thread Nicolas Perriault
On 14 mai 2008 15:29, Sumedh [EMAIL PROTECTED] wrote: $sf_request is an instance of sfRequest and not sfWebRequest right? In a web context, $sf_request is typed as sfWebRequest (try a var_dump($sf_request)). I want to convert my relative Home link to an absolute one...for SEO... Try ?php

[symfony-users] Re: Using setDistinct with sfPropelPager

2008-05-11 Thread Nicolas Perriault
sfPropelPager('Product', 5); $pager-setPeerMethod('doSelectWithI18n'); $pager-setCriteria($c); HTH ++ -- Nicolas Perriault http://prendreuncafe.com/blog GSM: 06.60.92.08.67 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[symfony-users] Re: customize error 500(include a partial)

2008-05-10 Thread Nicolas Perriault
are standalone php script (symfony is not bootstraped when the file is executed.) and php syntax is also not working Well, *that* is weird :) ++ -- Nicolas Perriault http://prendreuncafe.com/blog GSM: 06.60.92.08.67 --~--~-~--~~~---~--~~ You received this message

[symfony-users] Re: Symfony and credentials

2008-05-07 Thread Nicolas Perriault
, you can do the following in your app security.yml: all: is_secure: on credentials: admin Then override this base configuration in modules and actions by case, if you need, eg. the sfGuardAuth/login action: login: is_secure: off ++ -- Nicolas Perriault http://prendreuncafe.com/blog GSM

[symfony-users] Re: Accessing model from helper

2008-05-06 Thread Nicolas Perriault
. ++ -- Nicolas Perriault http://prendreuncafe.com/blog GSM: 06.60.92.08.67 --~--~-~--~~~---~--~~ 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

[symfony-users] Re: Accessing model from helper

2008-05-06 Thread Nicolas Perriault
Le 6 mai 08 à 22:28, Tom Haskins-Vaughan a écrit : So I there shouldn't be any problem accessing the model (having a peer method) inside the helper? Nope, just have a look to symfony's ObjectHelper.php functions to reassure yourself :) ++ -- Nicolas Perriault http://prendreuncafe.com Tél

[symfony-users] Re: sessions using multiple applications concurrently

2008-05-04 Thread Nicolas Perriault
-the-Controller-Layer#Session%20Management ++ -- Nicolas Perriault http://prendreuncafe.com Tél: +33 6 60 92 08 67 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email

[symfony-users] Re: Best practice for listing number of entries in categories

2008-05-04 Thread Nicolas Perriault
://symfonians.org/browser/trunk/lib/model/ApplicationPeer.php#L158 HTH ++ -- Nicolas Perriault http://prendreuncafe.com/blog GSM: 06.60.92.08.67 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users group. To post

[symfony-users] Re: Correct Routed URL for AJAX in an external .js file

2008-05-04 Thread Nicolas Perriault
you can query with services.barService.url to construct your xmlHttpRequest instances. That's maybe not the clever way to do so but it was quite useful. HTH ++ -- Nicolas Perriault http://prendreuncafe.com/blog GSM: 06.60.92.08.67 --~--~-~--~~~---~--~~ You

[symfony-users] Re: Announce: New sfSyncClusterPlugin Available

2008-05-03 Thread Nicolas Perriault
for that. ++ -- Nicolas Perriault http://prendreuncafe.com/blog GSM: 06.60.92.08.67 --~--~-~--~~~---~--~~ 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: Correct Routed URL for AJAX in an external .js file

2008-05-03 Thread Nicolas Perriault
with form tag. With the Ajax request detection provided by symfony, you can then use the same actions for both Ajax and non-Ajax request processing, decorating or not your template. HTH ++ -- Nicolas Perriault http://prendreuncafe.com/blog GSM: 06.60.92.08.67

[symfony-users] Re: off topic: svn gui for OS X

2008-05-02 Thread Nicolas Perriault
not that hard and you always know what you are doing :) ++ -- Nicolas Perriault http://prendreuncafe.com/blog GSM: 06.60.92.08.67 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send

[symfony-users] Re: Route named editar_dvd have a mandatory id_licencia parameter

2008-05-01 Thread Nicolas Perriault
Le 1 mai 08 à 02:43, Reynier Perez Mira a écrit : [sfException] Route named editar_dvd have a mandatory id_licencia parameter Try to invert the editar_dvd and form_editar_dvd routes ++ -- Nicolas --~--~-~--~~~---~--~~ You received this message because you

[symfony-users] Re: extends sfActions problem in a common lib

2008-05-01 Thread Nicolas Perriault
Le 1 mai 08 à 22:54, Olivier LOYNET a écrit : What is missing ? You must extend your module actions class with your custom actions class : ?php class myModuleActions extends myGlobalActions { } ++ -- Nicolas --~--~-~--~~~---~--~~ You received this message

[symfony-users] Re: extends sfActions problem in a common lib

2008-05-01 Thread Nicolas Perriault
myUser class instead :) ++ -- Nicolas Perriault http://prendreuncafe.com/blog GSM: 06.60.92.08.67 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony

  1   2   3   >