Log in

View Full Version : fetch_template function?


lwhitb1
04-28-2004, 03: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, 04:19 AM
Check my sig :) mini howto ;)

lwhitb1
04-28-2004, 11:54 AM
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, 11:56 AM
includes/functions.php

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

Xenon
04-28-2004, 01: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 :)