Norman Posted August 20, 2008 Share Posted August 20, 2008 I'm including more than one templates, using the vBulletin system, in my external php page I have this code: <?php eval('print_output("' . fetch_template('website_indexloggedin') . '");');?> And this is ok. My problem now is that if I try to output another template using the same code into another location of my page, it show just the last one I try to otput. Any advice on how to solve this? Link to comment Share on other sites More sharing options...
justsomeguy Posted August 20, 2008 Share Posted August 20, 2008 Are you changing the template name? Does the fetch_template or print_output function cache the results? Link to comment Share on other sites More sharing options...
Norman Posted August 21, 2008 Author Share Posted August 21, 2008 Yes, it chace the result and I'm changing the template name. I have this: <?php eval('print_output("' . fetch_template('website_indexloggedin') . '");');eval('print_output("' . fetch_template('website_welcomebox') . '");');?> Link to comment Share on other sites More sharing options...
justsomeguy Posted August 21, 2008 Share Posted August 21, 2008 I would need to see the code for the two functions to figure out if something in them is causing it to print the same thing twice. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.