[symfony-users] Re: sfWidgetFormDoctrineChoice with i18n

2009-08-16 Thread Andrei Dziahel
Hi. 1. No, it doesn't. 2. Yes, you can -- just pass your own query to widget using its "query" option. And, by magic implemented in sfDoctrineRecordI18nFilter::filterGet(), all the values become localized automatically. 2009/8/17 afilina > > I have a model generated with Doctrine named Product

[symfony-users] sfWidgetFormDoctrineChoice with i18n

2009-08-16 Thread afilina
I have a model generated with Doctrine named Product that has i18n. Now I need to use the list of products as a dropdown in my form. I use sfWidgetFormDoctrineChoice. This works great: I specify the model name and it does everything for me. It even gets the name of the product based on the current

[symfony-users] title from keywords

2009-08-16 Thread mintao
Hi, I want to generate the page title out of the given meta keywords, separated by the pipe symbol ”|“. Eg: [view.yml] indexSuccess: metas: keywords: computer, science, maths in filters the should be sth. like: class prepareTitleFilter extends sfFilter { public function execute

[symfony-users] Re: Datagrid for Doctrine

2009-08-16 Thread AJStoneham
I think this has doctrine support now, but its not documented yet. On Jul 24, 2:37 am, kev wrote: > Same here, > i actually posted a message on the forum too > :http://forum.symfony-project.org/index.php/m/82477/?srch=datagrid#msg... > I also found the sfDataGrid plugin which is unfortunately o

[symfony-users] Using the Admin Generator for a Plugin

2009-08-16 Thread Chris Renfrow
What I am trying to do is convert my commonly used modules and converting them into plugins. I want to install these plugins on the servers symfony installation / lib / plugins level so that all my website applications can access the same plugins. I have the fontend work, I am able to make calls

[symfony-users] sfTestBrowser

2009-08-16 Thread Tennis Smith
Hi, I haven't used the sfTestBrowser before. Can the user see what is happening on the 'browser'? If not, how can it be debugged? Thanks, -Tennis --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony users" grou

[symfony-users] Check validity of single field

2009-08-16 Thread mintao
I've includeded the reCaptcha (via sfFormExtraPlugin) to my sign up page. Now every time a user makes a mistake the captcha-field has to be filled out, too. This causes pain to several people and that's why I want to prevent it, if a user once has proven his "humanity" by storing this to a session

[symfony-users] Re: day 16: Integrity constraint violation: 1048 Column 'affiliate_id' cannot be null

2009-08-16 Thread luigi
OK, but thi is not the solution. I load first categories and then affiliates but i've teh same error. I load first affiliates and then categories but i've teh same error. On 9 Ago, 06:50, Eno wrote: > On Fri, 7 Aug 2009, Verhavert Maarten wrote: > > I'm having the same problem. Always getting t

[symfony-users] Re: day 16: Integrity constraint violation: 1048 Column 'affiliate_id' cannot be null

2009-08-16 Thread luigi
OK, but thi is not the solution. I load first categories and then affiliates but i've teh same error. I load first affiliates and then categories but i've teh same error. On 9 Ago, 06:50, Eno wrote: > On Fri, 7 Aug 2009, Verhavert Maarten wrote: > > I'm having the same problem. Always getting t

Yan: [symfony-users] Re: symfony 1.0 i18n-extract problem.

2009-08-16 Thread Guychmyrat Amanmyradov
Yes of course :) I tried this on my old project. Now i installed a new project for test. And i installed in there it worked fine. But on my old project i could not success :( --- 16/08/09 Pzr tarihinde Gábor Fási şöyle yazıyor: Kimden: Gábor Fási Konu: [symfony-users] Re: symfony 1.0 i18n-ex

[symfony-users] Re: symfony 1.0 i18n-extract problem.

2009-08-16 Thread Gábor Fási
I'm not familiary with symfony 1.0 so it's just a guess: did you clear your cache after installing it? On Sun, Aug 16, 2009 at 15:56, Guychmyrat Amanmyradov wrote: > Hi, i have installed i18n-extract successfully. > When i try to use >>>symfony i18n-extract frontend en > i got this error: > > >  

[symfony-users] symfony 1.0 i18n-extract problem.

2009-08-16 Thread Guychmyrat Amanmyradov
Hi, i have installed i18n-extract successfully. When i try to use >>symfony i18n-extract frontend en i got this error:  [pakeException]   Task "i18n-extract" is not defined. i could not find answer on google. Any idea ? __

[symfony-users] Re: Sf Upload Dir

2009-08-16 Thread Peter Kreutzer
Hello! I have exactly the same problem and I found the follwing solution: In the file sfProjectConfiguration.class.php public function setWebDir($webDir) { sfConfig::add(array( 'sf_web_dir'=> $webDir, 'sf_upload_dir' => $webDir.DIRECTORY_SEPARATOR.'uploads',

[symfony-users] Re: I18n + Umlauts: not working without utf8_encode

2009-08-16 Thread EddieG
Yes, I'm sure, Firefox says: "Encoding: UTF-8". Eddie --~--~-~--~~~---~--~~ 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] symfony form dinamy option list

2009-08-16 Thread QuanNH
i have 2 table bsc and cell with relation 1:n bsc: id, name, .. cell: id, bsc_id, name, .. now i want group some cells into group, so i create table group & cell_group: group: id, name, ... cell_group: cell_id, group_id i use doctrine to build model, form, ... when I create a new group, I