---

Discussion of general topics related to the new version and its place in the world. Don't discuss new features, report bugs, ask for support, et cetera. Don't use this to spam for other boards or attack those boards!
Forum rules
Discussion of general topics related to the new release and its place in the world. Don't discuss new features, report bugs, ask for support, et cetera. Don't use this to spam for other boards or attack those boards!
Post Reply
EmmaBlack
Registered User
Posts: 9
Joined: Mon Jan 29, 2007 5:15 pm

---

Post by EmmaBlack »

---
Last edited by EmmaBlack on Mon Jun 27, 2011 10:56 am, edited 1 time in total.

User avatar
Kellanved
Former Team Member
Posts: 407
Joined: Sun Jul 30, 2006 4:59 pm
Location: Berlin

Re: Page_footer.php

Post by Kellanved »

A function in functions.php.
No support via PM.
Trust me, I'm a doctor.

User avatar
Handyman
Registered User
Posts: 522
Joined: Thu Feb 03, 2005 5:09 am
Location: Where no man has gone before!
Contact:

Re: Page_footer.php

Post by Handyman »

yes… everything that was in page_header.php and page_footer.php is now all in functions.php.
Actually… I shouldn't say everything because the code is totally different… but if you are looking for page_header and page_footer.php stuff, you can find it in functions.php :)
My phpBB3 Mods || My Mod Queue
Search Engine Friendly (SEO) URLs || Profile link on Avatar and/or Username || AJAX Chat
Display Posts Anywhere || CashMod || AJAX Quick Edit || AJAX Quick Reply

Image

EmmaBlack
Registered User
Posts: 9
Joined: Mon Jan 29, 2007 5:15 pm

Post by EmmaBlack »

---
Last edited by EmmaBlack on Mon Jun 27, 2011 10:56 am, edited 1 time in total.

User avatar
Highway of Life
Registered User
Posts: 1399
Joined: Tue Feb 08, 2005 10:18 pm
Location: I'd love to change the World, but they won't give me the Source Code
Contact:

Re: Page_footer.php

Post by Highway of Life »

Just put this in the template you will be using for that part of the site...

Code: Select all

<!-- IF DEBUG_OUTPUT --><br /><bdo dir="ltr">[ {DEBUG_OUTPUT} ]</bdo><!-- ENDIF -->
That’s pretty much all you need as long as you are using...

Code: Select all

<?php define('IN_PHPBB', true);
$phpbb_root_path = './';
$phpEx = substr(strrchr(__FILE__, '.'), 1);
include($phpbb_root_path . 'common.' . $phpEx);

// Start session management
$user->session_begin();
$auth->acl($user->data);
at the beginning of your document, and

Code: Select all

<?php page_footer();
at the very end.
Image

EmmaBlack
Registered User
Posts: 9
Joined: Mon Jan 29, 2007 5:15 pm

Post by EmmaBlack »

---

Post Reply