 |
|
|
|

| Author |
Message |
grinseschnitzel
phpBB2.de User

Joined: 26 Aug 2002
Posts: 68
|
Posted:
Tue 26 Nov, 2002 20:05 |
  |
Hab da einb Problem!
Wenn ich ne PHP Seite mach und da dann den Header und den Footer rein mach sieht die Seite ganz anders aus als so ne normale!
Wie sieht die Grundstruktur einer phpBB2 Seite mit header und footer aus(also so, dass ich in die Seite ganz normalen Inhalt schmeissen kann?) |
|
|
    |
 |
Google
|
Posted:
|
 |
|
|
 |
deeveedee
phpBB2.de User


Joined: 06 Aug 2002
Posts: 54
Location: Bergheim
|
Posted:
Tue 26 Nov, 2002 22:51 |
  |
Du meinst die Grunstruktur einer phpBB2-Seite?
| Quote: |
<?php
// Start standard
define('IN_PHPBB', true);
$phpbb_root_path = './';
include($phpbb_root_path . 'extension.inc');
include($phpbb_root_path . 'common.'.$phpEx);
// End standard
// Start session management
$userdata = session_pagestart($user_ip, PAGE_VIEWONLINE);
init_userprefs($userdata);
// End session management
// Start Output page header
$page_title = $lang['Who_is_online'];
include($phpbb_root_path . 'includes/page_header.'.$phpEx);
$template->set_filenames(array(
'body' => 'dateiname.tpl')
);
// End Output page header
// Start Main Part and Footer
$template->pparse('body');
include($phpbb_root_path . 'includes/page_tail.'.$phpEx);
// End Main Part and Footer
?>
|
Bei dem Blau hinterlegten musst du dann nur noch eintragen welche Template-Datei genutzt werden soll. |
|
|
    |
 |
grinseschnitzel
phpBB2.de User

Joined: 26 Aug 2002
Posts: 68
|
Posted:
Wed 27 Nov, 2002 16:37 |
  |
Jo Danke!
Werds ausprobieren... |
|
|
    |
 |
|
|
|
|
|
View next topic
View previous topic
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|
| |