PDA

View Full Version : please help ( template rendering )


abomohammad
03-06-2010, 04:39 PM
Hi , I need for help

I created a template called: my_template
and write "Hi" inside it.

I want to get "Hi" in my FORUMHOME template
so i made a plugin on global_start and put:


$templater = vB_Template::create('my_template');
$templater->register('my_var', $my_var);
$templater->render();


then i post {vb:raw my_var} in FORUMHOME
but I did not get anything

How to get my_template content in FORUMHOME or any other template ??

Valter
03-06-2010, 04:47 PM
This may help you:
https://vborg.vbsupport.ru/showthread.php?t=228078