Add forum header in own file?

For support and discussion related to templates, themes, and imagesets in phpBB 3.0.
Suggested Hosts
Locked
calle08
Registered User
Posts: 27
Joined: Tue Mar 11, 2008 3:15 pm

Add forum header in own file?

Post by calle08 »

I want to make my page look like my forum by adding the overall_heder try like this. Getting path error what is the correct path?

Code: Select all

include '/home/b2303/public_html/PHPBB3/styles/prosilver_se/template/overall_header.html';
define('IN_PHPBB', true);
    $phpbb_root_path = 'phpBB3/';
    $phpEx = substr(strrchr(__FILE__, '.'), 1);
    include($phpbb_root_path . 'common.' . $phpEx);   
    // Start session management
    $user->session_begin();
    $auth->acl($user->data);
    $user->setup();
    include($phpbb_root_path . 'mods/fetchall/common.' . $phpEx);
    include($phpbb_root_path . 'mods/fetchall/fetch.' . $phpEx);

User avatar
Arty
Former Team Member
Posts: 16654
Joined: Wed Mar 06, 2002 2:36 pm
Name: Vjacheslav Trushkin
Contact:

Re: Add forum header in own file?

Post by Arty »

Vjacheslav Trushkin / Arty.
Free phpBB 3.1 styles | New project: Iconify - modern SVG framework

Locked

Return to “[3.0.x] Styles Support & Discussion”