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

2008-09-23 Thread roberto german puentes diaz
Hi to all I read the last post fo Fabien about Refactoring!! And it's help very much, not only for a newbies, also for anyone that want to know how work the symfony's mind :) Since i start with symfony, and participate at forums, a lot of people are asking a solution o how-to about "How migrate/ch

[symfony-users] structure advices

2008-09-23 Thread julien Bessiere
Hi, I'm new to symfony and I wonder how I should structure the website I'm working on. I plan to have to apps: frontend and backend. But within this apps, should I create one module per section (i.e. home, publications, news, research, team) or create just one module and different templates for eac

[symfony-users] Hottest startups contest...

2008-09-23 Thread Sumedh
First of all, I am sorry for posting something not relevant to Symfony...but I guess some aberration is good sometimes... :) Zamanzar (our startup - http://www.zamanzar.com) is part of "TATA NEN hottest startups" contest in India... You can help us win by voting here - http://tinyurl.com/vote-z

[symfony-users] symfony CMS - What areyou're requirements?

2008-09-23 Thread Christian Schaefer
Hi all, There's a new symfony related group: http://groups.google.com/group/symfony-cms The aim is to specify the requirements for a CMS that is build on symfony and later hopefully it's implementation. At the moment this is not about development or technology at all but about defining what a CM

[symfony-users] Re: dbFinder : sum()

2008-09-23 Thread Francois Zaninotto
Hi, Did you try: $article = sfPropelFinder::from('dbTimeBlock')-> withColumn('sum(dbTimeBlock.Total)', 'total')-> findOne(); $sum = article->getColumn('total'); François 2008/9/23 DigitalBase <[EMAIL PROTECTED]>: > > Hi, we are using propel addSelectColumn functionality to do a SUM on > da

[symfony-users] Re: sfEasyGMapPlugin: a new plugin to quickly add a Google Map to a symfony project

2008-09-23 Thread DigitalBase
we tried the plugin on symfony 1.0.17, it works fine thanks alot, very good plugin On Sep 23, 10:43 am, nico <[EMAIL PROTECTED]> wrote: > Plugin is working fine for me. > > Thanks Fabrice :) > > On Sep 23, 4:50 am, James <[EMAIL PROTECTED]> wrote: > > > Cool, I'll give it a download and give it a

[symfony-users] Re: input_auto_complete_tag help

2008-09-23 Thread DigitalBase
The best way is to not use the input_auto_complete_tag helper but use the generated input element + javascript. And then pass form values to the action you are calling, something like this (i copy pasted it from another project).

[symfony-users] dbFinder : sum()

2008-09-23 Thread DigitalBase
Hi, we are using propel addSelectColumn functionality to do a SUM on database level without object hydratation like this : $c = new Criteria(); $c->addSelectColumn('sum('.dbTimeBlockPeer::TOTAL.') as total'); $rs = dbTimeBlockPeer::doSelectRS($c); while ($rs->next()) { $total = $rs->getInt(1); }

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

2008-09-23 Thread peterVG
Done. See http://trac.symfony-project.org/ticket/4470 FYI: 1.1.3 milestone was not available on the picklist so I tagged it as 1.1.2 Cheers, --peterVG On Sep 22, 9:59 pm, "Nicolas Perriault" <[EMAIL PROTECTED]> wrote: > On Tue, Sep 23, 2008 at 2:23 AM, Cristiano Betta <[EMAIL PROTECTED]> wrot

[symfony-users] Re: input_auto_complete_tag help

2008-09-23 Thread manghi
Is anybody there to help me out with this ?? On Sep 23, 9:45 pm, manghi <[EMAIL PROTECTED]> wrote: > Obviously i am calling this function inside a form. This function only > posts the value of the form element in which the autocomplete is > configured, but I also need to know values of other form

[symfony-users] input_auto_complete_tag help

2008-09-23 Thread manghi
Obviously i am calling this function inside a form. This function only posts the value of the form element in which the autocomplete is configured, but I also need to know values of other form elements so that I can create the selection list properly. For example: 'off'),

[symfony-users] Re: Shared hosting, Symfony and PHP

2008-09-23 Thread rpblz
hi, have you try any plesk 8+ hosting (shared, vps or dedicate) ? Even shared hosting over plesk have its own separate directory tree and it's possible to deploy a symfony project over linux and windows box. On Sep 22, 1:21 pm, Eno <[EMAIL PROTECTED]> wrote: > On Fri, 19 Sep 2008, Ant Cunningham

[symfony-users] Re: sfEasyGMapPlugin: a new plugin to quickly add a Google Map to a symfony project

2008-09-23 Thread nico
Plugin is working fine for me. Thanks Fabrice :) On Sep 23, 4:50 am, James <[EMAIL PROTECTED]> wrote: > Cool, I'll give it a download and give it a try. :-D > > James > > On Sep 22, 2008, at 7:40 PM, Fabrice B wrote: > > > > > I have not fully understood how to configure pear install for both >

[symfony-users] Re: plugins in the new admin generator?

2008-09-23 Thread Saganxis
Great to hear about that!! On 23 sep, 02:57, "Bernhard Schussek" <[EMAIL PROTECTED]> wrote: > You are basically right. The new generator will not generate much code > anymore, but will be based on the form framework and a new datagrid > class. > > Bernhard > > On Mon, Sep 22, 2008 at 8:54 PM, Sag

[symfony-users] Re: simple question about form elements definitions

2008-09-23 Thread Saganxis
ok i unserstand that, but can not be sfFormSelect instead of sfWidgetFormSelect??? I know it's a silly thing but it make the code shortest when you have a lot of elements declared On 23 sep, 01:59, "Sid Bachtiar" <[EMAIL PROTECTED]> wrote: > My guess is that a widget might not be a form elem

[symfony-users] Re: Fatal error: Cannot instantiate interface

2008-09-23 Thread Vincent Majer
oh, ok, thanks for the explanation ! === Cordialement, Vincent Majer, Travelinks Thomas Rabaix a écrit : > Connection is a reserved class name. you cannot have a class name > called Connection. > > Thomas > > On Tue, Sep 23, 2008 at 12:56 PM, Vincent Majer > <[EMAIL PROTECTED]> wr

[symfony-users] Re: enable show sql queries in web debug toolbar with propel plugin 1.3 ??

2008-09-23 Thread AlphaX
Edit: debug/sfWebDebug.class.php $log = $this->formatLogLine($log); // sql queries log - if (preg_match('/execute(?:Query|Update).+?\:\s+(.+)$/', $log, $match)) + if (preg_match('/\b(SELECT|INSERT|UPDATE|DELETE)\b/', $log, $match)) { - $sqlLogs[] .= $match[1]; + $sqlLogs[] .= $log; } ++$line_nb

[symfony-users] Re: Fatal error: Cannot instantiate interface

2008-09-23 Thread Thomas Rabaix
Connection is a reserved class name. you cannot have a class name called Connection. Thomas On Tue, Sep 23, 2008 at 12:56 PM, Vincent Majer <[EMAIL PROTECTED]> wrote: > > Hi, > > Sorry for my english. > > I can't understand why i have this error : > Fatal error: Cannot instantiate interface Conn

[symfony-users] Re: OR statements in Creole

2008-09-23 Thread halfer
On Sep 16, 12:02 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > I'm populating a friends list and I'm wondering how to write an SQL > statement like: > > SELECT * FROM friend WHERE senderId = '$id' OR targetId = '$id' You may find my Criteria Generator of use - http://propel.jondh.me.uk. I

[symfony-users] Re: enable show sql queries in web debug toolbar with propel plugin 1.3 ??

2008-09-23 Thread halfer
On Sep 23, 11:42 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > is it possible to enable show > sql queries in web debug toolbar with propel plugin 1.3 ?? I believe a patch is available on the forum if you want to try it out. It should be fairly easy to find with a search. --~--~-~-

[symfony-users] Fatal error: Cannot instantiate interface

2008-09-23 Thread Vincent Majer
Hi, Sorry for my english. I can't understand why i have this error : Fatal error: Cannot instantiate interface Connection in /var/www/pwdManager/plugins/sfPropelPlugin/lib/propel/form/sfFormPropel.class.php on line 41 i have NO errors when i run : symfony propel:generate-crud frontend connec

[symfony-users] enable show sql queries in web debug toolbar with propel plugin 1.3 ??

2008-09-23 Thread [EMAIL PROTECTED]
is it possible to enable show sql queries in web debug toolbar with propel plugin 1.3 ?? --~--~-~--~~~---~--~~ 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@googl