Обновлённый PHP-Fusion Bogatyr / Free CMS PHP-Fusion 7 Bogatyr / Creating your php-pages and plug-ins for PHP Fusion 7 Bogatyr / How can I integrate my php pages in PHP-Fusion 7 with standart design and panels?
English
If you use the php page in the standard PHP-Fusion-7 design, then you definitely have a line in the middle of the file:
require_once THEMES. "templates/header.php";
or
require_once THEMES. "templates/admin_header.php";
or
require_once THEMES. "templates/admin_header_mce.php";
And at the very end of the php page there is a line:
require_once THEMES. "templates/footer.php";
The files "header.php", "admin_header.php", "admin_header_mce.php" include panels "/themes/templates/panels.php" and a theme design file, for example, "/themes/Omni/theme.php". And also start outputting all echo to the buffer.
The file "/themes/templates/footer.php" ends the output to the buffer and displays the entire contents of the page. |