1
blinkman
problem including headers
  • 2005/8/30 23:11

  • blinkman

  • Just popping in

  • Posts: 1

  • Since: 2005/8/30


Hi all
I'm trying to create a module and am running into a very odd problem. The module has a main page (index.php) and several sub menus, each their own page. The intro page (index.php) has the following php include code to include the XOOPS headers and footers:
include '../../mainfile.php';
include XOOPS_ROOT_PATH.'/header.php';
page contents
include XOOPS_ROOT_PATH.'/footer.php';
which works fine. The other pages have these same lines as well, however, when one of those is clicked on, the only thing to show up is the page contents. There's no header, no theme, or anything. Does anyone know what the problem might be here?

2
adrock
Re: problem including headers
  • 2005/8/31 1:26

  • adrock

  • Quite a regular

  • Posts: 291

  • Since: 2004/12/7


perhaps a typo?

Although I have not encountered it, it has been mentioned that when the 'additional' files used in the sub-menu are not included in the module folder, it can cause some problems.

Start by looking for typo's...thats my first guess!


(I speak from experience! )
Affordable Web Hosting - Family - Fun!...and not always in that order!

Login

Who's Online

453 user(s) are online (68 user(s) are browsing Support Forums)


Members: 0


Guests: 453


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Oct 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits