TheMusicMan
11-18-2005, 09:29 AM
As I have a few weeks of free time I am trying to start to learn a little about PHP and the new plug-in/hook system in vB. I am starting by trying to figure out how to simply add a new template to the style (which I can do) and call this template via a plug in hook wherever I want it to appear.
Do I:
1 - write and create new template
2 - identify the hook insert point
3 - use the following PHP in the hook..
eval('print_output("' . fetch_template('mynewtemplate') . '");');
?? is that what I need to do...?
Apologies re the total newbieness here folks. Ta for assistance...
Do I:
1 - write and create new template
2 - identify the hook insert point
3 - use the following PHP in the hook..
eval('print_output("' . fetch_template('mynewtemplate') . '");');
?? is that what I need to do...?
Apologies re the total newbieness here folks. Ta for assistance...