Re: [symfony-users] Re: is sfLucenePlugin dead? what are people using for search?

2009-11-26 Thread Thomas Rabaix
Hello, I am not working anymore on the Zend_Search version as it suffers from performance issues. Now, the svn version should works fine with Propel and Doctrine. Now, I have started a new branch to handle Solr engine (which is based on Java and Lucene), the current version on the svn should

Re: [symfony-users] Re: is sfLucenePlugin dead? what are people using for search?

2009-11-26 Thread Lawrence Krubner
Thanks, Thomas, I look forward to using it. But what is the correct URL for the newest (reasonably stable) version? On Thu, Nov 26, 2009 at 4:01 AM, Thomas Rabaix thomas.rab...@gmail.com wrote: Hello, I am not working anymore on the Zend_Search version as it suffers from performance issues.

Re: [symfony-users] set defaults values dynamically

2009-11-26 Thread Alexandre SALOME
When you instanciate your form, give it some options. Your action : public function executeEdit($request) { $options = array ( 'default_email' = Entrez votre e-mail ); $form = new ExemploForm($object, $options); } And your forms is now : class myExemploForm extends ExemploForm {

[symfony-users] Re: Need advise regarding a Doctrine_Template that all CMS entities will actAs

2009-11-26 Thread jean-phi
stay tuned here http://www.fri-dev.com/ dev-solutions.fr is under refactoring. What kind of website you plan to make under symfony CMS? On 25 nov, 21:47, Alexandre SALOME alexandre.sal...@gmail.com wrote: Very impressive... Your RSS feed on dev solutions doesn't work and... I need it :)

Re: [symfony-users] Re: is sfLucenePlugin dead? what are people using for search?

2009-11-26 Thread Thomas Rabaix
sfLucenePlugin -r 24031 http://svn.symfony-project.com/plugins/sfLucenePlugin/branches/1.2-Solr On Thu, Nov 26, 2009 at 10:18 AM, Lawrence Krubner lawrence.krub...@gmail.com wrote: Thanks, Thomas, I look forward to using it. But what is the correct URL for the newest (reasonably stable)  

Re: [symfony-users] Re: is sfLucenePlugin dead? what are people using for search?

2009-11-26 Thread Thomas Rabaix
I am looking forward for any comments/issues you might have, and don't hesitate to write a small installation procedure On Thu, Nov 26, 2009 at 10:32 AM, Thomas Rabaix thomas.rab...@gmail.com wrote: sfLucenePlugin -r 24031 http://svn.symfony-project.com/plugins/sfLucenePlugin/branches/1.2-Solr

[symfony-users] action added at the end of my links in the admin

2009-11-26 Thread Simone Fumagalli
Hello. I'm on symfony 1.4DEV I don't understand why I get the word action at the end of my links. I've for instance added this in generator.yml for my module Sender [...] config: actions: ~ list: display: [id, company, name, surname, email] actions:

[symfony-users] Re: Forums are down

2009-11-26 Thread halfer
Hi, I'm not sure if anyone is aware but the symfony forums are not working. If you go to http://forum.symfony-project.org/ You get: The forum is under maintenance. Sorry for the inconvenience. It's been like this since at least yesterday. I quickly looked through user posts to see

[symfony-users] Re: sfGuard - different usertypes?

2009-11-26 Thread halfer
I have to build an application with quite a few different user types - admins, members, affiliates, sales people, and all of these types will use different applications within the project. Now, of course I'd like to use sfGuard for this, but I'm struggling with how to administer these users

Re: [symfony-users] Re: sfGuard - different usertypes?

2009-11-26 Thread Benjamin Grandfond
You can also create sfGuardGroup for each type of user you have and set the sfGuardUserGroup to the type of user your are creating. 2009/11/26 halfer google.com.20080213...@jondh.me.uk I have to build an application with quite a few different user types - admins, members, affiliates, sales

[symfony-users] unsubcribe

2009-11-26 Thread edem AMEWUAME
hi my compte is not google compte how can i unsubscrive in group please unsubcrive me please _ Tchattez en direct en en vidéo avec vos amis ! http://www.windowslive.fr/messenger/ -- You

[symfony-users] Re: custom format date arguments

2009-11-26 Thread Timmipetit
This is a link I found some time ago that I usually use when I want to know about a date format pattern: http://fellipeeduardo.com/blog/symfony-helper-format_date-how-to-use/en/ Tijmen On Nov 25, 9:39 pm, Alexandre SALOME alexandre.sal...@gmail.com wrote: Yess, you have d, F, m, r, ...:

[symfony-users] Re: sfGuard - different usertypes?

2009-11-26 Thread Timmipetit
If you're using Doctrine, you could use inheritance. For example using column aggregation. On Nov 26, 5:43 am, Richtermeister nex...@gmail.com wrote: Hi all, I'm quite familiar with sfGuard, but there's one thing I've never figured out right. I have to build an application with quite a few

[symfony-users] Re: DBFinderPlugin future

2009-11-26 Thread Tony Piper
+1 from me. It would be great if François could update it for Propel 1.4 and Symfony 1.3/1.4 compatibility - it would probably take him just a few minutes (relative to how long it would take me)… The lack of DbFinder is a show-stopper for my 1.2-1.3 upgrade testing and migration plans. cheers,

Re: [symfony-users] Re: sfDoctrineGuardPlugin errors with 1.3/1.4

2009-11-26 Thread Christopher Schnell
Any news on this one? will the plugin be packaged for 1.3/1.4 when they are released? Thanks, Christopher. ken schrieb: you might want to check this ticket http://www.doctrine-project.org/jira/browse/DC-271 On Nov 24, 2:20 pm, Alexandre SALOME alexandre.sal...@gmail.com wrote: I use

Re: [symfony-users] Re: Forums are down

2009-11-26 Thread Fabien Potencier
halfer wrote: Hi, I'm not sure if anyone is aware but the symfony forums are not working. If you go to http://forum.symfony-project.org/ You get: The forum is under maintenance. Sorry for the inconvenience. It's been like this since at least yesterday. I quickly looked through user

[symfony-users] problem with admin generator

2009-11-26 Thread axel at
hello list, in my current project I have to use an existing database and in this special case there is no way to change the given structure (which is not 3 normalized) Person: tableName: ... columns: id: type: integer(4) primary: true type1: integer(4) type2:

[symfony-users] Re: unsubcribe

2009-11-26 Thread halfer
On Nov 26, 2:26 am, edem AMEWUAME erki...@hotmail.com wrote: hi my compte is not google compte how can i unsubscrive in group please unsubcrive me please I don't think just anyone can unsubscribe you, but you can do it yourself. Log onto google and click on Edit my membership, then you can

Re: [symfony-users] Re: sfDoctrineGuardPlugin errors with 1.3/1.4

2009-11-26 Thread Alexandre SALOME
When symfony 1.3/1.4 will be released, plugins will be updated. Not before 2009/11/26 Christopher Schnell ty...@mda.ch Any news on this one? will the plugin be packaged for 1.3/1.4 when they are released? Thanks, Christopher. ken schrieb: you might want to check this ticket

[symfony-users] Re: Easy gmap plugin icon

2009-11-26 Thread Fabrice Bernhard
Hi Steve, I had not seen that you had posted here before writing me an email. It is actually easy to customise an icon, the sample 6 shows you how to do it: http://svn.symfony-project.com/plugins/sfEasyGMapPlugin/branches/v3/modules/sfEasyGMapPlugin/actions/actions.class.php Alexandre, your

RE: [symfony-users] problem with admin generator

2009-11-26 Thread Olivier LOYNET
Relations name have to be different, Person1, Person2, Person3 Type: tableName: columns: id: type: integer(4) primary: true autoincrement: true name: type: string(150) relations: Person1: foreignAlias: type1 local: id foreign: type1

[symfony-users] sfWidgetFormDoctrineChoiceMany - how can I set default value ?

2009-11-26 Thread dziobacz
I have tables: Books, BooksAuthors, Authors. I use sfWidgetFormDoctrineChoiceMany and I want that default author was author with id = 2 but I can't do that. The default author is author with id = 1 - WHY ?? My code: $this-setWidget('authors_list', new sfWidgetFormDoctrineChoiceMany(array(

[symfony-users] Adding tabindex to expanded multiple choice fields

2009-11-26 Thread Grégoire
Hi, I'm on symfony 1.3. I have form that several fields. One of these fields is a sfWidgetFormDoctrineChoice widget, with 'multiple' and 'expanded' options set to 'on'. So checkboxes are displayed. I want to add a tabindex attribute to my field, so I tried this:

[symfony-users] Re: sfWidgetFormDoctrineChoiceMany - how can I set default value ?

2009-11-26 Thread Grégoire
Have you tried this? $this-setDefaults(array( 'authors_list' = array(2) )); On 26 nov, 16:31, dziobacz aaabbbcccda...@gmail.com wrote: I have tables: Books, BooksAuthors, Authors. I use sfWidgetFormDoctrineChoiceMany and I want that default author was author with id = 2 but I can't do that.

[symfony-users] Re: sfWidgetFormDoctrineChoiceMany - how can I set default value ?

2009-11-26 Thread dziobacz
Yes but no result - I can selected this options in JavaScript but in Symfony in setDefaults() I can't - why ? On 26 Lis, 16:37, Grégoire gregoire.marc...@gmail.com wrote: Have you tried this? $this-setDefaults(array(   'authors_list' = array(2) )); On 26 nov, 16:31, dziobacz

Re: [symfony-users] Re: Multiple Doctrine Databases / Sf1.4 Issues

2009-11-26 Thread Jonathan Wage
This should be fixed now. - Jon On Wed, Nov 25, 2009 at 1:29 PM, Thomas Parisot // Oncle Tom tho...@oncle-tom.net wrote: I'm not encountering this problem anymore with Doctrine 1.2-RC1. :) On 24 nov, 19:49, Thomas Parisot // Oncle Tom tho...@oncle-tom.net wrote: Isn't it similar to

[symfony-users] Question about table_method

2009-11-26 Thread tirengarfio
Hi, i want to create a table_method to show backend users list. I have started to read some things about it but i have serious doubts.. First of all: If i generate the backend and the sfGuardUser admin module i get a list with the sfGuardUser fields: Id - Username - Algorithm - Salt -

[symfony-users] Re: latin chars in yml fixtures

2009-11-26 Thread jotape-uy
I saved the text file using UTF8 encoding with notepad, but now data- load command is not working, because apparently UTF8 encoding adds some strange chars unrecognized by symfony On Nov 25, 6:17 pm, jotape-uy j.pablobla...@gmail.com wrote: How do I change file encoding? I didn't choose any

[symfony-users] comma instead of dot

2009-11-26 Thread dziobacz
I have form with price field - but I can write only price with dot, price with comma is incorrect - what can I do ? In my country price has got always comma. -- 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] Inheritance with doctrine

2009-11-26 Thread Federov
Hi everyone. I'm new using symfony, I followed the jobeet and now I'm starting a proyect of my own. This proyect is for a real state agent and I'm trying to use inheritance with doctrine. I have 4 types of properties houses, apartments, farms and fields, there are features shared for all the

[symfony-users] Re: problem with admin generator

2009-11-26 Thread thelittlebug
dont forget to define the class, eg. relations: Person1: class: Person #your modeltype foreignAlias: type1 local: id foreign: type1 foreignType: one -- You received this message because you are subscribed to the Google Groups symfony users group. To

[symfony-users] Using another view don't render it inside layout template

2009-11-26 Thread Sergey Kuznetsov
Hello, colleagues! I have an action which calls another view file in some cases: public function executeComposite() { //[...] if (count($node-getChildren()) 0) { $this-showCatList($this-catId); return 'Catlist'; } //[...] }

[symfony-users] Can't get sfguard user on action.

2009-11-26 Thread Rodrigo
Hi, I'm using the sfguard plugin in my application. My problem is that after I login when I do this on the action $id = null; if($this-getUser()-isAuthenticated()){ $this-getUser()-getsfGuardUser()-getId() } the following error appears Call to undefined method myUser::getsfGuardUser. I

[symfony-users] Problem with left join

2009-11-26 Thread Dimitry Kislichenko
Hello, I'm new to symfony and doctrine so I need, help because I'm stuck. I have two tables, avg_dns and host, both are connected. Table avg_dns have host_id that is foreign key of host, so I need to make select with join left and get row from host. Here is my avg_dns and host scheme: AvgDns:

Re: [symfony-users] File uploading

2009-11-26 Thread Martin Ibarra Cervantes
please see http://stereointeractive.com/blog/2009/01/23/uploading-a-file-with-symfony-12/ or the documentation on symfony is very easy On Wed, Nov 25, 2009 at 10:38 PM, Parijat Kalia kaliapari...@gmail.com wrote: Hey guys, I need to allow users to upload files. Thing is, I am not using the

[symfony-users] Re: Can't get sfguard user on action.

2009-11-26 Thread Antoine S.
Hi, in sfGuardSecurityUser the function to get the sfGuardUser object is getGuardUser() so : if($this-getUser()-isAuthenticated()){ $this-getUser()-getGuardUser()-getId() } On Nov 27, 4:01 am, Rodrigo rsantel...@gmail.com wrote: Hi, I'm using the sfguard plugin in my application. My

Re: [symfony-users] File uploading

2009-11-26 Thread Parijat Kalia
IT requires me to use SF forms...I want to do it without using thatany other suggestions?? Thanks for the link though! On Thu, Nov 26, 2009 at 12:13 PM, Martin Ibarra Cervantes ibarra.cervan...@gmail.com wrote: please see

Re: [symfony-users] Re: Save embedded forms at diferent times

2009-11-26 Thread Germana Oliveira
I try to do what to told me, just to test, with the table Persona, i got this error: Unable to execute INSERT statement. [wrapped: SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (`indepabis/persona`, CONSTRAINT `persona_FK_1`

Re: [symfony-users] File uploading

2009-11-26 Thread Lawrence Krubner
Hey guys, I need to allow users to upload files. Thing is, I am not using the SF Forms, and my forms are as basic as they can be. I want to make use of something that is the equivalent of $this-getrequest()-moveFile() but that seems to be deprecated. I don't understand your question. If

[symfony-users] Re: File uploading

2009-11-26 Thread larry
Hey guys, I need to allow users to upload files. Thing is, I am not using the SF Forms, and my forms are as basic as they can be. I want to make use of something that is the equivalent of $this-getrequest()-moveFile() but that seems to be deprecated. I don't understand your question. If

[symfony-users] symfony mailer question

2009-11-26 Thread Paul Witschger
I'm new to symfony, so I apologize now if this has already been answered, or is a stupid question. I'm trying to setup one of my form submissions to send an email whenever it is submitted (Contact Form). I've read the What's New section of 1.3 and it shows that you can do:

[symfony-users] Re: symfony mailer question

2009-11-26 Thread djones
It's shown in the swift documentation: http://swiftmailer.org/docs/recipients Use an array with the e-mail as the key and the name as the value: array('some...@test.com' = 'Some One') On Nov 26, 9:01 pm, Paul Witschger tigerseyet...@gmail.com wrote: I'm new to symfony, so I apologize now if

Re: [symfony-users] Using another view don't render it inside layout template

2009-11-26 Thread Gareth McCumskey
Rather use $this-setTemplate('viewFile'). Eg: public function executeComposite() { //[...] if (count($node-getChildren()) 0) { $this-showCatList($this-catId); $this-setTemplate('Catlist'); } //[...] } 2009/11/26 Sergey

[symfony-users] Internal server error on sfStringValidator

2009-11-26 Thread Rameses
Hi everyone, In the last two days, I've run into a problem, and hopefully some of you may be able to help. I have isolated it in the following description. In a form, I have the following line: $this-setValidator('description', new sfValidatorString(array ('max_length'=50, 'required'=false),

Re: [symfony-users] Question about table_method

2009-11-26 Thread Gareth McCumskey
sfUser is not a model class. Its a singelton class to manage storing and retrieveing of user session data amongst others. On Thu, Nov 26, 2009 at 8:21 PM, tirengarfio tirengar...@gmail.com wrote: Hi, i want to create a table_method to show backend users list. I have started to read some

[symfony-users] Re: comma instead of dot

2009-11-26 Thread dziobacz
In form I have: $this-setValidators(array( 'price' = new sfValidatorNumber(), )); I think in many countries people uses comma instead of dot and real nobody know ? On 26 Lis, 20:39, dziobacz aaabbbcccda...@gmail.com wrote: I have form with price field - but I can write only price with

Re: [symfony-users] Using another view don't render it inside layout template

2009-11-26 Thread Sergey Kuznetsov
Thanks, but I'm already found the problem. It was a helper function in the compositeCatlist.php which was not included anywhere, and my environment was configured for disable showing errors. And thanks for the setTemplate() method, I will use it. 2009/11/27 Gareth McCumskey gmccums...@gmail.com

Re: [symfony-users] Re: comma instead of dot

2009-11-26 Thread Gábor Fási
This might be what you are looking for: http://www.symfony-project.org/plugins/sfFormI18nNumberPlugin On Fri, Nov 27, 2009 at 07:21, dziobacz aaabbbcccda...@gmail.com wrote: In form I have: $this-setValidators(array(      'price' = new sfValidatorNumber(),    )); I think in many countries