ok, ich verwende nun folgendes:
Code: Alles auswählen
<?php
define('IN_PHPBB', true);
$phpbb_root_path = './';
$phpEx = substr(strrchr(__FILE__, '.'), 1);
include($phpbb_root_path . 'common.' . $phpEx);
include($phpbb_root_path . 'includes/functions_display.' . $phpEx);
// Start session management
$user->session_begin();
$auth->acl($user->data);
// Output page
page_header('Titel');
$template->set_filenames(array(
'body' => 'styles/prosilver/template/template.php')
);
page_footer();
?>
in der template.html dann:
Code: Alles auswählen
<?php include("overall_header.html")?>
<div id="main">
MEIN CODE
</div>
<?php include("overall_footer.html")?>
nun bekomme ich aber das hier als fehler:
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1694: strtr() [function.strtr]: The second argument is not an array.
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1694: strtr() [function.strtr]: The second argument is not an array.
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4181: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3692)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4183: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3692)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4184: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3692)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4185: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3692)
Return to index page
General Error
template->_tpl_load_file(): File /styles/prosilver/template/template.php does not exist or is empty
wobei die datei defintiv da ist, bin am verzweifeln[/code]