PDA

View Full Version : fetch_template function?


lwhitb1
04-28-2004, 04:47 AM
Can someone tell me how the fetch_template function works? I checked the global.php file, but I only saw it being called there.

I'm new to vbulletin and php, so forgive me if this is not too clear..

Zachery
04-28-2004, 05:19 AM
Check my sig :) mini howto ;)

lwhitb1
04-28-2004, 12:54 PM
Nothing happens when I make this call:
eval('print_output("' . fetch_template('main') . '");');

I checked global.php, and I see how it is used. Where is the actual function with its implementation located?

Thanks

NTLDR
04-28-2004, 12:56 PM
includes/functions.php

lwhitb1
04-28-2004, 01:16 PM
thanks..

Xenon
04-28-2004, 02:25 PM
Nothing happens when I make this call:
eval('print_output("' . fetch_template('main') . '");');

I checked global.php, and I see how it is used. Where is the actual function with its implementation located?

Thanks
you have to make sure a template called 'main' exists :)