[symfony-users] Re: change default sfRoute class

2010-02-17 Thread Mathieu Tricoire
Hi raphael, Yes it's for all routes, I just want define my own generator route class to add an option for generate url function to manage subdomain. For example I define my host in app.yml like that : www.domain.com And in my routing # If the current host is default host, generate relative url

[symfony-users] Re: Symfony frontend sort by th

2010-02-17 Thread ziclo
Is there a native (doctrine or symfony) method ? Thanks On 14 fév, 14:52, Daniel Lohse annismcken...@googlemail.com wrote: You should take a look at the internal Sympal plugin sfSympalDataGridPlugin. This will do what you want and there's also some documentation about it on the Sympal

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

2010-02-17 Thread joost . farla
Beste, Tot en met 18 februari ben ik niet aanwezig op kantoor. U kunt contact opnemen met Wout Withagen: w...@freshheads.com of 013 5448761. Met vriendelijke groet, Joost Farla joost.fa...@freshheads.com - - freshheads grafisch ontwerp en internet applicaties Dunantstraat 1c | 5017 KC Tilburg

[symfony-users] White screen only in production enviroment

2010-02-17 Thread Trailfinder
Hi all, My dev enviroment works great. But when I deploy to my production enviroment, I get a white screen only. Strange thing is, my backend is working. My frontend only gives white screens. I can imagine there can be multiple places to look. But is there a way to test effectively where the

Re: [symfony-users] White screen only in production enviroment

2010-02-17 Thread Gábor Fási
Edit your frontend's settings.yml, specifically prod's error_reporting so you can see the error. Do not forget to uncomment the line when you're done. On Wed, Feb 17, 2010 at 14:37, Trailfinder beer...@gmail.com wrote: Hi all, My dev enviroment works great. But when I deploy to my production

[symfony-users] sflive2010 Symfony Core Dev QA session

2010-02-17 Thread Ben Haines
After Stefan Koopmanschap's talk about community on Saturday at sflive2010 I feel compelled to give something back ;) So here is the Symfony Core Dev Team in HD ;) Enjoy! http://www.vimeo.com/user1491208/videos Ben -- You received this message because you are subscribed to the Google Groups

Re: [symfony-users] White screen only in production enviroment

2010-02-17 Thread Eno
On Wed, 17 Feb 2010, Trailfinder wrote: My dev enviroment works great. But when I deploy to my production enviroment, I get a white screen only. Strange thing is, my backend is working. My frontend only gives white screens. I can imagine there can be multiple places to look. But is there a

[symfony-users] Re: change default sfRoute class

2010-02-17 Thread Mathieu Tricoire
I found a solution not very pretty but it works for the moment ... but if someone has a solution I take. #factories.yml routing: class: myPatternRouting class myPatternRouting extends sfPatternRouting { public function connect($name, $route) { $routes = $route instanceof

Re: [symfony-users] sflive2010 Symfony Core Dev QA session

2010-02-17 Thread Dennis Benkert
This is great, thanks very much for sharing this! Will you provide more of them in the days? - Dennis 2010/2/17 Ben Haines ben.hai...@gmail.com: After Stefan Koopmanschap's talk about community on Saturday at sflive2010 I feel compelled to give something back ;) So here is the Symfony Core

[symfony-users] Re: Nginx symfony url_for problem

2010-02-17 Thread Arthur Ccube
OGeee... My script works now! I've modifed a few things, don't know which one is the error command anyway: prev: location ~ \.php$ { ... } location ~ \.php($|/) { } now, only one .php: location ~ \.php($|/) { } prev, only: fastcgi_param SCRIPT_FILENAME /home/sfproject/web$script; now:

[symfony-users] Re: change default sfRoute class

2010-02-17 Thread Mathieu Tricoire
Not works... On 17 fév, 15:43, Mathieu Tricoire mathieu.trico...@gmail.com wrote: I found a solution not very pretty but it works for the moment ... but if someone has a solution I take. #factories.yml   routing:     class: myPatternRouting class myPatternRouting extends sfPatternRouting

Re: [symfony-users] White screen only in production enviroment

2010-02-17 Thread Lee Bolding
http://www.symfony-project.org/plugins/sfErrorHandlerPlugin On 17 Feb 2010, at 14:26, Eno wrote: On Wed, 17 Feb 2010, Trailfinder wrote: My dev enviroment works great. But when I deploy to my production enviroment, I get a white screen only. Strange thing is, my backend is working. My

[symfony-users] Re: sflive2010 Symfony Core Dev QA session

2010-02-17 Thread Ben Haines
Absolutely... as I get to upload them. Unfortunately power is scarce a the conference and handbrake doesn't run that fast on my Mac ;) I'll have uploaded them all by the end of the week. On 17 Feb, 14:56, Dennis Benkert spinecras...@googlemail.com wrote: This is great, thanks very much for

[symfony-users] ahDoctrineEasyEmbeddedRelationsPlugin : how to hide some form widgets

2010-02-17 Thread Mikael
Hello, I've installed the ahDoctrineEasyEmbeddedRelationsPlugin and set it up to manage Eth records linked to Pc ones. On the pc backend module, I've configured the form to only show some widgets (because pc inherits from Obj which many useless fields in the context of a pc). This gives us this

[symfony-users] Why is not created the field id in the table?

2010-02-17 Thread Javier Garcia
Hi, i have this schema below. My problem: the field id in the table amigo_usuario is not created . Any idea? Usuario: inheritance: extends: sfGuardUser type: simple columns: nombre_apellidos: string(60) sexo: boolean fecha_nac: date provincia: string(60)

Re: [symfony-users] ahDoctrineEasyEmbeddedRelationsPlugin : how to hide some form widgets

2010-02-17 Thread Daniel Lohse
Hey there, there's only one way I can of, which you probably won't like. Just configure all the fields directly in the form. :) So, delete the form: display: key and just create another form inheriting from the form you are probably already using elsewhere and use $this-useFields() before

Re: [symfony-users] ahDoctrineEasyEmbeddedRelationsPlugin : how to hide some form widgets

2010-02-17 Thread Stéphane
Hi, In the BaseDoctrineForm, in the ::configure() method, I've coded something like this: $aConditions = array('ajax'=isAjax ? 'ajax:false, 'new'= isNew ? 'new': false, 'embedded'=isEmbedded?'embedded':false, ); $method = sprintf('_computeFields%s%s%s', $aConds['ajax'], $aConds['new'],

[symfony-users] Is there anyway to go to the next element in a Doctrine collection?

2010-02-17 Thread Javier Garcia
Hi, Im trying to show two elements of a Doctrine collection inside a div this way: foreach ($friends as $friend) { ? div id=photo_friend ?php echo link_to( image_tag( '/uploads/fotografias_miembros/'.$friend-getAvatar()),

Re: [symfony-users] Is there anyway to go to the next element in a Doctrine collection?

2010-02-17 Thread Stéphane
Hi, next($my_collection); should work Cheers, Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On Wed, Feb 17, 2010 at 8:52 PM, Javier Garcia tirengar...@gmail.comwrote: Hi, Im trying to show two elements

Re: [symfony-users] Is there anyway to go to the next element in a Doctrine collection?

2010-02-17 Thread Javier Garcia
I wrote this below inside the loop: ?php next($amigos_miembro) ? But it doesn't work.. Javi On 02/17/2010 08:57 PM, Stéphane wrote: Hi, next($my_collection); should work Cheers, Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre

Re: [symfony-users] Is there anyway to go to the next element in a Doctrine collection?

2010-02-17 Thread Stéphane
Why not foreach-ing ? Please give us more of your template to understand what you want to do. Cheers, Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On Wed, Feb 17, 2010 at 9:17 PM, Javier Garcia

[symfony-users] Re: ahDoctrineEasyEmbeddedRelationsPlugin : how to hide some form widgets

2010-02-17 Thread Mikael
On Feb 17, 2:34 pm, Stéphane stephane.er...@gmail.com wrote: Hi, In the BaseDoctrineForm, in the ::configure() method, I've coded something like this: $aConditions = array('ajax'=isAjax ? 'ajax:false, 'new'= isNew ? 'new': false, 'embedded'=isEmbedded?'embedded':false, ); $method =

[symfony-users] signout credentials

2010-02-17 Thread ashton honnecke
You can't restrict access to login with is_secure or credentials (http://www.symfony-project.org/reference/1_4/en/08-Security) because it makes no sense to do so. However you can do so to logout, which IMO makes just as little sense. Scenario: backend/config/security.yml --

Re: [symfony-users] Is there anyway to go to the next element in a Doctrine collection?

2010-02-17 Thread Javier Garcia
Maybe this time the image is attached correctly..:).. On 02/17/2010 09:23 PM, Stéphane wrote: Why not foreach-ing ? Please give us more of your template to understand what you want to do. Cheers, Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à

[symfony-users] Id being lost on update..

2010-02-17 Thread Samuel Morhaim
I am getting an error when doing a simple edit/update ... the ID of the item is being lost. This is the DB log... maybe somebody can help ? # SELECT c.id AS c__id, c.organization_id AS c__organization_id, c.name AS c__name, c.description AS c__description, c.is_active AS c__is_active FROM

[symfony-users] Re: Id being lost on update..

2010-02-17 Thread Samuel Morhaim
If it helps.. this is the error, of course because it lost the id.. SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '0' for key 1 stack trace * at () in SF_SYMFONY_LIB_DIR/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Connection.php line 1082 ...

[symfony-users] Re: Why this don't take the real ID values from DB?

2010-02-17 Thread Tom Ptacnik
Or ... http://www.symfony-project.org/api/1_3/sfWidgetFormDoctrineChoice your can specify your key_method On 16 ún, 16:38, ReynierPM rper...@uci.cu wrote: On 2/16/2010 10:12 AM, Tom Ptacnik wrote: Is  ID set as primary key in the TEspecialidad table? I found the problem, the PK is

[symfony-users] Certification programme

2010-02-17 Thread Apul Gupta
Hi, Is there any certification program for symfony? Thanks Apul Gupta -- You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-us...@googlegroups.com. To unsubscribe from this group, send email to

[symfony-users] Re: How can I configure a route for a module using a 2-columns key ?

2010-02-17 Thread Tom Ptacnik
I think NOOVEO must hit the reply button on your question, then change subject and ask his question...? On 16 ún, 20:14, Javier Garcia tirengar...@gmail.com wrote: Anyone knows why the subject of the thread change? Javi On Feb 16, 5:56 pm, NOOVEO - Christophe Brun c.b...@nooveo.fr wrote:

[symfony-users] Re: How can I configure a route for a module using a 2-columns key ?

2010-02-17 Thread Tom Ptacnik
Look there ... the last comment. http://tohenk.wordpress.com/2009/04/22/using-multiple-primary-keys-in-admin-generator/ On 16 ún, 17:56, NOOVEO - Christophe Brun c.b...@nooveo.fr wrote: Basically, the related table is an association table : VitrineLivre:   actAs: { Timestampable: ~ }  

[symfony-users] Re: Symfony frontend sort by th

2010-02-17 Thread Tom Ptacnik
If you want a native method you can look into generated backend actions and templates and replicate this in your frontend. On 16 ún, 19:05, ziclo lauren...@gmail.com wrote: Is there a native (doctrine or symfony) method ? Thanks On 14 fév, 14:52, Daniel Lohse annismcken...@googlemail.com