Re: [symfony-users] Render field date format

2011-02-16 Thread Arnold Ispan
Hi, I use the date widget from sfFormExtraPlugin and this is how i do it: $this->widgetSchema['date'] = new sfWidgetFormJQueryDate(array( 'date_widget' => new sfWidgetFormDate(array( 'format' => '%day%/%month%/%year%' )) ));

Re: [symfony-users] sfAdminDashPlugin is not showed properly

2010-10-15 Thread Arnold Ispan
Hello, In your app/app_name/templates/layout.php you have to include: On Fri, Oct 15, 2010 at 7:45 PM, Javier Garci wrote: > Hi, > > i have installed sfAdminDashPlugin but the interface is not like the Jobeet > one (see pic). I just follow the steps: > > - Install sfAdminDashP

Re: [symfony-users] symfony application doubt

2010-09-06 Thread Arnold Ispan
Hello, In your settings.yml file set no_script_name: off this will remove the restful.php from your url On Mon, Sep 6, 2010 at 1:38 PM, Shihab KB wrote: > Hi Friends, > > I am creating a content management system using symfony 1.4. Also some > rest apis to access the content management syste

Re: [symfony-users] [symfony1.4] not sure how to make parent-child category structure in doctrine schema

2010-09-05 Thread Arnold Ispan
Hello, Why don't use nested sets to represent this structure? On Sun, Sep 5, 2010 at 9:39 PM, ryr wrote: > Hello, > > I want to make a two-tier structure of the categories in which each > item is either a parent of, or relate to one of the parents. > > Example structure: > Category 1 > - Subca

Re: [symfony-users] Re: foreign key relations in admin generator

2010-04-20 Thread Arnold Ispan
. > > thanks a lot > > best regards > > > > On 17 Mar, 13:31, Arnold Ispan wrote: > > Hello, > > > > In the client_name partial you could use: > > *echo $contract->getClient()->getName();* > > > > and in the generator.yml you could us

Re: [symfony-users] foreign key relations in admin generator

2010-03-17 Thread Arnold Ispan
Hello, In the client_name partial you could use: *echo $contract->getClient()->getName();* and in the generator.yml you could use: *display: [_client_name, .]* * * *or the second method would be to define a method in your Contract model class* * * *public function getClientName()* *{* *

[symfony-users] Re: SF 1.2.9 Admin generator and many to many relations

2009-10-12 Thread Arnold Ispan
Thanks, But to me the migration is not possible now as i am on the finish of the project. For me it is strange that all the methods are there but there is no saving. I was thinking maybe i did something wrong. --~--~-~--~~~---~--~~ You received this message becaus

[symfony-users] Re: Help with sfWidgetFormInputSWFUploadPlugin and admin generator

2009-10-12 Thread Arnold Ispan
Hello, Thank for the answer, but this is an admin generated action, that on success return the form with the success message --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this gro

[symfony-users] Re: Help with sfWidgetFormInputSWFUploadPlugin and admin generator

2009-10-12 Thread Arnold Ispan
Solved the issue but now there is another one :) After the upload is successfull how can i prevent the response of the server from showing up in the widget like in the image below: http://img176.imageshack.us/img176/6093/imgr.jpg Thank You On Mon, Oct 12, 2009 at 3:04 PM, ispanarnold wrote: >

[symfony-users] Re: Use an extra translation file

2009-07-03 Thread Arnold Ispan
Hello, I think this may solve your problem: --~--~-~--~~~---~--~~ 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 group,

[symfony-users] Re: Propel Admin Generator Embeded Form File Upload

2009-04-09 Thread Arnold Ispan
Ok So i removed the updateImagefileColumn method and this is what i got: *Catchable fatal error*: Argument 3 passed to sfFormPropel::saveFile() must be an instance of sfValidatedFile, array given, called in /usr/share/php/symfony/plugins/sfPropelPlugin/lib/form/sfFormPropel.class.php on line 465

[symfony-users] Re: Propel Admin Generator Embeded Form File Upload

2009-04-09 Thread Arnold Ispan
Hello, Here is the validator code: addOption('min_width'); $this->addOption('max_width'); $this->addOption('min_height'); $this->addOption('max_height'); /* we set a default value as image for mime type */ $this->addOption('mime_types' , 'web_images'); /* size image err

[symfony-users] Re: Propel Admin Generator Embeded Form File Upload

2009-04-09 Thread Arnold Ispan
Hello, Thanks for your answer but it doesn't work (it was a typo the sfValidatorString). Just tried it, put back the sfFileImageValidator and i still get the error: *Fatal error*: Call to a member function getExtension() on a non-object in * /home/ispa/workspace/timnews/lib/form/GeneralImageForm.

[symfony-users] Re: Serious character problems

2009-04-08 Thread Arnold Ispan
How do you output that? is it from database? On Thu, Apr 9, 2009 at 1:23 AM, HAUSa < jeroen_heeft_behoefte_aan_r...@hotmail.com> wrote: > > See this link: http://www.starterswijzerutrecht.nl/zoeken/fjdksla > > It is the line in the main element: > "Specificeer uw zoekterm door middel van ��n of m

[symfony-users] Re: Serious character problems

2009-04-08 Thread Arnold Ispan
Is your collation *utf8_general_ci*? "*Type in a non-existing tag, and you'll see. ("��n" instead of "één")*" I tried it but i do not see the strange characters ** --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "sy

[symfony-users] Re: Serious character problems

2009-04-08 Thread Arnold Ispan
Just checked the link and to mee it showd correctly zzp’er --~--~-~--~~~---~--~~ 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

[symfony-users] Re: Serious character problems

2009-04-08 Thread Arnold Ispan
Hello, In the page the charset seems to be utf-8, but what is collation? Maybe it is different from utf 8 and that is why you get strange characters? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony users" gr

[symfony-users] Re: sym1.2 Admin Generator Issue with "Form Filter" not found

2009-04-06 Thread Arnold Ispan
You're welcome , glad that i've helped you ;) --~--~-~--~~~---~--~~ 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 group,

[symfony-users] Re: sym1.2 Admin Generator Issue with "Form Filter" not found

2009-04-05 Thread Arnold Ispan
Hello, Try running : 1. *symfony propel:build-model* 2. *symfony propel:build-forms* 3. *symfony propel:build-filters* Maybe the filter forms where not created due to an error. --~--~-~--~~~---~--~~ You received this message because you are subscribed to

[symfony-users] Re: Issue when removing created_at form's field

2009-04-03 Thread Arnold Ispan
Hello, Maybe the solution is to rebuild forms and filters with *propel:build-forms *and *propel:build-filters* On Fri, Apr 3, 2009 at 11:41 PM, Adrien Mogenet wrote: > > Hi all, > > I have a classical entity, let say `member`, with `created_at` and > `updated_at` fields. > I performed a propel

[symfony-users] Re: sfWidgetFormI18nSelectLanguage(array('culture' => 'fr')) - how do you automatically set the culture

2009-03-25 Thread Arnold Ispan
Hello, You could use something like this: 'language' => new sfWidgetFormI18nSelectLanguage(array ('culture' => sfContext::getInstance()->getUser()->getCulture())), On Wed, Mar 25, 2009 at 10:02 PM, fredlab wrote: > > Hey, > > When my widgets are created, one of them is regarding