1
reden
create a html page in xoops is it possible ???
  • 2005/6/7 13:51

  • reden

  • Just popping in

  • Posts: 8

  • Since: 2002/10/4


hi beside the content module is it possible to create a page in html inside XOOPS ??

thanks in advance guys!!

2
Stewdio
Re: create a html page in xoops is it possible ???
  • 2005/6/7 14:13

  • Stewdio

  • Community Support Member

  • Posts: 1560

  • Since: 2003/5/7 1


Yes, just use the following code and save your file as .php.

Here is an example 404 error page. You can use regular html content in the same way as you see fit.

All you need to do is insert the following php code on the top and bottom of your html document.

<?php
include('mainfile.php');
include(
'header.php');
$xoopsOption['show_rblock'] = 1;
?>
<html>
<center>
The page you have requested can not be found on this website.<br> 
Please be sure you have used the correct address or select a link from the menu. 
<p><img src="/images/alert.gif" width="160" height="120"></p>
<p>
(Error 404 Page Not found)

<p>

</center>
</html>
<?php
include('footer.php');
?>

3
reden
Re: create a html page in xoops is it possible ???
  • 2005/6/8 23:34

  • reden

  • Just popping in

  • Posts: 8

  • Since: 2002/10/4


thanks it works !!!!


i really appreciated !! thanks again and again

Login

Who's Online

237 user(s) are online (150 user(s) are browsing Support Forums)


Members: 0


Guests: 237


more...

Donat-O-Meter

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

Latest GitHub Commits