![]() |
I made a variable in a plugin. How do I use it in a template now?
This is my plugin:
PHP Code:
But it doesn't let me do this? <vb:if condition="{vb:raw hourofday} == 1"> I want to do that... |
It should be this:
Code:
<vb:if condition="$hourofday == 1"> |
I have the above plugin using a hook location of Parse Templates.
And this is my added code at the bottom of headinclude: Code:
<vb:if condition="$hourofday == 9"> --------------- Added [DATE]1276869271[/DATE] at [TIME]1276869271[/TIME] --------------- Nevermind I got it to work. I changed: PHP Code:
PHP Code:
|
All times are GMT. The time now is 07:19 AM. |
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:
|