The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
I was wondering how do I get a template to show in a custom page repeatedly?
I've been hard coding everything into the file but its been causing some skin issues when the skins are changed. I was wondering how I could get a template to show for ever instance of the fetched mysql rows? Do I add the eval code in the while loop in the page instead of hard coding the design in the file? |
|
#2
|
|||
|
|||
|
Quote:
Code:
while ($row = $db->fetch_array($rows))
{
// use $row to set up vars used by "bit" template, if necessary, then...
eval('$bits .= "' . fetch_template('bit') . '";');
}
// Now use $bits in a "top-level" template
|
|
#3
|
||||
|
||||
|
Thanks I'll give it a try.
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|