The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
How to call a variable from within the Threadbit template?
I'm trying to convert over a vb3 product to vb4, and am running into an issue with the template system. Specifically, I am having trouble passing a variable to be outputted from within the template.
I am using the following code in a plugin which has the hook location of threadbit_display: PHP Code:
{vb:raw custom_template} Unfortunately, it didn't work. Also tried {vb:raw custom_template.my_var} and it didn't work. I've turned on dev mode, and custom_template appears under the list of template usage. It is highlighted in red though - I don't know what that means. Anyone have any ideas? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|