[symfony-users] Re: sfGridPlugin, Propel/Doctrine-DataSources, ObjectPaths and JavaScript (ExtJS) extensions

2010-04-12 Thread DigitalBase
Leon, i am trying out your sfGrid plugin and ran into few small issues where do you want us to report problems/bugs ? On Apr 11, 10:53 pm, Leon van der Ree l...@fun4me.demon.nl wrote: Today I will provide a tutorial, setting up a (propel-based) playground with some best practices I came up

[symfony-users] Re: sfGridPlugin, Propel/Doctrine-DataSources, ObjectPaths and JavaScript (ExtJS) extensions

2010-04-10 Thread DigitalBase
some very interesting stuff. I will be trying out the sfGrid together with Propel Data source next week. I'll let you know if i run into strange behavior or quirks :-) nice work, and great post! On Apr 9, 7:54 pm, Leon van der Ree l...@fun4me.demon.nl wrote: Hi All, since many people are

[symfony-users] symfony i18n propel : fallback language, howto implement ?

2010-01-13 Thread DigitalBase
For a new project we have a lot of propel i18n objects. The implementation of the project is to show the preferred language of an object and if that is not available show a secondary or third language (fallback). Each object is always available in at least one language, but not in all languages.

[symfony-users] Production vs Dev benchmark : performance due to web_debug

2010-01-08 Thread DigitalBase
When investigating a problem i had (see : http://groups.google.com/group/symfony-users/browse_thread/thread/becf14dd8789edaf) i decided to run some benchmarks on clean symfony environments comparing 1.2/1.3 1.4 I went with the sandboxes of symfony 1.2.10, 1.3.1 and 1.4.1 Clean environment,

[symfony-users] 1.2 vs 1.3 : web debug indicates much slower configuration

2010-01-07 Thread DigitalBase
For testing purposes i upgraded a project (that's already running on 1.2) to 1.3. I immediately noticed that the application was much slower was using more resources. Symfony 1.2.10 timings : http://www.flickr.com/photos/digitalbase/4253786085/ Symfony 1.3.1 timings : http://www.flickr.com

[symfony-users] Re: 1.2 vs 1.3 : web debug indicates much slower configuration

2010-01-07 Thread DigitalBase
faster for the configuration. I guess it s from the yml that have been cleaned up from 1.2 to 1.3 ? Anyway i stoped caring since these configuration times only occur in dev environnement so it doesnt change anything in prod env ! On Jan 7, 6:47 pm, DigitalBase i...@digitalbase.eu wrote

[symfony-users] Re: Snippets...

2009-01-13 Thread DigitalBase
i second this one, some very useful snippets there besides having test test snippets doesn't really give a good impression, if it's not maintained it's better to temporarily disable it. On 10 jan, 23:26, Loïc Vernet qrf_c...@yahoo.fr wrote: Hi, Snippets application is still broken, now there

[symfony-users] Re: Calendar widget with propel:generate-admin

2009-01-13 Thread DigitalBase
no there is no core date/time widget. You could look at sfFormExtra / dbFormExtra to provide you with some calendar widget functionality, but it won't work 'out of the box' with admin generator On 7 jan, 14:45, Daniele danieled...@gmail.com wrote: I am sorry for the question, but I have not

[symfony-users] custom spam validator behaviour

2008-12-12 Thread DigitalBase
I want to create a special spam validator can test user tekst inputs. In the case the validator can't make up if the message is ham/spam, it will have to ask the user for extra input (captcha), and by that modify the project form. So the validate method can return ham/spam/notsure : In case of

[symfony-users] Re: symfony : admin generator 1.2 : hasFilterForm

2008-12-02 Thread DigitalBase
the admin generator use the %OBJECT%GeneratorConfiguration instead of the Base one ? Upon runtime it does use the correct one, but not when generating the templates in cache/* Is this a bug ? Is this normal behaviour ? On Dec 2, 11:47 am, DigitalBase [EMAIL PROTECTED] wrote: i really like the logic

[symfony-users] Re: symfony : admin generator 1.2 : hasFilterForm

2008-12-02 Thread DigitalBase
More info on this topic : http://trac.symfony-project.org/ticket/5137 This is a serious flaw for a stable version of symfony. On Dec 2, 1:43 pm, DigitalBase [EMAIL PROTECTED] wrote: After doing a bit more research, i noticed the indexSuccess (in propelAdmin/templates) does use

[symfony-users] symfony : admin generator 1.2 : hasFilterForm

2008-12-02 Thread DigitalBase
i really like the logic behind the new admin generator. Now i noticed the Base%MODULE%GeneratorConfiguration.class has a method called hasFilterForm public function hasFilterForm() { return true; } I want to disable all the filters for this view so i decided to override this method,

Re: Re : [symfony-users] Re: Problem with create Admin generator Symfony 1.2

2008-12-02 Thread DigitalBase
Yes ofcourse On Dec 1, 1:48 pm, Teddy Maitre [EMAIL PROTECTED] wrote: Thanks ! It does work now! I must write all the new code before the default rules no? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[symfony-users] Re: Re : [symfony-users] Admin Gen 1.2 - Customise Baseurl or Pass parameters to List View

2008-11-12 Thread DigitalBase
can anyone help me on this, i tried with 1.2BETA2, same problem. On Nov 7, 10:03 pm, Loïc Vernet [EMAIL PROTECTED] wrote: May be it is a bug then.. I will try tomorrow. De : DigitalBase [EMAIL PROTECTED] À : symfony users symfony-users@googlegroups.com

[symfony-users] Re: Re : [symfony-users] Admin Gen 1.2 - Customise Baseurl or Pass parameters to List View

2008-11-07 Thread DigitalBase
On Nov 6, 11:08 pm, Loïc Vernet [EMAIL PROTECTED] wrote: Just do the modifications in your own admin generator theme... So you won't have to overwrite every _pagination.php _list_th_tabular.php of your admin gen modules. ++ COil C0il. I tried this, and i do not seem to manage. What i

[symfony-users] Re: Re : [symfony-users] Admin Gen 1.2 - Customise Baseurl or Pass parameters to List View

2008-11-07 Thread DigitalBase
On Nov 7, 9:01 pm, Loïc Vernet [EMAIL PROTECTED] wrote: Try this one then:  :) http://www.strangebuzz.com/index.php/2008/04/03/31-symfony-10-tutoria... Did you actually read this thread? I did try/read this post (a long time ago). That post is a 1.0 tutorial and clearly not what i am

[symfony-users] Re: Symfony on NetworkSolutions

2008-11-07 Thread DigitalBase
You have some options, first try and read up on the tutorials on the wiki. http://trac.symfony-project.org/wiki/Deploying1.0ToASharedHost http://trac.symfony-project.org/wiki/InstallingSymfonyOnSharedHostNoSsh You could also use a controller with no_script_name = off. This way every request

[symfony-users] Re: Re : [symfony-users] Re: Re : [symfony-users] Admin Gen 1.2 - Customise Baseurl or Pass parameters to List View

2008-11-07 Thread DigitalBase
On Nov 7, 9:29 pm, Loïc Vernet [EMAIL PROTECTED] wrote: Did you read the tutorial ? This exactly what you want to achieve, modify the admin generator so you don't have to ovveride the partials in all you admin-gen modules. I tagged this tutorial as a sf 1.0 tutorial, as the batch feature

[symfony-users] Re: Re : [symfony-users] Re: Re : [symfony-users] Re: Re : [symfony-users] Admin Gen 1.2 - Customise Baseurl or Pass parameters to List View

2008-11-07 Thread DigitalBase
[EMAIL PROTECTED] wrote: You can't because the 1.3 admin-gen could be totally different But i suppose you coul't make symbolic link in your plugin to the default admin-gen theme to achieve that.   :) De : DigitalBase [EMAIL PROTECTED] À : symfony users

[symfony-users] Admin Gen 1.2 - Customise Baseurl or Pass parameters to List View

2008-11-06 Thread DigitalBase
For a project i am working on we have a user listing that uses the new admin generator functionality. We previously used the 1.0 admin generator and decided to upgrade. This application has different permission levels (company owners general system owners). To avoid copying functionality we

[symfony-users] Re: Search form and paging system.

2008-11-06 Thread DigitalBase
you should store the criteria somewhere and pass it to the next page. you could serialise the criteria object in the session and retrieve it on each page On Nov 6, 12:19 pm, Adrien Mogenet [EMAIL PROTECTED] wrote: Hi everyone. I developped a complex search form (with about 30 criteria) and

[symfony-users] Re: Upgrade to 1.1 : Call to undefined method Propel::import()

2008-10-14 Thread DigitalBase
meanwhile Kris closed the ticket, thanks for the quick intervention. If you're using svn:externals just svn update... On Oct 13, 11:53 am, volatt [EMAIL PROTECTED] wrote: Hi. We had the same problem here: # pear list -a Installed packages, channel __uri: ==

[symfony-users] Re: Upgrade to 1.1 : Call to undefined method Propel::import()

2008-10-13 Thread DigitalBase
not fully functioning due to include path problems ?) On Oct 11, 5:38 pm, Kris Wallsmith [EMAIL PROTECTED] project.com wrote: Looks like there may be a bug in sfPropelPlugin's use of   set_include_path(). Please create a ticket on Trac. Thanks, Kris On Oct 11, 2008, at 8:27 AM, DigitalBase

[symfony-users] Upgrade to 1.1 : Call to undefined method Propel::import()

2008-10-11 Thread DigitalBase
I just upgraded my project to 1.1. Now i get the exception : bFatal error/b: Call to undefined method Propel::import() in b/ home/gnelisse/projects_local/projectname/webroot/core/lib/plugins/ sfPropelPlugin/lib/vendor/propel/util/BasePeer.php/b on line b929/ bbr / I found a thread about it

[symfony-users] Re: extending from dbFinder

2008-10-11 Thread DigitalBase
('Article'); will return an `ArticleFinder` instance, which inherits from `myFinder`. And that means you can use your custom finder methods on several models. Hope this helps, François On Oct 7, 7:50 pm, DigitalBase [EMAIL PROTECTED] wrote: I want to extend fromdbFinderproviding several (read

[symfony-users] Re: Upgrade to 1.1 : Call to undefined method Propel::import()

2008-10-11 Thread DigitalBase
() in   Propel 1.3. Is it possible you have Propel 1.3 installed somewhere? Kris On Oct 11, 2008, at 5:45 AM, DigitalBase [EMAIL PROTECTED] wrote: I just upgraded my project to 1.1. Now i get the exception : bFatal error/b:  Call to undefined method Propel::import() in b/ home/gnelisse

[symfony-users] extending from dbFinder

2008-10-07 Thread DigitalBase
I want to extend from dbFinder providing several (read : different) classes to have special functionality. As i read on francois's blog, extending from dbFinder should be very easy. http://redotheweb.com/2008/09/25/sorting-by-custom-column-in-the-symfony-admin-generator/ So what i did class

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

2008-09-24 Thread DigitalBase
)', '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 database level without object hydratation like this : $c = new Criteria(); $c-addSelectColumn('sum

[symfony-users] unit testing : propel objects combined with dbFinder

2008-09-24 Thread DigitalBase
Because we are replacing/porting a huge amount of *Peer classes to use dbFinder power, we are creating unit tests to compare the results (to make sure we didn't make mistakes during the 'port'). Now for that i am using a snippet (found here : http://www.symfony-project.org/snippets/snippet/215)

[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: 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). input type=text name=company_search id=company_search value=

[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 try. :-D