I want to add some PHP code to vB templates. Say for instance the navbar, can i add PHP code straight into it?
PHP in Templates?
Collapse
X
-
Tags: None
-
it is kind of like php, but not exactly.
ex:
in php, you would type
if ($show['example'])
<if condition="$show['example']">
EDIT: also I am not sure if all php things work with vBulletin.... -
Comment
-
Comment
-
The <if>-syntax in vB templates is not php, although they work the same way. It's a meta language for PHP of sorts. And of course they are not html. Anyway, it is not possible to use php in templates. That's what plugins are for.
The better place to ask questions like this would probably be vbulletin.org.Comment
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Comment