1
benlau
Any guide to teach how to add a static page inside xoops?
  • 2004/3/7 11:30

  • benlau

  • Just popping in

  • Posts: 29

  • Since: 2004/3/7 1


hi all!

I am new to XOOPS and I have successed to install it inside my computer. However , i got a question about adding a static page in xoops.

I would like to create some static pages like the introduction of the site.. history.. contact information. Just like this site:

https://xoops.org/general/index.php

I know that i can create a .php file with include
some file like header.php.. footer.php. But i wonder
is it the correct way? Do it have any guide to teach how
to do that?

Thanks for any advise!




2
JackJ
Re: Any guide to teach how to add a static page inside xoops?
  • 2004/3/7 11:39

  • JackJ

  • Community Support Member

  • Posts: 747

  • Since: 2003/8/31


Hello benlau

See this link on the wiki Here

in general

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

The content of your original html file goes here!!

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

regards

3
benlau
Re: Any guide to teach how to add a static page inside xoops?
  • 2004/3/7 16:16

  • benlau

  • Just popping in

  • Posts: 29

  • Since: 2004/3/7 1


Hi JackJ,

Thanks you very much!

Login

Who's Online

411 user(s) are online (41 user(s) are browsing Support Forums)


Members: 0


Guests: 411


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