[symfony-users] Re: Symfony 2 - "Extremly Configurable"

2010-02-23 Thread michael.pie...@googlemail.com
Oh, i can see something happening here ;o) http://github.com/fabpot/symfony/commit/22e310e24014f7873721359f7f3c7eca17b9b933 Michael On 22 Feb., 14:04, Fabien Potencier wrote: > On 2/20/10 11:03 AM, michael.pie...@googlemail.com wrote: > > hehe, good catch ;) > > To avoid down

[symfony-users] Re: Symfony 2 - "Extremly Configurable"

2010-02-23 Thread michael.pie...@googlemail.com
Oh, i can see something happening here ;o) http://github.com/fabpot/symfony/commit/22e310e24014f7873721359f7f3c7eca17b9b933 Michael On 22 Feb., 14:04, Fabien Potencier wrote: > > hehe, good catch ;) > > To avoid downloading all the debug toolbar information in the same > request (as this can be

[symfony-users] Re: Symfony 2 - "Extremly Configurable"

2010-02-23 Thread michael.pie...@googlemail.com
em. But it's great to know that if you need > >> to customize something, that's just possible. > > >> Fabien > > >> -- > >> Fabien Potencier > >> Sensio CEO - symfony lead developer > >> sensiolabs.com | symfony-project.org | fa

[symfony-users] Re: Question about Symfony 2.0

2010-02-23 Thread michael.pie...@googlemail.com
I hate to say it, because it means a lot of work for me too, but BC kills innovation. As Symfony 2 already introduce some new (core) concepts, it shouldn't change the course because of BC. I mean, it'll be a difficult migration from symfony 1 anyway. Oh, and i didn't mentioned Doctrine 2 :o) Mich

[symfony-users] Re: Symfony 2 - "Extremly Configurable"

2010-02-22 Thread michael.pie...@googlemail.com
04, Fabien Potencier wrote: > On 2/20/10 11:03 AM, michael.pie...@googlemail.com wrote: > > > That sounds good. And yes, the sandbox already demonstrates the bundle > > concept, and how a project could be layed down. I'm already playing > > around with it ;o) > > >

[symfony-users] Re: Symfony 2 - "Extremly Configurable"

2010-02-20 Thread michael.pie...@googlemail.com
mfony lead developer > sensiolabs.com | symfony-project.org | fabien.potencier.org > Tél: +33 1 40 99 80 80 > > On 2/19/10 3:42 PM, michael.pie...@googlemail.com wrote: > > > > > Very very very impressive Symfony 2 ... ! > > > I watched parts of the conference (thanks to Ben Haines),

[symfony-users] Symfony 2 - "Extremly Configurable"

2010-02-19 Thread michael.pie...@googlemail.com
Very very very impressive Symfony 2 ... ! I watched parts of the conference (thanks to Ben Haines), i read the blogs, i watched the slides, i tried the sandbox ... really, very impressive. I also watched the presentation from Fabien himself (http:// www.slideshare.net/fabpot/symfony-20-revealed)

[symfony-users] Re: Required fields i18n

2009-10-23 Thread michael.pie...@googlemail.com
e user may choose for himself if he wants to make his content > available in other languages. > > On 23 okt, 14:44, "michael.pie...@googlemail.com" > > > > wrote: > > I'm not sure i understand you ... > > > This works for me when i want the 'nam

[symfony-users] Re: Required fields i18n

2009-10-23 Thread michael.pie...@googlemail.com
name' widget, but only for the specified language. On 23 Okt., 13:36, Alexandre SALOME wrote: > Well, i think you mean : "fill all the required, or none" ? > > Because this is good for en, but what if 2 objects of the same class does > not fill the same language... > >

[symfony-users] Re: Required fields i18n

2009-10-23 Thread michael.pie...@googlemail.com
I solved it this way: In your form configure method (i18n form): /* set required if object culture is 'en' */ $required = ($this->getObject()->getCulture() === 'en') ? true : false; $this->setValidators(array( 'name'=> new sfValidatorString(array('required' => $required)), )); Hope th

[symfony-users] Re: Symfony has definitely become too complicated framework

2009-09-25 Thread michael.pie...@googlemail.com
; framework when you are ready. A lot of things are this way in symfony and > you are in no way compelled to use every plugin/feature that symfony > provides. > > On Fri, Sep 25, 2009 at 12:16 PM, michael.pie...@googlemail.com < > > > > > > michael.pie...@googlemail.

[symfony-users] Re: Symfony has definitely become too complicated framework

2009-09-25 Thread michael.pie...@googlemail.com
Sid Ferreira, and everyone complaining about the new forms, you don't have to use them for simple things! Just post your raw html form to an action, handle it with getPostParameter() and do something with it. It is NOT TRUE that you have to learn a lot of stuff just to do simple things. I don't

[symfony-users] Re: audit columns with propel?

2009-04-24 Thread michael.pie...@googlemail.com
Hi, http://www.symfony-project.org/plugins/sfPropelActAsSignableBehaviorPlugin Michael On 24 Apr., 16:11, Roland Cruse wrote: > Hi > > Using symfony 1.2/propel does anyone have any tips or links for > transparently updating/inserting audit columns (created_at, > created_by, updated_at, modif

[symfony-users] Re: how long can user be log in ?

2009-04-12 Thread michael.pie...@googlemail.com
rate_shortest_url:true > extra_parameters_as_query_string: true > user: > class: myUser > param: > timeout: 86400 > > Don't be so cruel for me. xD > > On 12 Kwi, 15:54, "michael.pie...@googlemail.com" > > wrote: > >

[symfony-users] Re: how long can user be log in ?

2009-04-12 Thread michael.pie...@googlemail.com
It's as always in the docs. Will you read them once in your life? http://www.symfony-project.org/book/1_2/06-Inside-the-Controller-Layer#chapter_06_sub_session-management Michael On 12 Apr., 11:35, dziobacz wrote: > Where can I check in symfony max log in time ? Is it possible ? > > On 12 Kwi

[symfony-users] Re: I have a question about csrf protection in links.

2009-04-11 Thread michael.pie...@googlemail.com
:( !! What can I do ? :(((( > > On 11 Kwi, 08:38, "michael.pie...@googlemail.com" > > > > wrote: > > I think you misunderstood the concept behind it. > > CSRFProtection is used in forms, not in simple links. > > > Michael > > > On 10 Apr.

[symfony-users] Re: I have a question about csrf protection in links.

2009-04-10 Thread michael.pie...@googlemail.com
I think you misunderstood the concept behind it. CSRFProtection is used in forms, not in simple links. Michael On 10 Apr., 15:40, dziobacz wrote: > I have read about csrf protection but I still don't understand > everything. > > I have in settings.yml: > csrf_secret:       secret12 > > I have

[symfony-users] Re: could somebody give me some tutorial or tell how I can create my own error page ?

2009-04-02 Thread michael.pie...@googlemail.com
Sorry beeing so short, but almost anything you ask is explained in the docs. Michael On 2 Apr., 12:35, dziobacz wrote: > could somebody give me some tutorial or tell how I can create my own > error page ? --~--~-~--~~~---~--~~ You received this message because y

[symfony-users] Re: mysql extension not loaded

2009-03-31 Thread michael.pie...@googlemail.com
Sometimes there are two different *.ini locations for php: one for CLI and one for the webserver. You should check that out. Michael On 31 Mrz., 08:53, sachin jain wrote: > [PropelException] > [wrapped: mysql extension not loaded [User Info: Array]] > > in linux I am am getting what could be

[symfony-users] Re: Why should I write queries like this?

2009-03-26 Thread michael.pie...@googlemail.com
Another thing i like with peer constants is code-autocompletion. So when i type "PasswordLabelPeer::" i can quickly select the columns ... Michael On 26 Mrz., 09:17, Sid Bachtiar wrote: > Fixing misspelled table names from previous developer, changing table > names prefixes, configurable tabl

[symfony-users] Re: routing, link_to, culture

2009-03-26 Thread michael.pie...@googlemail.com
I think this should be: Michael On 25 Mrz., 22:20, lowshoe wrote: > hi all, > > i have problems in using link_to in conjunction with sf_culture. > > suppose i have the following routing.yml: > > # route for articles > article: >   url:    /:sf_culture/article/details/:article_id >   param:  

[symfony-users] Re: How to access sfWebRequest object from the model

2009-03-21 Thread michael.pie...@googlemail.com
sfContext::getInstance()->getRequest() Michael On 21 Mrz., 03:00, Benjamin wrote: > Hello, > > In my user model I would like to capture the user's ip address for new > records in the user->save() event.  I am using symfony 1.2.  What is > the best way to access the sfWebRequest object from wit

[symfony-users] Re: Propel 1.3 nestedset strange behavior

2009-03-06 Thread michael.pie...@googlemail.com
May i jump in ;o) I wonder, because moving a node with all it's descendants and children down to one descendant cannot work, or am i wrong? By moving a node you are also moving all nodes beneath it (descendants and children too), so this can't work, because the node you are moving to is not prese

[symfony-users] Re: user's profile - why I can't simply add column to sf_guard_user table

2009-03-02 Thread michael.pie...@googlemail.com
:45, "michael.pie...@googlemail.com" wrote: > You should use plugins like they're supposed to be used. I don't use > it, but as far as i know the extra profile table IS for that. If you > do something else, then at your own risk, or you know what you are > doing and

[symfony-users] Re: user's profile - why I can't simply add column to sf_guard_user table

2009-03-02 Thread michael.pie...@googlemail.com
You should use plugins like they're supposed to be used. I don't use it, but as far as i know the extra profile table IS for that. If you do something else, then at your own risk, or you know what you are doing and how to deal with it. Michael On 2 Mrz., 07:52, dziobacz wrote: > I don't want c

[symfony-users] Re: How to access a custom added column in propel?

2009-02-28 Thread michael.pie...@googlemail.com
()) * > > > 60 * 1.1515) as distance'); //Jesus Christ! > > > >   $sum = RoutesPeer::doSelectStmt($c); > > > >   $total = array(); > > > >   while ($row = $sum->fetch(PDO::FETCH_NUM)) { > > >      $total[] = array( > > >      &

[symfony-users] Re: How to access a custom added column in propel?

2009-02-28 Thread michael.pie...@googlemail.com
/ 180)) * 180 / PI()) * > 60 * 1.1515) as distance'); //Jesus Christ! > >   $sum = RoutesPeer::doSelectStmt($c); > >   $total = array(); > >   while ($row = $sum->fetch(PDO::FETCH_NUM)) { >      $total[] = array( >      'distance' => $row[0], >     /

[symfony-users] Re: How to access a custom added column in propel?

2009-02-28 Thread michael.pie...@googlemail.com
doSelectRS is the right way to access an array. Example from propel docs: $rs = AuthorPeer::doSelectRS(new Criteria()); $names = array(); while($rs->next()) { $names[] = $rs->getString(2); } Michael On 28 Feb., 02:23, Joshua wrote: > On Feb 27, 6:51 pm, Eno wrote: > > > > > On Fri, 27 Feb

[symfony-users] Re: removing controller name from urls

2009-02-27 Thread michael.pie...@googlemail.com
You should really read the docs: http://www.symfony-project.org/book/1_2/09-Links-and-the-Routing-System#chapter_09_url_rewriting Look for "Rewriting Rules for Apache". Michael On 27 Feb., 21:25, slinky66 wrote: > Where do you configure symfony such that "index.php" is not required > in the

[symfony-users] Re: dynamically change database connection.

2008-12-09 Thread michael.pie...@googlemail.com
Look at the ysfDimensionPlugin plugin. Michael On 9 Dez., 08:35, "Ridvan Lakas ng Bayan S. Baluyos" <[EMAIL PROTECTED]> wrote: > Hi list, > > This is what I wanted to do. I want my application to dynamically change the > database connection parameters in the database.yml based from the URL. Do