PDA

View Full Version : What am I forgetting!?


Kaitlyn2004
08-01-2006, 05:21 AM
Okay so I created a product...

Created a plugin for this product, at hook location forumhome_start

In my PHP code, at the end I use $title = 'title'; $content = 'content';

and then when I put $title and $content into my template, no such luck...

How do I "link" them?

Kirk Y
08-01-2006, 07:12 AM
What template are you trying to use them in. They'll only work in the forumhome template.

Kaitlyn2004
08-01-2006, 07:35 AM
I got it... I had to add an eval() statement:

eval('$template = "' . fetch_template('templatename') . '";');

What about this (https://vborg.vbsupport.ru/showthread.php?t=122701) though? :)