1
JamesSAEP
What am I doing wrong - wrap an external file?
  • 2006/6/27 20:59

  • JamesSAEP

  • Just can't stay away

  • Posts: 732

  • Since: 2005/2/28


I'm trying to wrap an external php file with the theme, but it isn't working.
The file is located at: /privacy_use.php
and I have the following in the file:

include("./mainfile.php");
include(XOOPS_ROOT_PATH."/header.php");
?>

My Text

include(XOOPS_ROOT_PATH."/footer.php");
?>

When the page comes up, it is just plain text and the XOOPS theme doesn't wrap it.

Thanks.

2
jensclas
Re: What am I doing wrong - wrap an external file?

Check this FAQ

HTH

3
JamesSAEP
Re: What am I doing wrong - wrap an external file?
  • 2006/6/27 21:15

  • JamesSAEP

  • Just can't stay away

  • Posts: 732

  • Since: 2005/2/28


Yes, that is where I got the info to put at the top/bottem of the file. I just noticed that I had an extra "." in the path to the mainfile.

Login

Who's Online

300 user(s) are online (216 user(s) are browsing Support Forums)


Members: 0


Guests: 300


more...

Donat-O-Meter

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

Latest GitHub Commits