The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#5
|
|||
|
|||
![]() Quote:
Code:
<vb:each from="my_attr" value="entry"> {vb:raw entry} </vb:each> Okay. there must be something wrong. I have edited {vb:raw header}and added somwhere: {vb:raw yellow}a Notice that there is a letter a. I have hooked the plugin to global_start, then I turned on the debug mode and I checked that global_start is executed. My plugin code is: Code:
$my_attr = array( 'apple' => 'red', 'banana' => 'yellow' ); vB_Template::preRegister('FORUMHOME', $my_attr); vB_Template::preRegister('header', $my_attr); What am I doing wrong? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|