PDA

View Full Version : Hooking to footer in default AND mobile


Dr.CustUmz
02-19-2021, 05:59 PM
I am trying to hook to the footer in both the mobile style and default style.

in global_start I use:
$templater = vB_Template::create('my_template');
$templatevalues['somevalue'] = $templater->render();
$footer .= $templater->render();

this works in the default style, but not in mobile. I have checked the mobile templates and it does include the footer...

--------------- Added 1613769413 at 1613769413 ---------------

Ok so i managed to get the source to show the template is there but nothing is rendering, the template itself does not include an if condition around everything so something should be showing yet all that is rendering is:

<!-- END TEMPLATE: footer --><!-- BEGIN TEMPLATE: drc_adblock_img_notice -->

<!-- END TEMPLATE: drc_adblock_img_notice -->