1
baloch
Need help Integrating html page into xoops.
  • 2006/7/22 15:28

  • baloch

  • Just popping in

  • Posts: 34

  • Since: 2006/3/22


I need help in integrating a external html page into my site. But i am having problem. Is there any one help me regrading this.

I used include and then url it worked but was not showing the content the site i am integrating uses jpeg files.
then i made my code like this

include 'mainfile.php';
$xoopsOption['template_main'] = 'index.html';
include XOOPS_ROOT_PATH.'/header.php';
$go_to_address1="http://whatever.com/news.htm";
$go_to_address=rawurldecode($go_to_address1);
OpenTable();
echo "";
echo "
NB. Using iframes!

";
CloseTable();
include_once XOOPS_ROOT_PATH.'/footer.php';
?>
but it is displaying a blank page.

anyone out here to help me in embeding this external html page into my XOOPS site.

Thanks in advance.

2
msdana
Re: Need help Integrating html page into xoops.
  • 2006/7/22 15:39

  • msdana

  • Just can't stay away

  • Posts: 817

  • Since: 2005/12/11


[size=x-small]If God is watching us, the least we can do is be entertaining.[/size]
Graphic Worx : Xoops Themes

3
baloch
Re: Need help Integrating html page into xoops.
  • 2006/7/22 16:06

  • baloch

  • Just popping in

  • Posts: 34

  • Since: 2006/3/22


I am trying to integrate external html page into xoops. the one you reffered me is to e.g include('heck.html');
I tried this method it is not showing the jpeg files of the external site in my site.

anyway thanks for the link but it dint work for me.

4
msdana
Re: Need help Integrating html page into xoops.
  • 2006/7/22 16:29

  • msdana

  • Just can't stay away

  • Posts: 817

  • Since: 2005/12/11


Rats! My brain wasn't registering the external part. Sorry

You may want to try My iFrame and see if the images show up.
[size=x-small]If God is watching us, the least we can do is be entertaining.[/size]
Graphic Worx : Xoops Themes

5
wizanda
Re: Need help Integrating html page into xoops.
  • 2006/7/22 17:05

  • wizanda

  • Home away from home

  • Posts: 1585

  • Since: 2004/3/21


if people need help we are on yahoo all day and my site also...

You need to just echo it in html in side your index.php

echo " or ' ( this stuff is html now ) ' either works ";


Then that needs XOOPS header, footer on the index.php
include mainfile some where, good in second header and point to that...
Thats about it, use html as normal to display a page in XOOPS we make loads like that daily, half the time Gabbly module we use as a base...
As it is so simple and using iframes, yet any html can be used in the echo or print if needed...

Another way of there is messy code is to close the php after echo so that all that is in closed will be html

Login

Who's Online

203 user(s) are online (103 user(s) are browsing Support Forums)


Members: 0


Guests: 203


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