The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
A few template questions of doing it
I was redirected to this forum because I wanted to actually learn how to make a new template for a php mod because you have no tutorials for the questions I have.
1. How do I send a variable to the template and what do I write in the template to show it? 2. How do I print every single index of an array in a template? |
#2
|
|||
|
|||
1.) This tutorial should answer questions one:
https://vborg.vbsupport.ru/showthread.php?t=98009 (Clarify further if you need anymore help on it) 2.) For this you will need two template. One template will act as the entire page, and the other template that acts as bits of the array. Really quick and dirty example: PHP Code:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|