Quote:
Originally Posted by ryancooper
No go on that. Tried putting the code in header. I will PM you so we can keep this thread on topic. Thanks! Ryan
|
ok now, please check your page.
What I did is:
change navbar template:
Code:
{vb:raw ad_location.ad_navbar_below}
{vb:raw ad_location.global_below_navbar}
as
Code:
<vb:if condition="$pg != 'hours'">
{vb:raw ad_location.ad_navbar_below}
{vb:raw ad_location.global_below_navbar}
</vb:if>
And in hours webtemplate use this phpinclude:
Code:
$templater = vB_Template::create('navbar');
// Resolve the root segment
$templater->register('bbmenu', $vbulletin->options['bbmenu']);
$templater->register('ad_location', $GLOBALS['ad_location']);
$templater->register('foruminfo', $GLOBALS['foruminfo']);
$templater->register('navbar_reloadurl', $GLOBALS['navbar_reloadurl']);
$templater->register('navbits', $navbits);
$templater->register('notices', $GLOBALS['notices']);
$templater->register('notifications_menubits', $GLOBALS['notifications_menubits']);
$templater->register('notifications_total', $GLOBALS['notifications_total']);
$templater->register('pmbox', $GLOBALS['pmbox']);
$templater->register('return_link', $GLOBALS['return_link']);
$templater->register('template_hook', $GLOBALS['template_hook']);
$templater->register('pg', $pg);
$navbar = $templater->render();