smarty->assign()
Posted: Sat Jun 11, 2005 6:49 am
Hello all,
I was wondering if there is any voodoo magic involved in getting access to the assign() function in $serendipity['smarty'] from a plugin. I've never used smarty templates before, and am trying to adjust the mood pluging to use them, but have run into some problems. $serendipity['smarty']->assign() complains that it's a call to a member function on a non-object. I have global'd $serendipity...
Thanks,
Brett
I was wondering if there is any voodoo magic involved in getting access to the assign() function in $serendipity['smarty'] from a plugin. I've never used smarty templates before, and am trying to adjust the mood pluging to use them, but have run into some problems. $serendipity['smarty']->assign() complains that it's a call to a member function on a non-object. I have global'd $serendipity...
Thanks,
Brett