The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Template and including php variables
I have a template which has static mapping for some data which frequently changes. For example, the template contains these lines:
Slot 1: <br /> <td align="right"><span><b><a><font color="#FFFFFF" size="1">Closed </font></a></b></span></td> Slot 2: <br /> <td align="right"><span><b><a><font color="#000000" size="1">Open </font></a></b></span></td> I have a page which allows the administrator to modify the closed or open status which is stored in the database. I can read the data back from the database no problem, but I cant figure out how to modify the template to use that data. Naturally in a pure PHP environment, I'd just insert a <?php echo $varname ?>, but this isn't possible in a template. Please correct me if I am wrong. I've read some guides, and I just cant get my head around this implementation. Please help. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|