I need some pointers on how to create some parts of a craigslist plugin.
ven7ura |
|
---|---|
Thank you Koradhil!
I remember reading that article a long time ago, but since I never wanted to have different tpls I guess I didn't care. I have to:
$tpl1 = new XTemplate(sed_skinfile('pluginname', true));
Make some TAGS
$tpl1->parse('MAIN');
$tpl1->out('MAIN');
$tpl2 = new XTemplate(sed_skinfile('pluginname.second', true));
Make some TAGS
$tpl2->parse('SECOND');
$tpl2->out('SECOND');
and so on
This all goes in plugin.php, right? (just making sure ![]() |