1
With the underlying code, I can insert a page html in the structure of Xoops, without use of a specific module.
include("../mainfile.php");
include("../header.php");
global $xoopsDB, $xoopsConfig;
OpenTable();
?>
// insert html here
CloseTable();
include("../footer.php");
?>
But...
the template, that worked very well with XOOPS 2.0.6 (
seen here), give this problem with XOOPS 2.0.7 (tested in localhost):
Quote:
Warning: Failed opening '../mainfile.php' for inclusion (include_path='.;c:\php4\pear') in c:\phpdev5\www\xoops\template.php on line 4
Warning: Failed opening '../header.php' for inclusion (include_path='.;c:\php4\pear') in c:\phpdev5\www\xoops\template.php on line 6
Fatal error: Call to undefined function: opentable() in c:\phpdev5\www\xoops\template.php on line 14
Which changes have been effected from version 2.0.6 to 2.0.7?
What it needs to change in the old template code?
Thank, Vinc3