Re: [symfony-users] one module - many models (tables)

2010-02-09 Thread Gareth McCumskey
In the action that processes the submission you just create two new objects, one for ForumThreads and the other for ForumPosts and save each individually. My example below is in Propel: $forum_thread = new ForumThreads(); $forum_thread-setSubject($request-getParameter('subject'));

[symfony-users] one module - many models (tables)

2010-02-08 Thread Martin Henits
Hi, I'm new to symfony and am trying to learn it. I am trying to develop a new module (something like a forum). in a very simple form, this module works with 2 database tables: forum_threads and forum_posts. First, I think that I should not develop 2 different modules, because forum sounds like

Re: [symfony-users] one module - many models (tables)

2010-02-08 Thread Alexandru-Emil Lupu
You should see the sfsimpleforum. Also .. you could use embed form or merge form... sent via htc magic On Feb 8, 2010 10:17 PM, Martin Henits martin.hen...@googlemail.com wrote: Hi, I'm new to symfony and am trying to learn it. I am trying to develop a new module (something like a forum). in a