TheAdminMarket
02-01-2015, 06:38 AM
Hello,
I want to add the content of a variable to: ad_location.global_header1 but can't find any hook there. The template ad_location.global_header1 is empty.
Using the plugin system how I can add:
$templater->register('my_content', $my_content);
Thank you
--------------- Added 1422781816 at 1422781816 ---------------
I think that this:
$templatevalues['my_content'] = $templater->render();
vB_Template::preRegister('ad_global_header_1', $templatevalues);
should works. Found it at:
https://vborg.vbsupport.ru/showthread.php?t=228078
--------------- Added 1422793375 at 1422793375 ---------------
Seems that I'm missing something and it does not works. I've post it at the article's thread:
https://vborg.vbsupport.ru/showpost.php?p=2535498&postcount=300
I want to add the content of a variable to: ad_location.global_header1 but can't find any hook there. The template ad_location.global_header1 is empty.
Using the plugin system how I can add:
$templater->register('my_content', $my_content);
Thank you
--------------- Added 1422781816 at 1422781816 ---------------
I think that this:
$templatevalues['my_content'] = $templater->render();
vB_Template::preRegister('ad_global_header_1', $templatevalues);
should works. Found it at:
https://vborg.vbsupport.ru/showthread.php?t=228078
--------------- Added 1422793375 at 1422793375 ---------------
Seems that I'm missing something and it does not works. I've post it at the article's thread:
https://vborg.vbsupport.ru/showpost.php?p=2535498&postcount=300