The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
How do I add my own template tags?
I'm working on a mod and I need to create my own template tag, something like:
<mytag param1="stuff" param2="variablestuff"/> Are there any tutorials explaining the best way to parse the templates and process this tag with my plugins? |
#2
|
||||
|
||||
There is a hook "template_compile" you can use. For examples of code look in process_template_conditionals() and process_template_phrases() in includes/adminfunctions_template.php
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|