[symfony-users] Re: sfValidatorChoice with default Value?!

2009-07-12 Thread VCG(virus)
The auto population as i asked before has been solved by myself. If any one wants one can go to this link http://worldonfree.blogspot.com/ VCG(virus) Nepal On Jul 7, 10:42 am, "VCG(virus)" wrote: > hey... > I am a newbee for symfony. > I am having similar problem to setDefault option 'choose a v

[symfony-users] Re: Problem with links in Prod enviroment

2009-07-12 Thread Eno
On Mon, 13 Jul 2009, Tuan Vu Minh wrote: > I have just found the solution for this issue. Just turn off " > no_script_name" in the prod: of setting.yml file. Most probably the problem is you dont have the .htaccess file that redirects all requests to your front controller (index.php). (Or your

[symfony-users] Re: custom related fields in the filters

2009-07-12 Thread Dheeraj Kumar Aggarwal
Hi create a filter in generator.yml as follows: filters: [Text] Now in Text.php file of model layer, add a __toString method as public function __toString() { return $this->getTitle(); } May be it helps. On Sun, Jul 12, 2009 at 8:37 PM, j_man wrote: > > I spent a lot of time for cu

[symfony-users] Re: Problem with links in Prod enviroment

2009-07-12 Thread Tuan Vu Minh
I have just found the solution for this issue. Just turn off " no_script_name" in the prod: of setting.yml file. On Mon, Jul 13, 2009 at 8:28 AM, Tuan Vu Minh wrote: > I am following the instruction of My first > projectin the > sy

[symfony-users] Re: Output Escaping

2009-07-12 Thread Eno
On Sun, 12 Jul 2009, Tanner wrote: > When I print an object out of the database in a form, the content is > not escaped. I have properly set "escaping_strategy" and > "escaping_method" in my app's settings.yml file, but it just doesn't > work. I am getting an object from the database like this: >

[symfony-users] Problem with links in Prod enviroment

2009-07-12 Thread Tuan Vu Minh
I am following the instruction of My first projectin the symfony website. Everything is ok but the link in the prod enviroment. For example, if I accesss the website with the address http://localhost/blog/ => the homepage appears as usua

[symfony-users] Symfony 1.1 -> 1.2 question. Manage dates with PDO arrays.

2009-07-12 Thread Matías López
Hello, Im moving my project from Symfony 1.1 to 1.2 I have issues with the new PDO code, because with Creole I could retrieve date data with a custom format using the ->getDate('d/M/Y') function on each $rs. Now I have my whole recordset in a $row where I only have an array $row with current rec

[symfony-users] Output Escaping

2009-07-12 Thread Tanner
When I print an object out of the database in a form, the content is not escaped. I have properly set "escaping_strategy" and "escaping_method" in my app's settings.yml file, but it just doesn't work. I am getting an object from the database like this: $this->object = SomeTablePeer::retrieveByPk(

[symfony-users] Customize sfDoctrineGuardPlugin

2009-07-12 Thread jforet
Hello, I have 2 projects which use the same database. Each project uses the plugin sfDoctrineGuardPlugin. For each project, I have customize "plugins\sfDoctrineGuardPlugin \config\doctrine\schema.yml" in adding table name : for project 1 : sfGuardGroup: tableName: project1_sfGuardGroup for pro

[symfony-users] custom related fields in the filters

2009-07-12 Thread j_man
I spent a lot of time for custom fields in the filter, but it's no works. For example: I have the Article model, and I want to configure the filter for module article. All of the article item related with Text (text is another model). I want to add in the article filter field Text.title (title o

[symfony-users] Re: Status of PayPal plugin(s)

2009-07-12 Thread Marijn
On Jul 12, 2:25 am, Gandalf wrote: > Thats great! I checked github repository and found it empty. I really > like your approach sounds very similar to what I have, I wat to see > and see if my code is up to plugin standards!!! Hi Pablo, Check out my branch in the SVN Repo. There is a very min

[symfony-users] compat_10 in settings.yml

2009-07-12 Thread DEEPAK BHATIA
Hi, I am using Symfony 1.1. When I created a project and executed that application, it never asked to set compat_10 to true. But I created another project, when I login, it asked for setting compat_10 to true. I changed the compat_10 in settings.yml to true but symfony gave the error. Then I w

[symfony-users] Re: some question for form renderError()

2009-07-12 Thread mlu...@gmail.com
I have now created two errors at one field with max_length=9, min_length=11 and posting 10 characters. It seems there always just returned one error. My work around looks like this: hasError()): ?> getError();

[symfony-users] Re: some question for form renderError()

2009-07-12 Thread mlu...@gmail.com
It's the same to me. The returned value isn't an array. You can display the error message with __toString(). But what happens if there are more than one error to the field. Michael On 20 Mai, 10:48, ctrlming wrote: > Oh my god~.. > I got another question . > inhttp://www.symfony-project.org/fo

[symfony-users] Re: some question for form renderError()

2009-07-12 Thread mlu...@gmail.com
I have the same problem. The reason is getError doesn't return an array. It's a string. But I don't know what happens if there are more than one error on one field. michael On 20 Mai, 10:48, ctrlming wrote: > Oh my god~.. > I got another question . > inhttp://www.symfony-project.org/forms/1_2/e

[symfony-users] Problem with the website - My tasks

2009-07-12 Thread Yoda-BZH - Tristan Charbonneau
Hello I have a problem with the website. I recently (and successfully) created a plugin. I received a contribution proposal, but since then, when I want to see My Tasks, or when I go on my plugin page, I have a 500 error. The affected plugin is sfJqueryCarouselPlugin http://www.symfony-project.o