Quote:
Originally posted by NTLDR
The only template you can put PHP code in is the phpinclude template, it will not parse PHP in any other one. Add the include statment to the PHP file after it requires global.php.
|
This works, BUT if you place the include statment in the PHP file under the require global.php the file that you want to include will appear in the very top of the page!
To be more specific, if you want a page with your site's header (on the top) and footer (on the bottom) and you want to include another (external) page right in the middle then your solution doesn't work. At least not for me! :|
Same happens if you place the include statment in the phpinclude template. The only differense is that the included page gets displayed to EVERY VB file.
What would really be helpful in this is to define something like $newpage = include("http://the_included_page");
And then everywhere (in the templates) you place $newpage the included page should appear. Is this possible?
Any ideas??