Itworx4me
Well-known member
I am trying to add a bigfooter to the bottom of my site using templateHook. Everything seems to look ok but the footer doesn't show at the bottom of the site. I setup the Code Event Listener. Will someone take a look and tell me if the code looks correct?
Thanks,
Itworx4me
PHP:
<?php
class RPMfooter_Listener
{
public static function templateHook($hookName, &$contents, array $hookParams, XenForo_Template_Abstract $template)
{
if($hookName == 'footer')
{
$content .= $template->create('RPM_bigfooter');
}
}
}
Thanks,
Itworx4me