[symfony-users] Sf 1.4 - Custom Filter - Doctrine_Core::set argument type error

2010-03-20 Thread Dennis Riedel
Hello List I use Symfony 1.4.4-DEV with Doctrine 1.2 on PHP5.3.1. I have added a custom filter to one of my backend lists. In my object´s Table class I have defined the following function: /** * Applies the document to a given query retrieving addressees to be filtered. * * @param Doctr

[symfony-users] Re: Using sf 2.0

2010-03-20 Thread Sid Ferreira
Hi Jon! Well, I know and understand. But at same time, Im thinking why would I build something, that will be stable only to the end of the year, that has no comercial use, with something that has a deprecation date already. Also I was thinking about have project 'building' scripts, so would be like

[symfony-users] Re: about i18n for template

2010-03-20 Thread Andy Cheung
thanks for your reply and your advices, I will try to extend the sfi18n class. On 3月20日, 上午3時35分, "rooster (Russ)" wrote: > The i18n helper is quite simple in what it does. If it does not find a > target translation it will simply return what was passed. > > You have a few of ways to get round th

[symfony-users] Dynamically including text files in Symfony YAML data fixtures

2010-03-20 Thread Siim Leetberg
I had some trouble with trying to dynamically echo XSL file contents into YAML data fixture. The reason to do this is to be able to save email XSL templates, which needs to be loaded to database as initial data, in separate XSL files where I can easily edit and maintain them. Those files is needed

[symfony-users] Re: What about "Dimensions" plugin ?

2010-03-20 Thread Aurélien Fredouelle
... except for the point mentionned above, I guess. On 20 mar, 12:53, Thomas Rabaix wrote: > The plugin works fine with sf1.3 and so with 1.4, I used it in production > > > > On Sat, Mar 20, 2010 at 12:11 AM, AJStoneham wrote: > > I think using the ysfDimensions plugin would be the best way to g

[symfony-users] Re: What about "Dimensions" plugin ?

2010-03-20 Thread Aurélien Fredouelle
Except for the point mentionned above... On 20 mar, 12:53, Thomas Rabaix wrote: > The plugin works fine with sf1.3 and so with 1.4, I used it in production > > > > On Sat, Mar 20, 2010 at 12:11 AM, AJStoneham wrote: > > I think using the ysfDimensions plugin would be the best way to go, > > have

[symfony-users] Re: how can I make the same query before each action ?

2010-03-20 Thread xplo
You re welcome, i m just not really active in the mailing list, i prefer using the real forum ~ On Mar 19, 9:13 pm, alexmm wrote: > Oh thx so: > class myUser extends sfBasicSecurityUser > { > >     public function Test() >     { >       return Doctrine::getTable('Texts')->getRandomText(); >    

Re: [symfony-users] Re: What about "Dimensions" plugin ?

2010-03-20 Thread Thomas Rabaix
The plugin works fine with sf1.3 and so with 1.4, I used it in production On Sat, Mar 20, 2010 at 12:11 AM, AJStoneham wrote: > I think using the ysfDimensions plugin would be the best way to go, > have you tried it with 1.4? with 1.2 it worked fine, I was able to > extend views, actions and con

[symfony-users] Re: What about "Dimensions" plugin ?

2010-03-20 Thread Aurélien Fredouelle
I managed to manually install ysfDimensionsPlugin in sf 1.4, and it works fine. The only problem is the following : in ysfDimensionsPlugin/ lib/config/ysfProjectConfiguration.class.php, around line 64, there was : try { // ... } catch (sfException $e) { // handle exception early on and exi

[symfony-users] Re: unsing unsetAllFieldsExcept to unset a field of an embeded form

2010-03-20 Thread Belgacem TLILI
any one have an idea please this is the biggest problem in my project Alexandru-Emil Lupu thanks for all your help On 19 mar, 13:50, Belgacem TLILI wrote: > i have an error about getEmbededForm > > other things the function unsetAllFieldsExcept is in the file : > BaseFormDoctrine.class.php > >