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 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 a vulnerability issue on symf

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

2009-12-11 Thread Nicolas Perriault
ould you prevent the original 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" grou

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

2009-12-11 Thread Nicolas Perriault
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 "symfon

[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.

[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 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 6

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

2009-11-10 Thread Nicolas Perriault
uleGeneratorHelper { } 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 recei

[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 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 - h

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

2009-11-09 Thread Nicolas Perriault
ed with an ORM, 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 ht

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

2009-11-09 Thread Nicolas Perriault
solve your 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

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

2009-08-26 Thread Nicolas Perriault
o I'd be glad to got some help from 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 --~--~-~--~~~---~--

[symfony-users] Re: Doctrine Sluggable auto update

2009-07-01 Thread Nicolas Perriault
gable 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

[symfony-users] Re: Validator for wysiwyg

2009-06-19 Thread Nicolas Perriault
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
om 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
lly wrote this part 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 G

[symfony-users] Re: I18N of sfWidgetFormChoice

2009-01-12 Thread Nicolas Perriault
a translation callable by using: $widgetSchema->getFormFormatter()->setTranslationCallable(array(new myI18n(), 'text to translate')); More information here http://bit.ly/6sNm ++ -- Nicolas Perriault http://prendreuncafe.com - http://symfonians.net - http://sensiola

[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 re

[symfony-users] Re: output in functional test

2009-01-03 Thread Nicolas Perriault
ppose because of the html output ??? The debug() 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

[symfony-users] Re: set 'required' messages form all widgets..

2008-12-21 Thread Nicolas Perriault
#x27;This is required'); And also sfValidatorBase::setInvalidMessage('That is invalid'); ++ -- Nicolas Perriault http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com Phone: +33 660 92 08 67 --~--~-~--~~~---~--~~ You received this message becau

[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 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://prendreunca

[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 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 - http://sym

[symfony-users] Re: New Routing: sf_format

2008-12-14 Thread Nicolas Perriault
module's function only? 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://sen

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

2008-12-10 Thread Nicolas Perriault
Or maybe enable the compat_10 setting... There are so many ways with symfony :-) ++ -- Nicolas Perriault http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com Phone: +33 660 92 08 67 --~--~-~--~~~---~--~~ You received this message because you are subs

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

2008-12-09 Thread Nicolas Perriault
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: sfdoctrinetreeplugin

2008-12-04 Thread Nicolas Perriault
sfDoctrineTreePlugin/0_9_1?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

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

2008-12-04 Thread Nicolas Perriault
using this .htaccess 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 --~--~-~--~~~---~--~---

[symfony-users] Re: What about the Symfony Guide ...

2008-12-01 Thread Nicolas Perriault
he the content seen in the first day. ++ -- 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 "s

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

2008-12-01 Thread Nicolas Perriault
ropel:build-filters Then symfony cc ++ -- 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: [SF1.2] Admin generator

2008-11-26 Thread Nicolas Perriault
rms and propel:build-filters (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 thi

[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 Sorry -- Nicolas Perriault http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com Phone: +33

[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://

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

2008-10-30 Thread Nicolas Perriault
e this one works out of the box: 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 this message becaus

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

2008-10-19 Thread Nicolas Perriault
ass by hand: http://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 messag

[symfony-users] Re: sf_format parameter for get_partial

2008-10-11 Thread Nicolas Perriault
o include my html partials, as symfony > automatically 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 h

[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://symfon

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

2008-10-03 Thread Nicolas Perriault
roller. Then just 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 subsc

[symfony-users] Re: where is the sfForm book chapter 5 ?

2008-10-02 Thread Nicolas Perriault
On Thu, Oct 2, 2008 at 6:56 PM, Olivier Mansour <[EMAIL PROTECTED]> wrote: > can you give me a hint to begin creating a formater ? For exemple, where in > the sf code the default formater are stored ? I cant find the files. In lib/widget/sfWidgetFormSchemaFormatter*.class.php ++

[symfony-users] Re: Create an url ton the symfony project in a task

2008-10-02 Thread Nicolas Perriault
On Thu, Oct 2, 2008 at 5:21 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > What did you think ? Ugly but efficient solution, at the init state of your task: $_SERVER['HTTP_HOST'] = 'toto.com'; // yeah, I know, I know ++ -- Nicolas Perriault ht

[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://symfonian

[symfony-users] Re: problems updating form

2008-09-30 Thread Nicolas Perriault
>save(); Ou encore : $this->form->bind(array_merge($request->getParameter('blog'), array('name' => 'tralala'))); if ($this->form->isValid()) { $blog = $this->form->save(); ++ -- Nicolas Perriault

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

2008-09-29 Thread Nicolas Perriault
have a centralized 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

[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. ++ -- Nic

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

2008-09-29 Thread Nicolas Perriault
t; The name of the Email 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://sensio

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

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

[symfony-users] Re: Registering Behaviors in 1.1

2008-09-28 Thread Nicolas Perriault
e formatting is somewhat 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 G

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

2008-09-27 Thread Nicolas Perriault
://svn.symfony-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://

[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://prendreu

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

2008-09-26 Thread Nicolas Perriault
.class.php. Then you can use $foo = 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

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

2008-09-24 Thread Nicolas Perriault
t;first_name" and "last_name" columns. ++ -- 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] Re: Tutorial: How migrate/change a website in producction

2008-09-24 Thread Nicolas Perriault
transformation, I've now ended up with doing 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 --~--~-~--~~-

[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

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

2008-09-19 Thread Nicolas Perriault
1.1 > and 1.1.2 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 - ht

[symfony-users] Re: sf_user?

2008-09-17 Thread Nicolas Perriault
may happen when you're using 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 --~--~-~--~~-

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

2008-09-17 Thread Nicolas Perriault
aFormatter() } Try $this->widgetSchema->getSchemaFormatter()->setTranslationCatalogue('contact_form'); ++ -- Nicolas Perriault http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com Phone: +33 660 92 08 67 --~--~-~--~~~---~--~--

[symfony-users] Re: Captcha for symfony 1.1

2008-09-14 Thread Nicolas Perriault
sfFormExtraPlugin ++ -- 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.

[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

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

2008-08-29 Thread Nicolas Perriault
NG in > /www/signups/lib/model/om/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

[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. Oka

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

2008-08-26 Thread Nicolas Perriault
you wish), 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

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

2008-08-26 Thread Nicolas Perriault
ible? Maybe by adding a "requirements" ruleset in your route definition, like this: myroute: url: /:sf_culture/:blah param: { module: foo, action: bar} requirements: { sf_culture: [a-z]{2} } (note that I did not check the syntax, but you see the point) ++ -- Nicolas Perriault

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

2008-08-22 Thread Nicolas Perriault
f you use symfony 1.0, you can take 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://sensiola

[symfony-users] Re: How to show a custom sfException page in _prod?

2008-07-17 Thread Nicolas Perriault
useful with them. ++ -- 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.

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

2008-07-15 Thread Nicolas Perriault
actions templates, eg. aboutUsSuccess: 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

[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.n

[symfony-users] Re: remote lookup

2008-07-14 Thread Nicolas Perriault
so do the trick, for sure. ++ -- 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 us

[symfony-users] Re: Symfony 1.1 unset form widget

2008-07-14 Thread Nicolas Perriault
} } But this won't prevent exceptions to be thrown if you call these fields within a template ;-) ++ -- Nicolas Perriault http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com Phone: +33 660 92 08 67 --~--~-~--~~~---~--~~ You received

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

2008-07-12 Thread Nicolas Perriault
es me think that this will be "a bit" redundant with the new input filtering implementation planned for 1.2... ++ -- Nicolas Perriault http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com Phone: +33 660 92 08 67 --~--~-~--~~~---~--~~ You rece

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

2008-07-12 Thread Nicolas Perriault
Propel object and know its properties, so this would be a bit tricky to handle I guess (I mean, big Fatals to expect). ++ -- Nicolas Perriault http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com Phone: +33 660 92 08 67 --~--~-~--~~~---~--~~

[symfony-users] Re: Symfony database connection problem

2008-07-11 Thread Nicolas Perriault
file (my.cnf). > My 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 Ph

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

2008-07-11 Thread Nicolas Perriault
components.class.php) and you're done. ++ -- 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 "sy

[symfony-users] Re: Escaping in partials

2008-07-08 Thread Nicolas Perriault
core devs want to be sure you can always expect escaped 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

[symfony-users] Re: Escaping in partials

2008-07-07 Thread Nicolas Perriault
w('heading') ?> or getRawValue() ?> ++ -- 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 &quo

[symfony-users] Re: Model class not found

2008-07-06 Thread Nicolas Perriault
actually exist? 2. Even if it's 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

[symfony-users] Re: Struggling with global validators in sf1.1 form framework

2008-07-06 Thread Nicolas Perriault
schema validator and assign it as a post validator, so you'll have the whole fields values to deal with and validate them. ++ -- Nicolas Perriault http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com Phone: +33 660 92 08 76 --~--~-~--~~~---~-

[symfony-users] Re: Files to Secure in an Open Source Application

2008-07-06 Thread Nicolas Perriault
ease a Propel based plugin, you should svn:ignore its lib/model/om/* and lib/model/map/* to allow people to customize their propel.ini file, eg. enabling comments generation or behaviors. ++ -- Nicolas Perriault http://prendreuncafe.com - http://symfonians.net - http://sensiol

[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

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

2008-07-01 Thread Nicolas Perriault
svn/branches/1.1 /usr/share/php/symfony11 $ sudo ln -s /usr/bin/symfony10 /usr/share/php/symfony10/data/bin/symfony $ sudo ln -s /usr/bin/symfony11 /usr/share/php/symfony11/data/bin/symfony $ symfony10 -V $ symfony11 -V Cheers, -- Nicolas Perriault http://prendreuncafe.com - http://symfonian

[symfony-users] Re: project:upgrade1.1 doesn't work?

2008-07-01 Thread Nicolas Perriault
documentation on how to upgrade a project to version 1.1? ... everything is explained here: http://trac.symfony-project.com/browser/branches/1.1/UPGRADE ++ -- Nicolas Perriault http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com

[symfony-users] Re: domain prefix handling

2008-07-01 Thread Nicolas Perriault
mple here: http://symfonians.org/browser/branches/1.0/apps/main/lib/i18nSubdomainFilter.class.php That's what's used in symfonians.net ++ -- Nicolas Perriault http://prendreuncafe.com - http://symfonians.net - http://sensiolabs.com Phone: +33 660 92 08 76 --~--~-~--~~

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

2008-06-29 Thread Nicolas Perriault
tools/pdt/downloads/ ++ -- 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

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

2008-06-27 Thread Nicolas Perriault
vided - when requested as json 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://sensiola

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

2008-06-27 Thread Nicolas Perriault
eedUrlForm(); $form->bind($request->getParameter('params')); $errors = array(); foreach ($form->getErrorSchema()->getErrors() as $field => $error) { $errors[$field] = $error->getMessage(); } $this->getResponse()->setContentType('application/json&#

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

2008-06-19 Thread Nicolas Perriault
really help. ++ -- 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.

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

2008-06-08 Thread Nicolas Perriault
a NFS directory 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 su

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

2008-06-04 Thread Nicolas Perriault
i18n mapping within 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" g

[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://sy

[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 ' > > 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:/

[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. ++

[symfony-users] Re: User Registration

2008-05-22 Thread Nicolas Perriault
ing features 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 receiv

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

2008-05-21 Thread Nicolas Perriault
e of the user class: public function save($con = null) { if (!sfContext::getInstance()->getUser() instanceof sfGuardSecurityUser) { return parent::save($con); } // ... } I dont really like these approachs but they may solve your problem... ++ -- Nicolas Perriault http://prendreuncaf

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

2008-05-21 Thread Nicolas Perriault
return parent::save(); } 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

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

2008-05-21 Thread Nicolas Perriault
like sfNoStorage, dont 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

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

2008-05-20 Thread Nicolas Perriault
sfContext::getInstance()->getUser()) { return parent::save(); } if ($this->isNew()) { $this->setCreatedBy($user->getUserId()); } if ($this->isModified()) { $this->setUpdatedBy($user->getUserId()); } parent::

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

2008-05-20 Thread Nicolas Perriault
ished really soon, now. 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 "sy

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

2008-05-20 Thread Nicolas Perriault
ropel object 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

[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 P

[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://symfoni

[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 : AllowOverride All Allow from All > I have made the /sf directory accessible to everyone for re

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

2008-05-16 Thread Nicolas Perriault
2008/5/16 Reynier Perez Mira <[EMAIL PROTECTED]>: > > >nombre_licencia > > >Listar > > You must use this format: nombre_licencia Listar The text in the tag must

[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: $sf_user->getCulture())) ?> HTH ++ -- Nicolas --~--~-

[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=rview&goto=52076#msg_52076 GMail s

  1   2   3   >