[symfony-users] What's the bestRichTextEditor plugin for symfony

2009-08-26 Thread seifolah Ghaderi
Hi All. What's the best plugin that contains RichTextEditor to use in symfony? --~--~-~--~~~---~--~~ 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

[symfony-users] Re: Symfony + Java Applets + Sockets

2009-08-26 Thread Fabian Lange
On Tue, Aug 25, 2009 at 8:44 PM, rosbrbaraza...@gmail.com wrote: where package name is (applet) and my class name is Mysocket.class You should have told us before that applet is your package. because the package makes up the folder structure and your codebase needs to point at the path where

[symfony-users] [sf 1.2 Propel Admin Generator] Sorting not working?

2009-08-26 Thread Stephen Melrose
Hi, I've just generated my first symfony 1.2 admin module using the propel:generate-admin command. That aspect worked fine, no problems. However, I am unable to sort the data in the list view. The column titles can be clicked, but no sorting query string is in the URL. The URL is simply the URL

[symfony-users] illegal offset type

2009-08-26 Thread sunny
I get the following error message in the form! Warning: Illegal offset type in /var/www/civil/lib/vendor/symfony/lib/ plugins/sfPropelPlugin/lib/widget/sfWidgetFormPropelChoice.class.php on line 105 --~--~-~--~~~---~--~~ You received this message because you are

[symfony-users] Re: ysfDimensions with sfSQLiteCache

2009-08-26 Thread Dustin Whittle
If I ever fail to reply to a ticket in under a week, please feel free to assign it to dwhittle. Thanks. I will resolve your issue tomorrow. I am not sure of the impact of sqlite cache will have, please do follow up with metrics once you find out. Cheers, Dustin On Aug 25, 4:43 am, ju1ius

[symfony-users] Re: illegal offset type

2009-08-26 Thread Krishan .G
Problem might be somewhere in \lib\form\ and model's form base class file. check if $this-setWidgets() function is provided with appropriate choice widget. May be this can help.. On Wed, Aug 26, 2009 at 2:15 PM, sunny asim...@gmail.com wrote: I get the following error message in the form!

[symfony-users] Re: illegal offset type

2009-08-26 Thread Sid Bachtiar
What's your form code like? On Wed, Aug 26, 2009 at 8:59 PM, Krishan .Gmilepe...@gmail.com wrote: Problem might be somewhere in \lib\form\ and model's form base class file. check if  $this-setWidgets() function is provided with appropriate choice widget. May be this can help.. On Wed, Aug

[symfony-users] Re: illegal offset type

2009-08-26 Thread asim nizam
here is my form code class HrTblJobApplicationForm extends BaseHrTblJobApplicationForm { public function configure() { $this-setWidgets(array( 'application_id'= new sfWidgetFormInputHidden(), 'vacancy_id'= new

[symfony-users] Unit tests - accessing propel items by label

2009-08-26 Thread ColinFine
I'm doing my first unit tests, with a database fixture loaded from a yml file by sfPropelData::loadData. Is there a way of referring in the test to objects in the fixture by their labels in the yml? eg suppose in the yml I have MyClass: myclass_1: name: ... etc. Then if I want this

[symfony-users] Re: illegal offset type

2009-08-26 Thread José Nahuel Cuesta Luengo
Just guessing: are you dealing with complex primary keys on any propel- choice-related table? I think you might be getting an array as an index, when a simple string or number is actually expected. -- José Nahuel Cuesta Luengo El 26/08/2009, a las 06:15, asim nizam asim...@gmail.com escribió:

[symfony-users] Tweaking generated routes with the admin generator

2009-08-26 Thread Nicolas Perriault
Hi all, I'm trying to figure how I could benefit from the great features provided by the admin generator (I'm using symfony 1.3 right now) while using specific urls ; let me explain a bit. I have two models: Project and Story. A project can have many stories, and a story has one project. I

[symfony-users] Re: Tweaking generated routes with the admin generator

2009-08-26 Thread Marc
I already gave a small answer on twitter but I repost here... If I correctly understand the problem you have: You can add custom parameters (ex: myParameter) to routes as long as there is a method in your model named (in this case) getMyParameter(). Please tell me if it does fix your problem

[symfony-users] Re: Tweaking generated routes with the admin generator

2009-08-26 Thread Marc
I just checked in other projects and I figured that I override the generated route with a custom one... It's a bit messy but it works. I got it to work in frontend using normal modules. Hope it works with generated admin modules. -- board: class: sfDoctrineRouteCollection

[symfony-users] Re: Routing Question: Optional url parameter in the middle?

2009-08-26 Thread Richtermeister
Hey Dennis, thanks for confirming. I thought about uncategorized as well, but I don't know what the ratio of categorized vs. categorized items will be (system is for a client), so I don't want users to have to type uncategorized into every url... I ended up using 2 routes for now. Thanks again,

[symfony-users] Set default value of a field in a generated backend (CRUD)

2009-08-26 Thread François CONSTANT
Hi, In a form I use a simple choice widget: $this-widgetSchema['type'] = new sfWidgetFormChoice(array( 'choices' = sfAdvertisePeer::getTypesChoices(), 'expanded' = true, )); and then I want to check a default value: $this-setDefault('type', 0); The code above is the

[symfony-users] Re: How can I custom the default css path

2009-08-26 Thread Eno
On Tue, 25 Aug 2009, Benoit wrote: Thank you for this idea, but if I write a new helper - with a new function to use instead stylesheet_path() -, I'll have to replace all uses of stylesheet_path() in the framework. Actually I think if you override one of the standard set of helpers, you

[symfony-users] Re: Tweaking generated routes with the admin generator

2009-08-26 Thread Thomas Rabaix
Just add a custom method into the model as Marc suggest ! (well I hope the admin gen use sfDoctrineRoute behind the scene) On Wed, Aug 26, 2009 at 3:10 PM, Marc mweistr...@uneviemoinschere.comwrote: I just checked in other projects and I figured that I override the generated route with a

[symfony-users] Re: Flash attribute of sfUser not working in test and production environment

2009-08-26 Thread dagger
yeah thanks, can u also provide me with some links? also - any one face a similar issue with session and test/production environment? On Aug 26, 6:08 am, Eno symb...@gmail.com wrote: On Tue, 25 Aug 2009, dagger wrote: I would also like to know if there are any systems developed in symfony

[symfony-users] Form input manipulation before validation

2009-08-26 Thread mintao
I have an input field for an URL. When the form is submittet I'm using sfValidatorDoctrineUnique for this field. But BEFORE the validation I'd like to manipulate the url (host name to lower case, cut off any query strings). Imagine the url http://www.test.com/mysite; is already in the database.

[symfony-users] Calling an action from other action

2009-08-26 Thread Jose R. Prieto
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I need to call another action from the current action is running symfony (formally, I need to instantiate other action, execute, and get its result). The idea is to do something like this: class apirouterAction extends sfAction { public

[symfony-users] is_active - login possible

2009-08-26 Thread kerberos
hi, can somebody tell me, how to get the is_active parameter of sfguard working? currently a sfguard-user can still login even if the is_active parameter is set to 0 (false). thanks for replies kerberos --~--~-~--~~~---~--~~ You received this message because you

[symfony-users] What symfony gives us regarding objects/collections

2009-08-26 Thread Dennis
I am learning Symfony. The automatic class(es) that Symfony generates that are named after tables in the Dbase . . . Are they: The collection (i.e.) the table, The class for the individual object with setters/getters/field sanitizing-qualifying, or Both?

[symfony-users] Re: Form input manipulation before validation

2009-08-26 Thread José Nahuel Cuesta Luengo
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 mintao escribió: I have an input field for an URL. When the form is submittet I'm using sfValidatorDoctrineUnique for this field. But BEFORE the validation I'd like to manipulate the url (host name to lower case, cut off any query strings).

[symfony-users] save all values in lower case

2009-08-26 Thread Germana Oliveira
I'm wondering how i can save all the values in the data base in lower case ??? can symfony do that for me?? thanks!!! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users group. To post to this group,

[symfony-users] Re: What symfony gives us regarding objects/collections

2009-08-26 Thread Eno
On Wed, 26 Aug 2009, Dennis wrote: The automatic class(es) that Symfony generates that are named after tables in the Dbase . . . Are they: The collection (i.e.) the table, The class for the individual object with setters/getters/field sanitizing-qualifying, or Both? Both.

[symfony-users] sfGuard/AJAX

2009-08-26 Thread ShadySandman
Hi, I am still pretty green as far as symfony goes. I have managed to get my frontend working as I need, installed sfDoctrineGuardPlugin and enabled others. What I am trying to do is submit a form via AJAX to login the user and refresh the div within the page initially sent from using

[symfony-users] Re: Many-to-Many fields not working in admin generator (doctrine)

2009-08-26 Thread dancablam
My issue was related to this bug: http://trac.symfony-project.org/ticket/6569 and was fixed by applying the supplied patch. On Aug 20, 7:48 pm, dancablam danhstev...@gmail.com wrote: Hi Guys, I have a few many-to-many relationships in my schema that I'm accessing through the admin generator.