Jump to content

Php problems: output for more than one template, nothing else is displayed


Norman
 Share

Recommended Posts

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

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...