[symfony-users] Re: Sending email through Symfony 1.0 CLI batch file

2008-08-28 Thread small
Sumedh, Exactly what Im after, im looking for the same thing, did you ever find out how to do it? Sherif On Aug 26, 3:23 pm, Sumedh <[EMAIL PROTECTED]> wrote: > How do I send parameters? :( > > Theemailtemplate is using some params that are usually sent in the > request... > > Now I want to send

[symfony-users] Re: sfSimpleForumPlugin doesn't distinguish between raw and displayed content

2008-08-28 Thread Exide
I appreciate the response and have submitted Ticket #4277. Thanks! - Exide On Aug 28, 12:40 am, "Francois Zaninotto" <[EMAIL PROTECTED] project.com> wrote: > Hi Exide, > > I think you should a) submit a ticket and a patch against the plugin's > HEAD revision if it solves the problem. > > Cheers

[symfony-users] DB Column starts with Integer.

2008-08-28 Thread Alex 'noetix' Joyce
Hi folks, I'm trying to use symfony with an existing database. One table has column names that start with integers. Parse error: syntax error, unexpected T_LNUMBER, expecting T_STRING in /www/signups/lib/model/om/BasePlanVoicePeer.php on line 86 // the file. const 13NUMBER_RATE = 'plan

[symfony-users] Symfony 1.1 forms

2008-08-28 Thread krassswr krasssswr
Hello, I'm new in working with symfony and I have some questions to ask. 1. I'm trying to use forms in frontend and I want some of fields in form to be displayed disabled aka not for editing. 2. I use admin generator to generate admin panel for one table and when I try to add new row I get error me

[symfony-users] Query in yml file

2008-08-28 Thread sandip limbachiya
hello how we can something display in yml file in symfony,so i am working in ultraeditor so any facility available for error checking than some error occur in yml file than which type we can find. --~--~-~--~~~---~--~~ You received this message because you are subs

[symfony-users] Re: get_partial (string , vars)?

2008-08-28 Thread Mohammad Ali Safari
One solution is to use the code of sfPHPView::renderFile($_sfFile). It's actually surprising that this functionality is not added to sfPHPView . it's a quite useful feature. --Mohammad On Thu, Aug 28, 2008 at 5:37 PM, Mohammad Ali Safari < [EMAIL PROTECTED]> wrote: > Hi > Is there a method in

[symfony-users] get_partial (string , vars)?

2008-08-28 Thread Mohammad Ali Safari
Hi Is there a method in symfony similar to get_partial(($templateName, $vars) that instead of $templatename gets a PHP string and decorates it? Hope I am clear. Something like get_string_partial('', array('var'=>'test')) --Mohammad --~--~-~--~~~---~--~~ You rece

[symfony-users] Re: Custom email sending action

2008-08-28 Thread Rod
Thanks for your help Daniel, it looks like pmEmail will work :) On Aug 28, 4:38 am, Richtermeister <[EMAIL PROTECTED]> wrote: > Hey Rod, > > have a look at the sfEmail Plugin, as it takes the email content and > writes it to a file. > You should be able to base your work on this and simply write

[symfony-users] Re: sfDoctrinePlugin updated to Doctrine 1.0.0-RC2

2008-08-28 Thread Charley Tiggs
Jon, Awesome! Thanks for all of your hard work! Much appreciated! Charley On Aug 28, 2008, at 2:28 PM, Jonathan Wage wrote: > Today I have updated the svn:external of sfDoctrinePlugin/trunk to use > 1.0.0-RC2. > > You can browse the 1.0 ChangeLogs to see what has changed. > > http://www.doct

[symfony-users] sfDoctrinePlugin updated to Doctrine 1.0.0-RC2

2008-08-28 Thread Jonathan Wage
Today I have updated the svn:external of sfDoctrinePlugin/trunk to use 1.0.0-RC2. You can browse the 1.0 ChangeLogs to see what has changed. http://www.doctrine-project.org/change_log/1_0_0_RC2 Thanks, -- Jonathan H. Wage Open Source Software Developer & Evangelist http://www.jwage.com --~--~

[symfony-users] Re: addJoin()

2008-08-28 Thread AlphaX
I need to adapt a file that has the following code below: [code] foreach ($table->getForeignKeys() as $fk) { // want to cover this case, but the code is not there yet. if ( $fk->getForeignTableName() != $table->getName() ) {

[symfony-users] Re: addJoin()

2008-08-28 Thread AlphaX
Thank you! Now my next job is to adapt it in PHP5ComplexPeerBuilder.php On 28 ago, 09:30, Tom Haskins-Vaughan <[EMAIL PROTECTED]> wrote: > Hope this helps: > > http://www.symfony-project.org/forum/index.php/m/43496/#msg_43446 > > > > AlphaX wrote: > > Hello, > > > The function addJoin () with Cr

[symfony-users] Re: addJoin()

2008-08-28 Thread Tom Haskins-Vaughan
Hope this helps: http://www.symfony-project.org/forum/index.php/m/43496/#msg_43446 AlphaX wrote: > Hello, > > The function addJoin () with Criteria: LEFT_JOIN creates a string as > follows: > > SELECT COUNT(table.ID) FROM table LEFT JOIN table2 ON > (table2.ID=table.ID) > > I need to add one

[symfony-users] Re: sfWidgetFormDateTime Rich format

2008-08-28 Thread Faidel
Hey Olivier, I believe not. This page (translated from Italian if you read that better) http://translate.google.com.au/translate?hl=en&sl=it&u=http://www.symfony.it/articoli/40/sostituire-lhelper-input_date_tag-in-symfony-11/&sa=X&oi=translate&resnum=1&ct=result&prev=/search%3Fq%3DsfWidgetFormD

[symfony-users] Re: Custom email sending action

2008-08-28 Thread Richtermeister
Hey Rod, have a look at the sfEmail Plugin, as it takes the email content and writes it to a file. You should be able to base your work on this and simply write the result to the database instead. Daniel On Aug 27, 3:14 pm, Rod <[EMAIL PROTECTED]> wrote: > Hi all, > I would like to write my o

[symfony-users] Re: Deleting from database by click

2008-08-28 Thread Richtermeister
Hey Fabian, I actually wonder if what you describe there would really help, and I can only see it applicable for the delete method, and I guess there would have to be an opportunity to determine the following redirect and optionally set a flash message... not sure it's worth the trouble, although

[symfony-users] addJoin()

2008-08-28 Thread AlphaX
Hello, The function addJoin () with Criteria: LEFT_JOIN creates a string as follows: SELECT COUNT(table.ID) FROM table LEFT JOIN table2 ON (table2.ID=table.ID) I need to add one more rule in table2, then what should I do to add one AND and shortly after the rule in the criteria? I would be thi

[symfony-users] Re: Change database username

2008-08-28 Thread Thomas Rabaix
Hello, Please note, i've not tested, but it should works 1. extends the sfContext, ie: myContext 2. overwrite the initialize method from the sfContext protected function initialize() { $this->logger = sfLogger::getInstance(); if (sfConfig::get('sf_logging_enabled')) { $this

[symfony-users] Re: sfSimpleForumPlugin doesn't distinguish between raw and displayed content

2008-08-28 Thread Francois Zaninotto
Hi Exide, I think you should a) submit a ticket and a patch against the plugin's HEAD revision if it solves the problem. Cheers, François 2008/8/27 Exide <[EMAIL PROTECTED]>: > > I just integrated sfSimpleForum_PayloadFilterChainPlugin into an > existing project and ran into some issues with s