1
benell
HTML Pages Q
  • 2003/12/7 16:05

  • benell

  • Just popping in

  • Posts: 63

  • Since: 2003/12/7


hi
i have a question i cant get my html pages working, i included:

include("../mainfile.php");
include(XOOPS_ROOT_PATH."/header.php");
$xoopsOption['show_rblock'] = 1;
?>



my content

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

but this does not work? the page is not in the root of my site.

Plz help me

thanks

2
CBlue
Re: HTML Pages Q

I couldn't get my pages to work with that script until I put it in my XOOPS root directory.

Plus, this is how it should be written on your html page if the page is in the root:

include('mainfile.php');
include('header.php');
$xoopsOption['show_rblock'] = 1;
?>


Page content


include('footer.php');
?>

You can try doing this with a page that's not in your root but it may not work:

include('http://www.yoursite.com/mainfile.php');
include('http://www.yoursite.com/header.php');
$xoopsOption['show_rblock'] = 1;
?>

Page content

include('http://www.yoursite.com/footer.php');
?>



3
CBlue
Re: HTML Pages Q

To see how this script works on an included page look here
http://magazine.crazy4realitytv.com/hangman.php

I added the includes on this hangman.php file of mine and it nows looks like it is a module.

Another thing, you should change the html page to a php page after you've added the include coding and see if that will work for you.

4
benell
Re: HTML Pages Q
  • 2003/12/7 17:20

  • benell

  • Just popping in

  • Posts: 63

  • Since: 2003/12/7


ok i still have a problem...

if you go to my xooops test site

http://benell.kmarns.net

you have a menu called KMARNS on the left site the first link of that menu is

Over kmarns
http://benell.kmarns.net/test.php

but it does not open the page, only when i click open in new window it works, BUT my theme is not applied?

5
CBlue
Re: HTML Pages Q

I clicked the link and it came up on your site in the same window and with your theme. Try it again! Your server was alittle slow but it did come up.

6
tjnemez
Re: HTML Pages Q
  • 2003/12/7 17:44

  • tjnemez

  • Home away from home

  • Posts: 1594

  • Since: 2003/9/21


i got the same, but i think the intent is to show members. maybe something needs to commented out so it goes directly to actual members.

i may have missed something in this thread , so if what i am posting makes no sense, please disregard it...


7
svaha
Re: HTML Pages Q
  • 2003/12/7 20:47

  • svaha

  • Just can't stay away

  • Posts: 896

  • Since: 2003/8/2 2


Well ahum.. I followed your link Donna and ended up on a short piece of rope
I think it's because english is not my natural language, but there may be some other reasons

Aloha

8
CBlue
Re: HTML Pages Q

Quote:

svaha wrote:
Well ahum.. I followed your link Donna and ended up on a short piece of rope
I think it's because english is not my natural language, but there may be some other reasons

Aloha


Maybe it's because you don't know who the people are for the show or have ever watched it? The users on my site know the answers pretty well but hopefully not too easily.

Login

Who's Online

1031 user(s) are online (52 user(s) are browsing Support Forums)


Members: 0


Guests: 1031


more...

Donat-O-Meter

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

Latest GitHub Commits