Re: [symfony-users] Drag'n'drop

2010-01-11 Thread Frank Stelzer
... or use an according sf plugin, which includes your requirements (e.g sfJqueryReloadedPlugin, when you use jQuery as js lib). DragDrop and the rest of the js features aren't anymore parts of the sf core. Am 10.01.2010 um 14:42 schrieb Thomas Rabaix: This feature is deprecated. You must

[symfony-users] Nested Joins

2010-01-11 Thread Radu Dragomir
Is it possible to write the following statement using standard propel? select distinct document.id, document.document_name, document.document_description from document left join (document_tag left join tag on document_tag.tag_id = tag.id ) on document.id = document_tag.document_id I tried

[symfony-users] how to do redirect in filter?

2010-01-11 Thread XAH
Hello. lib version 1.0.21 I have filter that checks if requested path info is valid. If check failed, filter should generate an other url based on requested path and default route params ($validated_url) . After this check (if failed) project calls sfContext::getInstance()-getController

Re: [symfony-users] sfDoctrineGuard is killing me

2010-01-11 Thread Gabo
try to delete all tables and next symfony:doctrine Gabo 2010/1/11 Mike Church mchu...@gmail.com Hi Folks: I have been trying to deploy, I have everything working right locally. Now without implying I've tried everything I can tell you all that I am at the end of my rope. When I use

[symfony-users] Re: fixtures segmentation fault

2010-01-11 Thread lorenx
any suggestion? thanks... On Jan 8, 3:23 pm, lorenx lor...@gmail.com wrote: hi all, have the couple schema/data that worked with symfony 1.2 but now, with v1.4, i recieve: doctrine  Loading data fixtures from /lan/http/symfony/projects/cms/data/fixtures Segmentation fault it seems a

Re: [symfony-users] Re: fixtures segmentation fault

2010-01-11 Thread Stéphane
Try minimizing your schema (with only two classes for example) without any _ in your fields (prefer camelCase) and tell us. Cheers, Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On Mon, Jan 11, 2010 at 4:13

[symfony-users] Re: fixtures segmentation fault

2010-01-11 Thread lorenx
hi and thanks for your reply! the problem is related to AclUser (if i remove both entries, all works as expected) the AclUser schema is the following: AclUser: tableName: acl_user columns: id: type: integer(4) primary: true autoincrement: true username: type:

[symfony-users] CrusieControl symfony question

2010-01-11 Thread Fred Grott(shareme)
Hello everyone I am implementing an ANT build for CruiseControl Symfony builds. I found that if I use ant-contib I can if switch between a local set of build/logs, build/doc, and build/coverage and the one in the Cruseconrol project structure so I can use the same exact build file and have

[symfony-users] Symfony for newspaper site

2010-01-11 Thread Bob
Hi all, Collecting information about important points why Symfony can be beneficial for newspapers web-sites (in comparison to Drupal6, where time for hacking is large, but end-code is not nice. I found some good points here already -

[symfony-users] fbml not rendering in Ajax response (using sfFacebookConnectPlugin)

2010-01-11 Thread Zach
I am having trouble getting a facebook user's name to display as part of my ajax response. I am using the sfFacebookConnectPlugin for all my facebook interactions. The following code works great in the template, but does not do anything when it is in an ajax response template. fb:name uid=?php

Re: [symfony-users] Symfony for newspaper site

2010-01-11 Thread Lee Bolding
On 11 Jan 2010, at 17:20, Bob wrote: Hi all, Collecting information about important points why Symfony can be beneficial for newspapers web-sites (in comparison to Drupal6, where time for hacking is large, but end-code is not nice. I found some good points here already -

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

2010-01-11 Thread Darren884
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. } employee_id: help: The employee who

[symfony-users] How to copy I18N objects in propel

2010-01-11 Thread Walter
Hi all, does anybody knows how to copy I18N objects. I have a main oject with additional I18N data. If I copy (with the propel copy comand) the main object the additional I18N data is not copied as well. The deep copy command is also not suitable becaus it deletes the reference of the mother

[symfony-users] Re: sfDoctrineGuard is killing me

2010-01-11 Thread Mike Church
Thanks for the response! On Jan 10, 11:58 pm, Frank Stelzer d...@bleedingmoon.de wrote: Hi, Looks like a SQL Problem. You should get a detailed explained error,   when you try to execute this query directly to your database: ALTER TABLE sf_guard_group_permission ADD CONSTRAINT

[symfony-users] Re: sfDoctrineGuard is killing me

2010-01-11 Thread Mike Church
On Jan 11, 6:23 am, Gabo gabopo...@gmail.com wrote: try to delete all tables and next symfony:doctrine Gabo I rebuild completely, so that's ot it. Thanks. -- You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send

[symfony-users] FormFilter - sfWidgetFormChoice 'multiple' = true ... error

2010-01-11 Thread Tom Ptacnik
Hello, I have classic admin generated backend (Symfony 1.4). Today I've tried to customize the filter for the list view. The problem is that I want to filter by multiple select. So I've changed default widgets in configure method in my TicketFormFilter class from: 'tkstate'= new

[symfony-users] Re: Symfony for newspaper site

2010-01-11 Thread Fred Grott(shareme)
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, Bob cyberbo...@gmail.com wrote: Hi all, Collecting information about important points why Symfony can be beneficial for newspapers web-sites (in comparison

Re: [symfony-users] sfDoctrineGuard is killing me

2010-01-11 Thread Georg Gell
probably the key name is too long. Try if this works: ALTER TABLE sf_guard_group_permission ADD CONSTRAINT g FOREIGN KEY (permission_id) REFERENCES sf_guard_permission(id) Am 11.01.2010 07:54, schrieb Mike Church: Hi Folks: I have been trying to deploy, I have everything working right

Re: [symfony-users] How to copy I18N objects in propel

2010-01-11 Thread Alexandru-Emil Lupu
$new_object = clone $old_object ? On Mon, Jan 11, 2010 at 9:24 PM, Walter walter.mat...@googlemail.comwrote: Hi all, does anybody knows how to copy I18N objects. I have a main oject with additional I18N data. If I copy (with the propel copy comand) the main object the additional I18N data

Re: [symfony-users] Problem:Could not open input file: symfony

2010-01-11 Thread Alexandru-Emil Lupu
chown group:user symfony chmod +x symfony ? On Sun, Jan 10, 2010 at 10:59 PM, Dj dhan...@gmail.com wrote: I tryied php symfony it shows message could not open input file : symfony Please tell me the solution -- You received this message because you are subscribed to the Google Groups

[symfony-users] 1.3 update error The task named configure:database in sfPropelConfigureDatabaseTask task is already registered by the sfConfigureDatabaseTask task

2010-01-11 Thread Johan Dindaine
Hello every one, I have attempted to update my application up to version 1.3 this afternoon via PEAR. The update of the core files went well but I soon as I tried to call the upgrade1.3 task from the console I got this weird message: sfCommandException: The task named configure:database in

[symfony-users] Re: Symfony for newspaper site

2010-01-11 Thread Jake Barnes
Collecting information about important points why Symfony can be beneficial for newspapers web-sites (in comparison to Drupal6, where time for hacking is large, but end-code is not nice. I found some good points here already

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

2010-01-11 Thread Darren884
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 I get nothing from it. I was using: public function setPassword($password) { parent::setPassword(sh1($password));

[symfony-users] Re: sfDoctrineGuard is killing me

2010-01-11 Thread Georg Gell
This is a mysql specific error, because mysql only allows 64 bytes length (http://dev.mysql.com/doc/refman/5.0/en/identifiers.html). It seems that the SQL standard defines 128 bytes ( http://bugs.mysql.com/bug.php?id=13942) I think you should file a bug report for doctrine. Am 12.01.2010 00:31,

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

2010-01-11 Thread Lee Bolding
On 12 Jan 2010, at 00:24, Darren884 wrote: I am trying to override my setPassword method for my employee model but everytime I try to overwrite it I get nothing from it. I was using: public function setPassword($password) { parent::setPassword(sh1($password));

[symfony-users] How to save multiple different object types in one transaction, symfony

2010-01-11 Thread Dennis
(posted on symfony forums: general, 1.3/1.4 branch) How can I put several updates of objects inside of one transaction in Symfony? For example: I have a car object which is allowed only one picture. The owner of the record edits the record about the car and supplies the name of another file foto

[symfony-users] Re: sfDoctrineGuard is killing me

2010-01-11 Thread Mike Church
On Jan 11, 4:25 pm, Georg Gell geor...@have2.com wrote: This is a mysql specific error, because mysql only allows 64 bytes length (http://dev.mysql.com/doc/refman/5.0/en/identifiers.html). It seems that the SQL standard defines 128 bytes (http://bugs.mysql.com/bug.php?id=13942) I think you

[symfony-users] Re: redirect method covert to amp;

2010-01-11 Thread chrisyue
no .. that is not the case, I've already raise a trac ticket to core dev team http://trac.symfony-project.org/ticket/8083 ken wrote: you need to explicitly call ini_set('arg_separator.output', ''); before ProjectConfigutation On Jan 8, 10:43 am, chrisyue blizzch...@gmail.com wrote: yes I've

[symfony-users] showsuccess relation

2010-01-11 Thread Gabo
Help!! In the ShowSuccess of id (table document) print 2 instead Coca Cola ??? but in the editSuccess and newSuccess print good Method: $document-getCompanyId() i net to create a method in document.class.php??? -- You received this message because you are subscribed to the Google Groups

[symfony-users] Re: How to save multiple different object types in one transaction, symfony

2010-01-11 Thread Dennis
On further investigation, I was trying to do two statements at the same time, set the isolation level to SERIALIZABLE and start the transaction. I was actually naming the transaction as a setpoint to the name SERIALIZALBLE. Leaving the name blank, i.e. $connection-beginTransaction() still didn't

[symfony-users] Re: How to save multiple different object types in one transaction, symfony

2010-01-11 Thread Dennis
'That was *wouldn't* be possible to overload ' On Jan 11, 9:05 pm, Dennis gear...@sbcglobal.net wrote: On further investigation, I was trying to do two statements at the same time, set the isolation level to SERIALIZABLE and start the transaction. I was actually naming the transaction as a

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

2010-01-11 Thread dziobacz
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 more I think current format: mm-dd- is wrong because in normal

Re: [symfony-users] showsuccess relation

2010-01-11 Thread Gábor Fási
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 are subscribed to the Google Groups symfony users group. To