Re: [symfony-users] sfWidgetFormSelectDoubleList order of items?

2010-04-13 Thread Robert Heim
any hints or tipps? :-/ Am 09.04.2010 14:45, schrieb comb: Hi I have a many-To-many (Gig-Song) relation and want to use sfWidgetFormSelectDoubleList. It work's fine, but I want to save the order of assignments, too (and not only associated /unassociated ). schema.yml: # many-To-many-relation

Re: [symfony-users] many-to-many with Doctrine

2010-04-10 Thread Robert Heim
Afaik you need to define the 3rd table by yourself, here you go: http://www.doctrine-project.org/documentation/manual/1_0/pl/defining-models#relationships:join-table-associations:many-to-many Am 10.04.2010 23:56, schrieb Denis: Hi, can anybody help with following task: I need to perform

Re: [symfony-users] Re: Fatal error: Cannot instantiate abstract class BaseNewsGeneratorConfiguration

2010-04-06 Thread Robert Heim
What I did: I developed under windows+XAMPP, everything works fine.. uploaded the files to the server and all backend-modules work fine except the news-module. When I try to access http://v2.purveyor.de/backend_dev.php/news there is not shown a login-screen, but the error about that

Re: [symfony-users] Re: Fatal error: Cannot instantiate abstract class BaseNewsGeneratorConfiguration

2010-04-06 Thread Robert Heim
Ok I found it.. I don't know what was going on, when I uploaded the folder, but the /apps/backend/modules/news/lib folder was not uploaded?!! That's strange, but uploading that dir fixed the problem of course... thanks! Am 06.04.2010 09:20, schrieb Robert Heim: What I did: I developed

Re: [symfony-users] Re: Fatal error: Call to undefined function remote_function()

2010-04-06 Thread Robert Heim
use_helper('Javascript')? i will get an error (i thinks for sf 1.4 we must use JavascriptBase On 6 avr, 00:24, Robert Heim sa...@gmx.net mailto:sa...@gmx.net wrote: Oh I'm sorry.. I did not know that remote_function(..) is a built-in support for ajax in symfony.. I thought

Re: [symfony-users] One Product to Many Categories

2010-04-06 Thread Robert Heim
Yep, here you go: http://www.doctrine-project.org/documentation/manual/1_0/ru/defining-models:relationships:foreign-key-associations:one-to-many-and-many-to-one Greets Robert Am 06.04.2010 20:45, schrieb Bill P.: I would like to be able to assign an item to multiple categories. I've been

Re: [symfony-users] Re: sfDoctrineGuardPlugin: Edit only own pofile

2010-04-05 Thread Robert Heim
yeah good idea! I got a last small problem within the solution, since I do not know how to pass the ..-getUser()-getId() to the auto-edit-action?! I now overwrite the routes from the admin-generator backend/config/routing.yml .. # the Route I want to be used.. member_edit: url:

Re: [symfony-users] Re: sfDoctrineGuardPlugin: Edit only own pofile

2010-04-05 Thread Robert Heim
); } but I'm interested in if it's possible to just manipulate the request and call parent::executeEdit() like described in the last message..?! Thanks!! comb Am 05.04.2010 23:06, schrieb Robert Heim: yeah good idea! I got a last small problem within the solution, since I do not know how

Re: [symfony-users] Fatal error: Call to undefined function remote_function()

2010-04-05 Thread Robert Heim
try: echo javascript_tag(remote_function(array( 'update' = 'myzone', 'url' = 'mymodule/myaction', )) ) ? you need the because otherwise its interpreted as an PHP-function.. Am 05.04.2010 23:31, schrieb Belgacem TLILI: i'm using sf 1.4 and i'm searching to embed a form using

Re: [symfony-users] Re: Fatal error: Call to undefined function remote_function()

2010-04-05 Thread Robert Heim
.. Maybe this helps you: http://andrewdupont.net/2006/05/18/javascript-associative-arrays-considered-harmful/ cheers! comb Am 05.04.2010 23:44, schrieb Belgacem TLILI: great it's work the problem was resolved thank you Mr Robert Heim just one more thing in Firebug i have an error that i think

Re: [symfony-users] Fatal error: Cannot instantiate abstract class BaseNewsGeneratorConfiguration

2010-04-04 Thread Robert Heim
yep this seems to be the reason.. but what do I have to check in detail? I couldn't figure out :-/ The other modules like backend_dev.php/members works fine! abstract class BaseNewsGeneratorConfiguration in /cache/backend/dev/modules/autoNews/lib seems to be ok for me?! Am 04.04.2010