[symfony-users] Re: PHP symfony reports

2009-11-03 Thread Alexandre SALOME
You have an event application log. Connect to it to do your stuff, Alex' 2009/11/3 asi007 asim...@gmail.com Hi every body i want to make reports like cross tab reports in symfony has any one idea about it -- Alexandre Salomé -- alexandre.sal...@gmail.com

[symfony-users] Enabling modules

2009-11-03 Thread HAUSa
Is it necessary to enable plugin modules in sf1.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@googlegroups.com To unsubscribe from this

[symfony-users] Have symfony/yml changed your life?

2009-11-03 Thread Sid Ferreira
lol, I know this topic sounds funny, but I'm asking this cause thanks to symfony a lot of things changed in how I work. Not only the coding standards, but even when making the first plans of a project. For instance, after meeting YML, I've started to use this notation when describing my projects,

[symfony-users] Re: Enabling modules

2009-11-03 Thread Sid Ferreira
yup On Tue, Nov 3, 2009 at 06:55, HAUSa jeroen_heeft_behoefte_aan_r...@hotmail.com wrote: Is it necessary to enable plugin modules in sf1.3? -- Sidney G B Ferreira Desenvolvedor Web --~--~-~--~~~---~--~~ You received this message because you are

[symfony-users] Re: Enabling modules

2009-11-03 Thread HAUSa
Okay weird. Because I installed a plugin, enabled the modules, but I keep receiving this error message: Fatal error: Class 'sfJqueryFormValidationFilter' not found in /home/ snuber/domains/snuber.net/public_html/cache/website/dev/config/ modules_user_config_filters.yml.php on line 22

[symfony-users] Re: Enabling modules

2009-11-03 Thread Sid Ferreira
yeah, in the ProjectConfiguration used to be 'enableAllExcept' now it is 'enablePlugins(sfDoctrinePlugin)'... something like this On Tue, Nov 3, 2009 at 07:10, HAUSa jeroen_heeft_behoefte_aan_r...@hotmail.com wrote: Okay weird. Because I installed a plugin, enabled the modules, but I keep

[symfony-users] Re: plugins for reports

2009-11-03 Thread Florian
Hi, We had to develop a plugin for generating reports from a sql query. You have to declare a base sql query, which is used then by a report engine who says what to show ( columns and order ) and how ( helpers to format output ). This report engine permits to filter the base query too, by

[symfony-users] Re: PHP symfony reports

2009-11-03 Thread Lee Bolding
A while back I started making a set of reporting listeners that would listen to specific KPI (key performance indicators, for the uninitiated) events (implemented as symfony events) in my application (s) (eg. user has registered, user has purchased an item, user has completed X task etc)

[symfony-users] Re: Custom error messages

2009-11-03 Thread Mark Smith
OK, maybe I'm being thick, but that's not working for me: In the configure method I have: $this-setWidget(notes, new sfWidgetFormTextarea()); $this-setValidator(notes, new sfValidatorString(array ('min_length' = 0, 'max_length' = 4,'required' = false),array ('invalid'='Notes

[symfony-users] generator.yml ignored

2009-11-03 Thread cosmy
Hi all.. I've modified for a backend application the generator.yml but the backend section seems to remain the same without the modifies. I've tried also cache:clear but nothing happens. Do you have any ideas? Thank you in advance. This is my generator: generator: class: sfDoctrineGenerator

[symfony-users] Re: Doctrine:data-load error: which table, which

2009-11-03 Thread David Ashwood
jw fixed the bug last night. If you use the svn version of sf 1.3 - you'll receive correct version of doctrine with the fix in :) On Tue, 2009-11-03 at 08:26 +0100, Georg Gell wrote: Sorry, forgot to mention that I am using Doctrine. I am going to upgrade to symfony 1.3 today, if you can send

[symfony-users] Re: generator.yml ignored

2009-11-03 Thread Sid Ferreira
have you checked the indent? On Tue, Nov 3, 2009 at 07:53, cosmy c.zec...@gmail.com wrote: Hi all.. I've modified for a backend application the generator.yml but the backend section seems to remain the same without the modifies. I've tried also cache:clear but nothing happens. Do you have

[symfony-users] Embed form layout

2009-11-03 Thread cosmy
Hi again.. I have a stupid question whithout answer. I don't want to display the embedded form name in my forms, but i can't find the way to hide it. It's placed in a th tag and i can't disable all the th in my layout.. anyone can help me? Thank's Cosimo

[symfony-users] Re: PHP symfony reports

2009-11-03 Thread Gorka
I might be wrong, but I think he's looking for a reporting engine like Crystal or Jasper. If that's the case, you might look into PHP Java Bridge to use Jasper Reports, COM under Windows to use Crystal, or Agata Reports under puré PHP. I'm looking into it, but have not tested any of theese

[symfony-users] Activate sfGuardAuth(sfDoctrineGuardPlugin) in the backend or is there another option?

2009-11-03 Thread tirengarfio
Hi, i have read this: http://www.symfony-project.org/blog/2008/11/12/call-the-expert-customizing-sfdoctrineguardplugin Is there any reason why sfGuardAuth is not included in the list of modules to enable?? This is the list of the modules the tutorial proposes to active: all: .settings:

[symfony-users] Re: generator.yml ignored

2009-11-03 Thread cosmy
Yes, it seems ok On 3 Nov, 11:02, Sid Ferreira sid@gmail.com wrote: have you checked the indent? --~--~-~--~~~---~--~~ 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] how to set form fields value into array?

2009-11-03 Thread mel_06
i'm doing a multiple uploads but my problem is i can't set my form fields to accept values of more than one? using the widgets, here is my form $this-setWidgets(array( 'file' = new sfWidgetFormInputFile(array('label' = 'File',)), ));

[symfony-users] Re: PHP symfony reports

2009-11-03 Thread Lee Bolding
Those packages will only tell you reporting metrics that can be determined from your database (or other available datasources), and generally, not in realtime. If you want true realtime reporting of specific KPI events, you'll need to build it in yourself. I think that's true for any

[symfony-users] Re: Embed form layout

2009-11-03 Thread HAUSa
The only way is to do not use echo $form, but make your own template. You can use a foreach loop to discover each widget. On 3 nov, 11:04, cosmy c.zec...@gmail.com wrote: Hi again.. I have a stupid question whithout answer. I don't want to display the embedded form name in my forms, but i

[symfony-users] URL transform

2009-11-03 Thread HAUSa
When I use url_for('advertisement/index?category=' . $subcategory- getId()), the URL output is /advertisement?category=2 How can I make the URL look like /advertisement/index/category/2 ? --~--~-~--~~~---~--~~ You received this message because you are subscribed

[symfony-users] Re: Have symfony/yml changed your life?

2009-11-03 Thread Lee Bolding
Absolutely :) Before I started using symfony I was using Spring and Hibernate in Matt Raible's AppFuse framework (Java) which was an amazing framework, but the development cycle was too damn long (compared with symfony). That's not a fault of AppFuse, it's just Java in general (code,

[symfony-users] sfWidget getJavascripts() include same script multiple time

2009-11-03 Thread gino pilotino
Hi. When dealing with a form widget, the javascript returned from getJavascripts() method is included for every widget in the page, even if it points to the same file so you end up having: script src=file.js/script script src=file.js/script script src=file.js/script ... which imho is very bad

[symfony-users] Re: Embed form layout

2009-11-03 Thread gino pilotino
You can use a custom form formatter to render the form More info and examples here: http://forum.symfony-project.org/index.php/m/87134/ On Nov 3, 11:04 am, cosmy c.zec...@gmail.com wrote: Hi again.. I have a stupid question whithout answer. I don't want to display the embedded form name in

[symfony-users] Re: Enabling modules

2009-11-03 Thread Gábor Fási
Did you cc? On Tue, Nov 3, 2009 at 10:10, HAUSa jeroen_heeft_behoefte_aan_r...@hotmail.com wrote: Okay weird. Because I installed a plugin, enabled the modules, but I keep receiving this error message: Fatal error: Class 'sfJqueryFormValidationFilter' not found in /home/

[symfony-users] Re: Custom error messages

2009-11-03 Thread Gábor Fási
Yeah - instead of invalid, us max_length, see http://www.symfony-project.org/forms/1_2/en/B-Validators#chapter_b_sub_sfvalidatorstring On Tue, Nov 3, 2009 at 10:47, Mark Smith marksmith5...@jungle-monkey.com wrote: OK, maybe I'm being thick, but that's not working for me: In the configure

[symfony-users] Re: Discover i18n fields in form

2009-11-03 Thread Alexandre SALOME
There is a method getEmbeddedForms on the sfForm object. Using array_diff between keys for widget schema and keys of embed forms, you will find classic widgets. 2009/11/2 HAUSa jeroen_heeft_behoefte_aan_r...@hotmail.com I embedded two UserI18nForms in my UserForm. $this-embedI18n(array('de',

[symfony-users] Re: URL transform

2009-11-03 Thread Gábor Fási
url: /advertisement/index/category/:id class: sfPropelRoute I'll leave the rest to you :P On Tue, Nov 3, 2009 at 12:43, HAUSa jeroen_heeft_behoefte_aan_r...@hotmail.com wrote: When I use url_for('advertisement/index?category=' . $subcategory- getId()), the URL output is

[symfony-users] Re: PHP symfony reports

2009-11-03 Thread Eno
On Tue, 3 Nov 2009, Gorka wrote: different porpouses, and it is the porpouse the original poster is seeking what is not clear enough for me. Yeah, posting vague imprecise messages is guaranteed to generate many confusing answers... --

[symfony-users] Re: URL transform

2009-11-03 Thread HAUSa
It's not a sfPropelRoute, it has to be a request parameter. The category id is a parameter, it is a advertisement object. On 3 nov, 14:23, Gábor Fási maerl...@gmail.com wrote: url: /advertisement/index/category/:id class: sfPropelRoute I'll leave the rest to you :P On Tue, Nov 3, 2009 at

[symfony-users] Re: URL transform

2009-11-03 Thread Eno
On Tue, 3 Nov 2009, HAUSa wrote: It's not a sfPropelRoute, it has to be a request parameter. The category id is a parameter, it is a advertisement object. On 3 nov, 14:23, Gábor Fási maerl...@gmail.com wrote: url: /advertisement/index/category/:id class: sfPropelRoute Any reason you're

[symfony-users] Re: URL transform

2009-11-03 Thread Eno
On Tue, 3 Nov 2009, HAUSa wrote: It's not a sfPropelRoute, it has to be a request parameter. The category id is a parameter, it is a advertisement object. On 3 nov, 14:23, Gábor Fási maerl...@gmail.com wrote: url: /advertisement/index/category/:id class: sfPropelRoute Actually ignore

[symfony-users] Why sfGuardUserAdminForm.class.php and sfGuardUserFormSignin.class.php doesnt take the word Plugin ??

2009-11-03 Thread tirengarfio
Hi, if you install sfDoctrineGuardPlugin and look inside the folder plugins/sfDoctrineGuardPlugin/lib/form/doctrine you will see these files: PluginsfGuardUserForm.class.php PluginsfGuardGroupForm.class.php PluginsfGuardUserGroupForm.class.php PluginsfGuardGroupPermissionForm.class.php

[symfony-users] Re: Unable to open PDO connection [wrapped: could not find driver]

2009-11-03 Thread David Ashwood
Looks like you don't have one of the oracle extensions loaded: extension=php_pdo_oci.dll or extension=php_pdo_oci8.dll You'd have to check with the doctrine docco about which one they support/use. On Tue, 2009-11-03 at 10:40 -0800, Jota wrote: My last connection was an MySQL connection. It

[symfony-users] [doctrine] multiselect values

2009-11-03 Thread lorenx
hi all, i have a group and user many-to-many relation, joined on a groupuser table/model. i also have a group and credential many-to-many relation, joined on an analogous groupcredential table/model. with symfony doctrine:generate-module i generated all forms and when i browse the group form i

[symfony-users] symfony 1.3 beta1 sfParameterHolder::serialize() must return a string or NULL

2009-11-03 Thread alessandro cinelli
Hi, i created a staging enviroment in settings.yml: staging: .settings: web_debug: true cache: true no_script_name: true etag: true When i access to the first page i got no problem, then i login and i got a 500 error:

[symfony-users] Re: Why sfGuardUserAdminForm.class.php and sfGuardUserFormSignin.class.php doesnt take the word Plugin ??

2009-11-03 Thread Richtermeister
Hey Javi, The two classes without Plugin are not directly involved with the autogenerated model layer, the are just custom extensions for a specific purpose. It is considered best practice for writing plugins, that you move the model code into Plugin classes and leave the higher model class

[symfony-users] Re: Unable to open PDO connection [wrapped: could not find driver]

2009-11-03 Thread Eno
On Tue, 3 Nov 2009, Jota wrote: My last connection was an MySQL connection. It was working very well. But now I had to change to an Oracle connection and this connection is not working. Each type of database server needs its own driver, so: Show me the following error: Unable to open PDO

[symfony-users] Re: sympal component content error

2009-11-03 Thread Jonathan Wage
Sympal was originally built with Symfony 1.3 from SVN. I am waiting until symfony 1.3 and Doctrine 1.2 are released and stable before I pick it back up. Make sure you are executing the right application for the site record that is in the database. - Jon On Tue, Nov 3, 2009 at 5:23 PM, Amadeus

[symfony-users] Re: sympal component content error

2009-11-03 Thread Amadeus
Ok I have it working - sort of. After looking at the dates of people who got it working I pulled sf 1.2 from may 30 and that worked. Retried the exact step with 1.2.9 and no go. On Nov 3, 3:30 pm, Jonathan Wage jonw...@gmail.com wrote: Sympal was originally built with Symfony 1.3 from SVN. I am

[symfony-users] sympal component content error

2009-11-03 Thread Amadeus
Hi I am trying to get sympal to run. I have tried svn and 0.4 alpha. I have tried symfony 1.2.5, 1.2.8, 1.2.9, 1.3BETA,I have tried interactive and non interactive, I have tried sf 1.2 with upgrade to 1.3, on and on and on. I get this error: Unable to find the pre Component : Content Table :

[symfony-users] Re: link_to_remote() - using ajax to delete posts

2009-11-03 Thread dziobacz
I have a solution - it isn't easy :) You have my idea here: a href=http://forum.symfony-project.org/index.php/t/23505/;http:// forum.symfony-project.org/index.php/t/23505//a Is it a good solution ? It works but maybe it should be make in other way ? On 23 Paź, 19:47, Gareth McCumskey

[symfony-users] catching errors during upload file

2009-11-03 Thread dziobacz
I didn't find article about catching errors which can be during upload file in Symfony - can I do something like that below using try - catch ? Is it a good solution when something during file upload will go wrong ? $unique_code = md5(uniqid(mt_rand())); $file = $this-form-getValue('photo');