![]() |
Random banner code - how to use in forum block?
Hi guys, hoping someone can help...
I'm using a random banner code for a few images on my website. Working great within the navbar template with the following code... Code:
$path = '/forum/support/'; My question is this... I would like to use a random banner within a forum block but when I add {vb:raw randombanner4} to the block code, it doesn't work. Anyone know what I need to do? |
you would need to register it to that template.
for example block_html template Code:
vB_Template::preRegister('block_html', array('randombanner4' => $randombanner4)); |
Thanks, already tried that but it still didn't work. That said, it was very late last night when I was toying around so I'll give it another go and report back...
|
All times are GMT. The time now is 04:31 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|