[symfony-users] Re: How to embed forms with 2 relations (embedRelation)

2010-05-05 Thread saki
Should I create a module for the LinkPartnerService table? (which contains the relation between partners and services?) Thx! On máj. 4, 13:37, saki sakrame...@gmail.com wrote: Hi! Please to help me to solve this... There are partners (firms). Partners have services. Services have notes

[symfony-users] How to embed forms with 2 relations (embedRelation)

2010-05-04 Thread saki
Hi! Please to help me to solve this... There are partners (firms). Partners have services. Services have notes. Partners - Services using M-M relation, it works fine! I added embed forms to the service page to include the note forms. Still works fine. I added a service and partner field to the

[symfony-users] How to customize generate-module?

2010-05-03 Thread saki
Hi! I use the next command to generate a new module: symfony doctrine:generate-module --with-show --non-verbose-templates frontend xy xyz Unfortunately after this, I have to modify almost all the created files a bit. How can I make a module skeleton? How can change the module creator process?

[symfony-users] How to store data for the relation?

2010-04-28 Thread saki
Hi! I don't really understand how to store data for the relations. I give an example... Service table Hosting Programming Administrator works Company table Company1 Company2 Company3 One company has one or more services. One service can be related

[symfony-users] Re: How to store data for the relation?

2010-04-28 Thread saki
you have better solution? Thank you so much in advance! On ápr. 28, 11:20, NOOVEO - Christophe Brun c.b...@nooveo.fr wrote: Hi Saki, why don't you add your column to the service-company connection table ? -- If you want to report a vulnerability issue on symfony, please send it to security

[symfony-users] Fix ID in data fixture yml

2010-04-27 Thread saki
Hi! I have a problem with data fixtures, please help me! I have some data fixture files with relations and some users in the users.yml. I would like to set a fix ID for the superadministrator user. The superadmin definition is the first in the users.yml, however it gets the #3, I don't know

[symfony-users] Re: Fix ID in data fixture yml

2010-04-27 Thread saki
and therefore you can't insert another record with id 1 if you try symfony doctrine:build --all --and-load --no- confirmation then it should be ok, because the db will be erased with all records On 27 dub, 13:35, saki sakrame...@gmail.com wrote: Hi! I have a problem with data

[symfony-users] Download filename is not correct in internet explorer

2010-04-26 Thread saki
Hi Girls, Guys... I'm using this code to download files. The whole page is using UTF-8, the database using utf8_unicode_ci. Everything works fine, but the filename of the downloading file has a charset problem in Internet Explorer. Only in IE! I'm using iso-8859-2 characters in the filename,

[symfony-users] Re: Multiple File Uploads in Embed Form

2010-04-15 Thread saki
thx! which book contains this topic? On ápr. 14, 23:37, Sela Yair tzi...@gmail.com wrote: did you read the more symfony book? there's an example how to upload multiple photos. On 14 April 2010 18:26, saki sakrame...@gmail.com wrote: hi girls, guys... i would like to implement a multiple

[symfony-users] Re: Multiple File Uploads in Embed Form

2010-04-15 Thread saki
thank you so much! very useful! On ápr. 15, 09:15, Sela Yair tzi...@gmail.com wrote: http://www.symfony-project.org/more-with-symfony/1_4/en/06-Advanced-F... On 15 April 2010 09:27, saki sakrame...@gmail.com wrote: thx! which book contains this topic? On ápr. 14, 23:37, Sela Yair tzi

[symfony-users] Multiple File Uploads in Embed Form

2010-04-14 Thread saki
hi girls, guys... i would like to implement a multiple file upload function on my page. a lot of modules will use it, so i would like to store all the files in a folder and in one table! i created an upload module and a table for it... id - automatic filename - original filename module - which

[symfony-users] Re: relation between tables without onDelete

2010-03-19 Thread saki
should be able to delete the user object. cheers, Lea On Mar 18, 2010, at 13:19 , saki wrote: hi guys! Please help me to solve my little problem. I have two tables. Users and Partners... in the schema.yml file you can see the relation.. rmPartner:  ...  relations:    rmUser

[symfony-users] Re: relation between tables without onDelete

2010-03-19 Thread saki
...@gmail.com wrote: before the line where you delete the user. Probably you have to save the partner after unlinking and before deleting the user. On Mar 19, 2010, at 10:12 , saki wrote: thank you! where can I put the unlink row? On Mar 18, 7:35 pm, Lea Hänsenberger baerne...@gmail.com

[symfony-users] relation between tables without onDelete

2010-03-18 Thread saki
hi guys! Please help me to solve my little problem. I have two tables. Users and Partners... in the schema.yml file you can see the relation.. rmPartner: ... relations: rmUser: { onDelete: CASCADE, local: contact, foreign: id } Unfortunately, when I delete a User, symfony deletes his