The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
instead of using a template
first off the code I currently have looks like:
Code:
// wrap in an if condition option option off later eval('$drcpmm = "<div class="someDiv"></div>";'); // else option on $drcpmm = '<div class="someDiv"></div>'; $vbulletin->templatecache['header'] .= $drcpmm; // end if Instead of using a template I'm trying to define a div as a variable, then append that div to the end of the header template. the eval is so if the user has turned the option off they can place $drcpmm anywhere they choose. But how can I get the div to display after the header the way I set it up, I'm probably missing something simple, I just dont want to create a template for such a little div. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|