[symfony-users] Re: Help with should be simple stuff...

2010-01-12 Thread Davide Borsatto
You actually know that the function is sha1 and not sh1, and it's just a typo, right? On Jan 12, 1:24 am, Darren884 darren...@gmail.com wrote: Hello, I am having trouble with the following: I am trying to override my setPassword method for my employee model but everytime I try to overwrite it

[symfony-users] Re: Symfony for newspaper site

2010-01-12 Thread Bob
To my mind Wordpress (as well as Drupal6) is not a good option for my case, because there is no control of development roadmap (who knows what incompatible changes will bring next WP release, which fix critical issues and provide new features?). Wordpress is still not framework, but blogging

[symfony-users] Re: sfWidgetFormJQueryDate option format is no longer supported in version 1.1.1?

2010-01-12 Thread axel at
there is already a ticket reporting this problem: http://trac.symfony-project.org/ticket/8041 I closed your ticket referring to 8041 I think mm-dd- is the standard format in the usa? greetings axel On 12 Jan., 07:57, dziobacz aaabbbcccda...@gmail.com wrote: I would like to use also format

[symfony-users] Call to a member function getTable() with an embeded sfForm

2010-01-12 Thread Ahmed
I have a UserForm extends BasesfGuardUserForm wich embed an another (sfGuardUserFormProfile) this is the modele (simplified): sfGuardUser: columns: id: type: integer(4) primary: true autoincrement: true sfGuardUserProfile: tableName: sf_guard_user_profile columns:

[symfony-users] Re: Symfony for newspaper site

2010-01-12 Thread Bob
Right, but I need to use PHP in any way, so have to find if there is django-in-php-world. On Jan 11, 8:59 pm, Fred Grott(shareme) fred.gr...@gmail.com wrote: Django was developed with newspapers in mind, in fact the main coding team is still in the newspaper it business.. On Jan 11, 11:20 am,

[symfony-users] Re: sfValidatorSchema default_messages

2010-01-12 Thread diogobaeder
Any other idea, guys? I still can't translate all the messages I need to... :-( Thanks! On Jan 4, 12:02 pm, diogobaeder diogobae...@gmail.com wrote: Hmmm, not for me... the validation messages show only in English, no matter what translations I put on the XLIFF file... Diogo On 4 jan,

[symfony-users] Re: sfWidgetFormJQueryDate option format is no longer supported in version 1.1.1?

2010-01-12 Thread Massimiliano Arione
On 12 Gen, 07:57, dziobacz aaabbbcccda...@gmail.com wrote: I would like to use also format in sfWidgetFormJQueryDate in symfony 1.4. Here is my ticket:http://trac.symfony-project.org/ticket/8093#preview You can give there your suggestions so maybe fabien faster solve this problem. What is

[symfony-users] Copying my project: errors with symbolic links

2010-01-12 Thread Javier Garcia
Hi, to save my copy in an external disk i have use this: sudo cp /opt/lampp/htdocs/rs/* -R /media/disk-1/rs After that i get this error messages: cp: cannot create symbolic link `/media/disk-1/rs/web/sfProtoculousPlugin': Operation not permitted cp: cannot create symbolic link

[symfony-users] Re: sfWidgetFormJQueryDate option format is no longer supported in version 1.1.1?

2010-01-12 Thread dziobacz
Massimiliano maybe you could create a plugin from your solution and place it here: http://www.symfony-project.org/plugins/ ? :) On 12 Sty, 14:03, Massimiliano Arione garak...@gmail.com wrote: On 12 Gen, 07:57, dziobacz aaabbbcccda...@gmail.com wrote: I would like to use also format in

Re: [symfony-users] Re: sfWidgetFormJQueryDate option format is no longer supported in version 1.1.1?

2010-01-12 Thread Rodrigo Ruiz Fuentes
El 12/01/2010 10:40, dziobacz escribió: Massimiliano maybe you could create a plugin from your solution and place it here: http://www.symfony-project.org/plugins/ ? :) On 12 Sty, 14:03, Massimiliano Arionegarak...@gmail.com wrote: On 12 Gen, 07:57, dziobaczaaabbbcccda...@gmail.com wrote: I

Re: [symfony-users] showsuccess relation

2010-01-12 Thread Gabo
Thanks Gabor!! 2010/1/12 Gábor Fási maerl...@gmail.com Try $document-getCompany() and create a __toString() in the Company model to return it's name. On Tue, Jan 12, 2010 at 04:24, Gabo gabopo...@gmail.com wrote: Method: $document-getCompanyId() -- You received this message because you

[symfony-users] Symfony pgsql

2010-01-12 Thread Gabo
Help!! In the IndexSuccess and ShowSuccess Symfony print Created: 2010-01-11 10:38:42 (timestamp format) i net to print Created : 2010-01-11 (Date format) in all project symfony. BD: postgres 8.3 Any Ideas!!?? Thanks! -- You received this message because you are subscribed to the Google

[symfony-users] Re: Help with should be simple stuff...

2010-01-12 Thread djones
If you are using doctrine then you need to do it like this: $this-_set('password', sha1($password); And yes, you can define a column as unique in your schema.yml file: unique: true (this will automatically add the unique index). On Jan 11, 7:24 pm, Darren884 darren...@gmail.com wrote: Hello, I

[symfony-users] Re: Call to a member function getTable() with an embeded sfForm

2010-01-12 Thread Ahmed
any help please ? On 12 jan, 12:14, Ahmed ghaliano2...@gmail.com wrote: I have a UserForm extends BasesfGuardUserForm wich embed an another (sfGuardUserFormProfile) this is the modele (simplified): sfGuardUser:   columns:     id:       type: integer(4)       primary: true      

Re: [symfony-users] Re: Symfony for newspaper site

2010-01-12 Thread Alexandru-Emil Lupu
have a look in here : http://trac.symfony-project.org/wiki/ApplicationsDevelopedWithSymfony There are a lot of application types wrote in symfony :). Is all about your imagination... alecs On Tue, Jan 12, 2010 at 1:45 PM, Bob cyberbo...@gmail.com wrote: Right, but I need to use PHP in any

[symfony-users] Re: MySQL error with a little filter

2010-01-12 Thread tirengarfio
Hi, my error occurs because symfony is generating this (you'll find it in my post before): Doctrine_Connection-execute('SELECT b.id AS b__id, b.day AS b__day FROM birthday b WHERE b.day = ? AND b.day = ?', array('month' = '1', 'day' = '2', 'year' = '2014')) Ok, the clause is a bit confuse

Re: [symfony-users] Symfony pgsql

2010-01-12 Thread Alexandre Salomé
Hello, ?php use_helper('Date'); ? ?php echo date_format('d', $created_at); ? If not d, then try others : D, f, F, p, P ... don't remember every one. Good luck, Alexandre 2010/1/12 Gabo gabopo...@gmail.com Help!! In the IndexSuccess and ShowSuccess Symfony print Created: 2010-01-11

Re: [symfony-users] Symfony pgsql

2010-01-12 Thread Eno
On Tue, 12 Jan 2010, Gabo wrote: Help!! In the IndexSuccess and ShowSuccess Symfony print Created: 2010-01-11 10:38:42 (timestamp format) i net to print Created : 2010-01-11 (Date format) in all project symfony. BD: postgres 8.3 Any Ideas!!?? http://tinyurl.com/y8sdxlv --

[symfony-users] Re: Symfony 1.4, doctrine 1.2 and the method embedRelation with many to many relation and admin generator

2010-01-12 Thread Tom Ptacnik
Maybe this article will be usefull for you: http://sandbox-ws.com/frameworks/symfony-frameworks/how-to-embed-forms-in-symfony-12-admin-generator-part-2 On 10 led, 18:06, Fabrizio fabrizio.pucci...@gmail.com wrote: Hi, in a similar way as described in Advanced forms, I used the method

[symfony-users] Re: fixtures segmentation fault

2010-01-12 Thread Tom Ptacnik
It looks like the problem is in the fixtures, not in schema...don't you think ? see doctrine Loading data fixtures from /lan/http/symfony/projects/cms/data/fixtures Segmentation fault Other thing I would advice is remove parts of schema of AclUser or parts of fixtures for AclUser and debug

[symfony-users] Re: doctrine many to one one the same table

2010-01-12 Thread Tom Ptacnik
I think that if you want a multiselect box for the children you will need a many to many relationship... think about how to store the informations from this multiselect box... Or if you don't want a M:N relationship then you have to not show (in this multiselect box) a folders which already has a

[symfony-users] How to automatically fill out a field that relates to a user?

2010-01-12 Thread Darren884
I have employees who login and write articles as well as manage support tickets for customers, and a field is assigned to each entry they create. It is employee_id and in $this-getUser it has been assigned as an attribute as employee_id. How do I automatically make it so that employee_is filled

[symfony-users] Re: doctrine many to one one the same table

2010-01-12 Thread smellycat37
if a folder has a parent with the reference on folder_id, he has children with the same reference... so it's a relation 1:n... so it could be possible to have in a form : 1- the parent (the folder who have as id the folder_id of the current item) in a select box 2- the children (all folders who

Re: [symfony-users] Re: Extensively customizing admin generated backends?

2010-01-12 Thread Alec Joseph Rivera
On Mon, 2010-01-11 at 11:12 -0800, Darren884 wrote: The credential for the field is not working. The fields are still being displayed. Am I doing something wrong? Here is my code: config: actions: ~ fields: customer_id { help: The customer for whom the order is for.

[symfony-users] Validator Troubles

2010-01-12 Thread d-man97
Using symfony + guard plugin: http://pastebay.com/82233 MySQL queries shown on the symfony debug bar appear to be correct run through mysql query browser just fine. Whether I use an addSelectColumn or not, I just can't get the result into a usable variable to compare the associated group_id. --

[symfony-users] Re: Validator Troubles [SOLVED]

2010-01-12 Thread Derek White
I was able to fix this problem with the following: $criteria = new Criteria(); $criteria-add(sfGuardUserGroupPeer::USER_ID, $value); $result = sfGuardUserGroupPeer::doSelect($criteria); if (count($result) == 0 || $result[0]-getGroupId() != 1) Having the column restriction on the

[symfony-users] Installation on shared hosting

2010-01-12 Thread Ali
Hi Symfony users and Developers, i am new in php and symfony development so far symfony has done wel for me , but its really hard for me to get the thing done right on deployment side , its my 10th hour and i am unable to deploy the project on

[symfony-users] Re: Installation on shared hosting

2010-01-12 Thread Darren884
You should have at least one directory above the public_html. What you will have to do is install it there and then set the web directory to the public_html. You might come into some problems with opeb_base_dir. If that is the case you will need to modify your PHP security settings. On Jan 12,

Re: [symfony-users] Re: Installation on shared hosting

2010-01-12 Thread Frank He
You can add multiple symfony projects in just one account, like what I did with hostmonster structure can be like this: public_html --web(all your web assets including index.php) --symfony-clb(all symfony files, apps, configue...) And then in your webroot, modify your controller like this:

[symfony-users] class mapping between amfphp and flex

2010-01-12 Thread xhe
I am trying to use VO mapping between symfony and flex, in symfony, I used amfPlugin. if you have every succesfuly used VO mapping through amfPlugin and as3, can you should me how you did it? Thanks -- You received this message because you are subscribed to the Google Groups symfony users group.

Re: [symfony-users] Symfony pgsql

2010-01-12 Thread Alex Potter
On Tuesday 12 January 2010 17:20:09 Alexandre Salomé wrote: Hello, ?php use_helper('Date'); ? ?php echo date_format('d', $created_at); ? If not d, then try others : D, f, F, p, P ... don't remember every one. http://www.tutorialspoint.com/php/php_function_date_format.htm HTH Alex --

[symfony-users] Modify sfGuardUserForm fields

2010-01-12 Thread Jose San Gil
Hi folks! I'm trying to modify the validation of the 'permissions_list' field generated in the basesfGuardUserForm.class.php. I want to set the 'required' option to 'True'. I tried with this: class sfGuardUserForm extends PluginsfGuardUserForm { public function configure() {

[symfony-users] Re: Extensively customizing admin generated backends?

2010-01-12 Thread Darren884
What I am going to have to do is unset it if the user does not have the right credential so it does not display, and perhaps also validate it. Thanks for the info though. On Jan 11, 9:53 pm, Alec Joseph Rivera eij...@gmail.com wrote: On Mon, 2010-01-11 at 11:12 -0800, Darren884 wrote: The