1
Zorglub
Module to post some internal or external HTML pages IN THE MIDDLE FRAME
  • 2004/1/26 17:49

  • Zorglub

  • Just popping in

  • Posts: 43

  • Since: 2004/1/26


Hi.

I am searching for a module that would allow me to put anylink I want (internal or exteranl) to any HTML site. We already can do that by creating a new block, but the new site opens and replaces the XOOPS windows, or opens a new window.

I would kike it to open in the middle framem just as if I had clicked to open the XOOPS forum.

Any1 can help, please ? This is my only request before defintly adopting Xoops, but if it is not possible, I will have to leave it, as my school won't rewrite all the existing HTML pages in PHP ...

Thanx a lot.

Zorglub

2
Chainsaw
Re: Module to post some internal or external HTML pages IN THE MIDDLE FRAME
  • 2004/1/26 18:00

  • Chainsaw

  • Quite a regular

  • Posts: 304

  • Since: 2003/9/28


Go to the Download, Module page and look for "WF-Section" and "C-Jay Content". There are a few others HTML wrapper beside these two but these are the two I use.

3
cRuNcHiE
Re: Module to post some internal or external HTML pages IN THE MIDDLE FRAME
  • 2004/1/26 18:03

  • cRuNcHiE

  • Just popping in

  • Posts: 18

  • Since: 2004/1/12


Or, if you already have a website built in html and want to wrap it with XOOPS just make a new file in the root of your website folder

e.g htmlweb.php

and inside it put this

<?php
include("mainfile.php");
include("header.php");
opentable();
?>

<body bgcolor="#FFFFFF" text="#000000">
<iframe src="http://yourdomain.com/!htmweb!/index.htm" width="100%" height="1420" name="Iframe Mysite">Iframe Mysite</iframe>
</body>

<?php
closetable();
include("footer.php");
?>



put the html website inside the !htmlweb! folder or whatever u want to call it and voila!

Alternativly the src=" bit above could be any url e.g www.google.com

Once thats done u can test it by going tohttp://yourdomain.com/htmlweb.php

to make a link to it just make a new block and make a hyperlink to the file in there




hope that helps


4
Stewdio
Re: Module to post some internal or external HTML pages IN THE MIDDLE FRAME
  • 2004/1/26 18:23

  • Stewdio

  • Community Support Member

  • Posts: 1560

  • Since: 2003/5/7 1


<?php
include("mainfile.php");
include("header.php");
?>

Your HTML Content here

<?php
include("footer.php");
?>

Will achieve the same results if you prefer not to use IFrames. Just edit your prexisting html to include this code and save your files with a .php extention instead of .html

5
Zorglub
Re: Module to post some internal or external HTML pages IN THE MIDDLE FRAME
  • 2004/1/26 18:39

  • Zorglub

  • Just popping in

  • Posts: 43

  • Since: 2004/1/26


It works PPPEEEEEEEEEEEEEEEEEEEEEEEEEEEErfectly

Thank you very muchos Gracias !!

Time to leave now ! I have plenty of pages to integrate to my new XOOPS site !!


Cudos Cudos Cudos

Zorglub

Login

Who's Online

164 user(s) are online (108 user(s) are browsing Support Forums)


Members: 0


Guests: 164


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