In motilee, the line // Lucene initialization sfLucenePropelBehavior::getInitializer()->setupModel('sfSimpleForumPost');
is put in apps/frontend/config/config.php Is that the right place? --Mohammad On Wed, Jun 4, 2008 at 9:15 AM, Mohammad Ali Safari < [EMAIL PROTECTED]> wrote: > That's a very good idea; thanks. > > --Mohammad > > > On Wed, Jun 4, 2008 at 9:14 AM, Cédric Sadai <[EMAIL PROTECTED]> wrote: > >> >> Hi, >> >> You really should download the app, and go through the code. It's >> built on both of the plugins you are referring to. >> >> hth, >> Cedric >> >> On Jun 4, 4:15 pm, "Mohammad Ali Safari" <[EMAIL PROTECTED]> >> wrote: >> > Hi Cedric >> > sfSimpleForum is pretty similar (at least in the inerface and >> capabilities) >> > to Motilee. >> > >> > I actually want to know what the problem is as I may face it for other >> > plugins too. >> > >> > I narrowed down the problem and it seems the behaviors are not working >> for >> > my model. >> > >> > I suppose that this line >> > >> sfLucenePropelBehavior::getInitializer()->setupModel('sfSimpleForumPost'); >> > >> > adds some behaviours to my model and, for example, I would be able to >> call >> > sfSimpleForumPost->saveIndex. >> > However, it says this method is undefined. >> > >> > --Mohammad >> >> >> > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---