![]() |
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 |
All times are GMT. The time now is 06:10 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|