The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Best practice for template filling ?
I have a question about filling templates!
Currently there are 2 options to fill a template: 1. get the data for the template in an array 2. do a foreach with php and register the vars in that loop and render the template 3. template usage as many times as the array contains data! Second option: 1. get the data for the template in an array 2. register the array for the template that the template can loop tru the vars on it own by using <vb:each> 3. template usage only once! What is the best practice and/or whats the fastest way doing so ? best regards Mike |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|