[symfony-users] Re: Doubts about translations in a plugin

2010-09-10 Thread Matthias N.
AFAIK this command does not work with plugins. You have to manually create a file in the i18n/ folder of your plugin. regards, Matthias On 8 Sep., 16:28, Juan juanv...@gmail.com wrote: Hi every body, I made an app following the Jobeet tutorial and I packaged in a plugin without I10N and

Re: [symfony-users] demo site - seperate db connection?

2010-09-10 Thread Paul Burdon
Hi Wanderson, That looks like what I was looking for, haven't delved into environments before, just used the default ones. Thanks, Paul On 9 September 2010 22:57, Wanderson wpolica...@gmail.com wrote: Why not make use of environments? You can define 2 envs 'prod' and 'demo' in your

Re: [symfony-users] Re: How to remove send.x and send.y parameters from GET url?

2010-09-10 Thread Jochen Daum
Hi, On Fri, Sep 10, 2010 at 7:20 AM, ScherlOMatic stefan.scherbich...@gmail.com wrote: Thanks for the info. So as I guess it's impossible to remove them. Do you know if the problem is the same with 'button' tag? The button tag won't have the problem -- If you want to report a

Re: [symfony-users] demo site - seperate db connection?

2010-09-10 Thread Jochen Daum
Hi John, On Thu, Sep 9, 2010 at 9:46 PM, Tofuwarrior p...@clearintent.co.uk wrote: Hi, I want to do a demo of our site and to reset the database every 30 minutes. Would it be better to run the demo using a different database connection and a separate database or can anyone think of a way

[symfony-users] sfDoctrineGuardPlugin - extend fields in user model

2010-09-10 Thread Dirk Conzelmann
Although this topic seams not to be new at all, I stuck with it now for two days: I have a working application with the sfDoctrineGuard plugin. Now I want to extend the user table using a model which extends the user-informations. I get an error when trying to build-all using this schema:

AW: [symfony-users] Choosing the best JS toolkit plugin for RIA

2010-09-10 Thread Christopher Schnell
I use jQuery and jQueryUI for the most of my fancy stuff, too, but I think in comparison to extJS it lacks a really powerful datagrid. There are a few plugins for that, but i guess to transfer the lookfeel of a desktop app into the web, extJS is more suited than jQuery. Regards, Christopher.

[symfony-users] Symfony and mod_remoteip

2010-09-10 Thread Laurent Vaills
Hi, I am developping a website using symfony 1.4 on CentOS 5 (httpd 2.2.3, php 5.2.10). I have compiled the mod_remoteip on the httpd 2.2 (because this module is only available for httpd 2.3). But the IP that is reported by Apache is the one of our load-balancer. After some tests, I've found

Re: [symfony-users] Re: Connection to MS sql server

2010-09-10 Thread Gábor Fási
What's the error message? Did you try the dblib driver? Quote from the php manual: The DSN prefix is sybase: if PDO_DBLIB was linked against the FreeTDS libraries, mssql: if PDO_DBLIB was linked against the Microsoft SQL Server libraries, or dblib: if linked against any other variety of DB-lib.

[symfony-users] Re: Symfony and mod_remoteip

2010-09-10 Thread pghoratiu
Is the load balancer responsible for caching as well? Check http://en.wikipedia.org/wiki/X-Forwarded-For and retrieve the client IP address from that HTTP header. You don't need anything extra on the Apache side. gabriel On Sep 10, 12:52 pm, Laurent Vaills laurent.vai...@gmail.com wrote:

Re: [symfony-users] Abridged summary of symfony-users@googlegroups.com - 30 Messages in 12 Topics

2010-09-10 Thread joost . farla
Beste, Tot en met vrijdag 10 september ben ik niet aanwezig op kantoor. U kunt voor dringende zaken contact opnemen met mijn collega Dimitri van Hees: dimi...@freshheads.com of 013 5448761. Met vriendelijke groet, Joost Farla joost.fa...@freshheads.com - - freshheads grafisch ontwerp en

[symfony-users] sfWidgetFormChoice and setDefault

2010-09-10 Thread torok84
I have this code in a doctrine form $this-widgetSchema['priority'] = new sfWidgetFormChoice( array( 'choices' = $pri_choices )); var_dump($pri_choices); echo max(array_keys($pri_choices)); $this-widgetSchema['priority']- setDefault(

[symfony-users] Re: Symfony and mod_remoteip

2010-09-10 Thread Laurent Vaills
Yes, my load-balancer is responsible for caching as well and correctly set the header X-Forwarded-For. Actually, I really need the mod_remoteip because I want the real IP in the access_log . Laurent On Sep 10, 1:10 pm, pghoratiu pghora...@gmail.com wrote: Is the load balancer responsible for

[symfony-users] Re: Choosing the best JS toolkit plugin for RIA

2010-09-10 Thread Daniel Toffetti
Gareth, I can do without dragdrop and animations, but I must have powerful UI controls like datagrid, treegrid, modal dialogs, even charts. I do understand JQuery has lots of plugins and perhaps there are good datagrid plugins, but if possible I prefer to have just one standard and well

[symfony-users] Re: Choosing the best JS toolkit plugin for RIA

2010-09-10 Thread Daniel Toffetti
Stéphane, I've never heard of it, will take a look. Is there any Symphony plugin to integrate with it ? Thanks !!! Daniel On 10 sep, 02:53, Stéphane stephane.er...@gmail.com wrote: If you want true javascript framework (with OO layer), for desktop-application UI look-alike, look at

[symfony-users] Re: Choosing the best JS toolkit plugin for RIA

2010-09-10 Thread Daniel Toffetti
Greg, I've never heard of it and have to take a deeper look, but the idea of sending all the business logic to the client sounds weird to me, and besides we want to minimize the coding in JS, even avoid it at all if posible !! IMHO that is the beauty of these JS toolkits, if you write PHP

[symfony-users] Re: Symfony and mod_remoteip

2010-09-10 Thread pghoratiu
Understand, you can have that also without the extra apache module, I use this to log both proxy and client IP: # If you are behind a reverse proxy, you might want to change %h into % {X-Forwarded-For}i LogFormat %{X-Forwarded-For}i %h %l %u %t \%r\ %s %b %T \% {Referer}i\ \%{User-Agent}i\ %D %X

[symfony-users] How to display/get the info-related to the main form on the embedded form?

2010-09-10 Thread Alejandro Gómez
Hi folks. The database has two tables: 'alumno' and 'alumno_interno'. The 'alumno' table contains general data about students: name, lastname, address, etc. The 'alumno_interno' table contains details about the student: grade, control number, etc. The relationship between tables is: alumno {id,

Re: [symfony-users] How to display/get the info-related to the main form on the embedded form?

2010-09-10 Thread jota
Try this: public function configure() { parent::configure(); /*code portion removed*/ $alumno_interno = $this-getObject()-AlumnoInterno(); //if the object Alumno is new it gives you an empty AlumnoInterno object, else it gives you the associated

[symfony-users] [SOLVED] Re: How to display/get the info-related to the main form on the embedded form?

2010-09-10 Thread Alejandro Gómez
I don't know why but embedRelation('AlumnoInterno') did not work. Maybe the Propel version? Symfony throws me Call to undefined method AlumnoForm::embedRelation. In the other hand, I used getAlumnoInternos() wich Gets an array of AlumnoInterno objects which contain a foreign key that references

[symfony-users] Re: Symfony2 Sandbox database collation

2010-09-10 Thread secretcode
I was able to set the collation on a mysql database through YAML using the attributes default_table_charset and default_table_collate. Here's how my config/database.yml file looks like: all: doctrine: class: sfDoctrineDatabase param: dsn: