[symfony-users] Propel admin generator in combination with internationalisation

2009-12-18 Thread thomees
I've ran into a problem with propels admin generator. I recently internationalized my database schema and would like to be able to manage the multilingual content in my backend. However, symfony spits out all sorts of errors. I moved the columns with multilingual content into the corresponding

Re: [symfony-users] 404 config not working

2009-12-18 Thread Gábor Fási
While using the dev front controller, you will always get that screen (you don't really care about a fancy 404 screen while developing, do you?). If you want to customize your 404 template, use the prod controller. On Fri, Dec 18, 2009 at 04:27, diogobaeder diogobae...@gmail.com wrote: Hi, I'm

[symfony-users] ysfYUIPlugin and isXmlHttpRequest()

2009-12-18 Thread Lukas Kahwe Smith
Ahoi, From my research it seems that YUI doesnt send the required X_REQUESTED_WITH header information. But I think that previous version of the ysfYUIPlugin added support for sending the header. However it seems like this is missing in the 1.3 branch? Or what js file should I load in order to

[symfony-users] Re: Problem with ysfYUIPlugin installation... Help me please!!! :(

2009-12-18 Thread Marco V.
Seems that I have resolved my problem with this plug-in this morning, after that I did symfony cc in command line... :) Thanks to all... On 17 Dic, 13:05, Marco V. vantaggiat...@gmail.com wrote: OK, thank you Stèphane... Someone can help me please? On 17 Dic, 13:01, Stéphane

Re: [symfony-users] Re: var_dump Doctrine_Record

2009-12-18 Thread Alexandre Salomé
If you do want to retrieve integer value, overload the getValue() method to cast the value. Don't think you should mind it. Alexandre 2009/12/16 Salim salim.semao...@gmail.com I also tried to inspect these values in a controller action, and I got strings anyway On 16 déc, 16:15, Alexandre

Re: [symfony-users] Re: Help with display of doctrine float numbers

2009-12-18 Thread Alexandre Salomé
Try this : value: { type: float(8), scale: 4, notnull: true } 2009/12/18 PhiKapJames phikapja...@gmail.com I have for this table: value: type: float() fixed: false unsigned: false primary: false notnull: true autoincrement: false In the data I have

Re: [symfony-users] ysfYUIPlugin and isXmlHttpRequest()

2009-12-18 Thread Lukas Kahwe Smith
On 18.12.2009, at 12:14, Lukas Kahwe Smith wrote: Ahoi, From my research it seems that YUI doesnt send the required X_REQUESTED_WITH header information. But I think that previous version of the ysfYUIPlugin added support for sending the header. However it seems like this is missing in

[symfony-users] Re: 404 config not working

2009-12-18 Thread diogobaeder
Thanks for the help, guys! I'll create a route for the 404 action, for testing purposes, then... BTW, great site, Lupu! It's in my bookmarks, now, thanks for the tip! :-) Diogo On 18 dez, 08:52, Gábor Fási maerl...@gmail.com wrote: While using the dev front controller, you will always get

[symfony-users] Re: Discount Code for Symfony Users - Perq - A Symfony Powered Website

2009-12-18 Thread Matt Robinson
On Dec 17, 6:30 pm, CA calt...@matterco.com wrote: The application, which is for small business people to track employee paid time off, may or may not be right for you, but I wanted to give back some way I could. Use SYMFONY50 and receive 50% off for six months. I've got a question - what's

Re: [symfony-users] Re: Discount Code for Symfony Users - Perq - A Symfony Powered Website

2009-12-18 Thread Andrei Dziahel
Hi. I think it's http://www.perqworks.com/ 2009/12/18 Matt Robinson m...@lazycat.org On Dec 17, 6:30 pm, CA calt...@matterco.com wrote: The application, which is for small business people to track employee paid time off, may or may not be right for you, but I wanted to give back some way

Re: [symfony-users] Re: Discount Code for Symfony Users - Perq - A Symfony Powered Website

2009-12-18 Thread Daniel Lohse
perqworks.com Really funny, but Google is your friend... :D Daniel On Dec 18, 2009, at 1:56 PM, Matt Robinson wrote: On Dec 17, 6:30 pm, CA calt...@matterco.com wrote: The application, which is for small business people to track employee paid time off, may or may not be right for you, but I

[symfony-users] Re: Propel admin generator in combination with internationalisation

2009-12-18 Thread Thor
try posting the schema meanwhile -- 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+unsubscr...@googlegroups.com. For

[symfony-users] Re: Propel admin generator in combination with internationalisation

2009-12-18 Thread Massimiliano Arione
Basing on my experience, I can tell you that symfony *does* generates proxy methods. Maybe you missed to adapt your fixtures after schema modifies? On 18 Dic, 10:51, thomees thown...@gmail.com wrote: I've ran into a problem with propels admin generator. I recently internationalized my database

[symfony-users] Re: Fatal error: Class 'sfInflector' not found

2009-12-18 Thread Enes AKALIN
Tskler Serkan Bey gerçekten çok yardımcı oldunuz... :) -- 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] Render single choice of sfWidgetFormSelectCheckbox

2009-12-18 Thread Pierre-Gildas MILLON
Hello people, I'm looking for some ideas in front of a quite simple problem. Here is a simple form: class MyForm extends sfForm { public function setup() { $choices = array('option_1', 'option_2'); $this-setWidgets(array( 'options' = new sfWidgetFormChoice(array('expanded' =

[symfony-users] Re: question about sf jobeet tutorial Day 5 sfError404Exception

2009-12-18 Thread l3ia-etu
you must put the job's id after the module: http://jobeet.localhost/frontend_dev.php/job/1/... On 16 déc, 21:19, mars marsg...@gmail.com wrote: i followed the day 5 tutorial,  aftre change route to sfDoctrineRoute, i got the correct url format as specified in the

[symfony-users] Doctrine Form - multiple/recursive embedRelation - Apache

2009-12-18 Thread Tobias
Hello, I have a Doctrine Form (Teammatch) which consists of several Matches which themselves have several Games. So I have a recursive embedded Relation like this: class TeammatchForm extends BaseTeammatchForm { public function configure() { $this-embedRelation('Matches'); } }

[symfony-users] How to set variables In the Global template?

2009-12-18 Thread ajit
Hi all, I have an application where I need to customize the look(Color Scheme which matches the client site) for each client using the single codebase...So what I am doing is I am storing the values in the yml file and from that I am fetching the values. I am doing something like this in the

[symfony-users] Doctrine 2 joins on same table

2009-12-18 Thread mattvick
Symfony 1.4 PHP 5.2.9 MySQL 5.0.81 I'm having exactly the same issue but the posted solution isn't working for me. schema.yml: Schedule: columns: kickoff: type: timestamp notnull: true venue_id: type: integer(4) home_id: type: integer(4) away_id:

[symfony-users] Re: Setting default error messages for forms (1.4.1)

2009-12-18 Thread xplo
Hi, it s probably because you call setMessage after the validator has been created, the text message is set when the validator is created and wont be changed afterward ( it will happens will all propel/doctrine form since the validator are created in the setup call ). I just put the default

[symfony-users] problema with build-schema in command line

2009-12-18 Thread Maicol
Hi, i have this problem: When I write in the command line symfony doctrine: build-schema I get this error No models generated from your databases. Why? Thanks -- You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to

Re: [symfony-users] Setting default error messages for forms (1.4.1)

2009-12-18 Thread YTH
Dear Campezzia, I am using Symfony 1.2.9, but the following codes may also work in 1.4.1. class frontendConfiguration extends sfApplicationConfiguration { public function configure() { sfValidatorBase::setRequiredMessage(This field is required.); sfValidatorBase::setInvalidMessage(This

[symfony-users] plugin:install not working for 1.3/1.4?

2009-12-18 Thread Kevin
I seem to be having trouble installing plugins through the plugin:install command in sf1.3/4. In a new project I run symfony plugin:install sfDoctrineGuardPlugin I get: Unable to get plugin licence information for plugin sfDoctrineGuardPlugin: Unknown package: sfDoctrineGuardPlugin in channel

[symfony-users] Re: problema with build-schema in command line

2009-12-18 Thread Maicol
I solved the problem. Thanks to all. On 18 Dic, 09:08, Maicol maicol_c...@hotmail.it wrote: Hi, i have this problem: When I write in the command line symfony doctrine: build-schema I get this error No models generated from your databases. Why? Thanks -- You received this message because

Re: [symfony-users] plugin:install not working for 1.3/1.4?

2009-12-18 Thread Stéphane
There are plugins not yet ready for sf1.3/1.4. You must install them manually and check their code by using symfony project:validate (to see used deprecated stuff). Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale!

[symfony-users] Re: plugin:install not working for 1.3/1.4?

2009-12-18 Thread Kevin
I should have clarified, all these plugins I am trying to install are compatible with 1.3. On Dec 18, 9:24 am, Stéphane stephane.er...@gmail.com wrote: There are plugins not yet ready for sf1.3/1.4. You must install them manually and check their code by using symfony project:validate (to see

Re: [symfony-users] Reasons NOT To Use CakePHP

2009-12-18 Thread Lee Bolding
I wouldn't say Cake is _bad_. I've used it on a fairly large project and wasn't horrified by it - but maintaining a Cake app is a LOT more work than creating and maintaining a Symfony app. Work === time === money. This is chiefly because Symfony has a lot of additional helpers, and auto

[symfony-users] Re: Doctrine 2 joins on same table

2009-12-18 Thread djones
It might be a case-sensitivity issue - you have lowercase (venue, home and away) in your relations section of your schema, but the first letter capitalised (Venue, Home, Away) in your fixtures. On Dec 17, 12:05 pm, mattvick vickery.matt...@gmail.com wrote: Symfony 1.4 PHP 5.2.9 MySQL 5.0.81

Re: [symfony-users] How to set variables In the Global template?

2009-12-18 Thread Alexandru-Emil Lupu
sfConfig::set($name, $value) maybe ? On Thu, Dec 17, 2009 at 4:44 PM, ajit csa...@gmail.com wrote: Hi all, I have an application where I need to customize the look(Color Scheme which matches the client site) for each client using the single codebase...So what I am doing is I am storing the

Re: [symfony-users] Reasons NOT To Use CakePHP

2009-12-18 Thread David Wang
I'd second what Pablo said. You can always get a list of reasons for or against a framework. In the end, if the client can support Cake but not symfony, then i'd just use cakephp. CakePHP is pretty easy to develop in. If you can develop in symfony, cakephp will be... cake :) -d On Dec

[symfony-users] Re: problema with build-schema in command line

2009-12-18 Thread ruigoncalves
What was the problem? It might help others. On Dec 18, 2:23 pm, Maicol maicol_c...@hotmail.it wrote: I solved the problem. Thanks to all. On 18 Dic, 09:08, Maicol maicol_c...@hotmail.it wrote: Hi, i have this problem: When I write in the command line symfony doctrine: build-schema I

[symfony-users] Re: problema with build-schema in command line

2009-12-18 Thread ruigoncalves
What was the problem? It might help others. On Dec 18, 2:23 pm, Maicol maicol_c...@hotmail.it wrote: I solved the problem. Thanks to all. On 18 Dic, 09:08, Maicol maicol_c...@hotmail.it wrote: Hi, i have this problem: When I write in the command line symfony doctrine: build-schema I

RE: [symfony-users] enum in config/schema.yml

2009-12-18 Thread Olivier LOYNET
Hi With Doctrine you could do that to have a enum with a foreign key Resource: tableName: resource columns: id: { type: integer(4), primary: true, autoincrement: true } resource_type_id: { type: enum, values: [value1, value2, value3], notnull: true } name: { type: string(255) }

[symfony-users] sfDynamics and sf1.4

2009-12-18 Thread Fred Grott(shareme)
Hello everyone, Excuse the briefness of this note.. For those of us using Sf 1.4.1 and the sfDrynamicsPlugin it appears that changes were made in svn Dec 7th so we should pull the svn source as install form that correct? I know that the 0.93?? still has errors on sf1.4.1 although the plugin is

[symfony-users] I can't see the images of the default module.

2009-12-18 Thread tirengarfio
Hi, i have instaled XAMPP (for linux) and then i have installed symfony in /opt/lampp/htdocs/my_proyect/lib/vendor. Now i cant see the images of the default module. I have change the permissions, even from the /opt folder, but the problem persists... Any idea? Bye Javi -- You received this

[symfony-users] Re: Setting default error messages for forms (1.4.1)

2009-12-18 Thread Campezzi
Thanks! This worked like magic :) Best Regards, Thiago Campezzi campe...@gmail.com On 17 dez, 20:21, xplo xplo...@gmail.com wrote: Hi, it s probably because you call setMessage after the validator has been created, the text message is set when the validator is created and wont be changed

Re: [symfony-users] ysfYUIPlugin and isXmlHttpRequest()

2009-12-18 Thread Lukas Kahwe Smith
On 18.12.2009, at 13:20, Lukas Kahwe Smith wrote: On 18.12.2009, at 12:14, Lukas Kahwe Smith wrote: Ahoi, From my research it seems that YUI doesnt send the required X_REQUESTED_WITH header information. But I think that previous version of the ysfYUIPlugin added support for sending