1
riclanders
Wrapping home page
  • 2006/3/24 9:35

  • riclanders

  • Just popping in

  • Posts: 60

  • Since: 2005/11/7


I want to wrap an active html page -- one already active on the internet -- into my home page; that is, make it the landing page when people come to my XOOPS site.

However, I want still want the home page link button on my site to go to my orginal home page. I just don't want the orginal XOOPS home page to be the domain landing page.

How do I do this?

Thanks

2
peterr
Re: Wrapping home page
  • 2006/3/24 10:38

  • peterr

  • Just can't stay away

  • Posts: 518

  • Since: 2004/8/5 9


I'm not 100% sure what you need, but I think curl may do the job for you, see curl

As long as libcurl is installed on the server, you can then use curl to retrieve the 'acyive html page' that is on the internet (no doubt some other site, that's okay).

Just read up on the FAQ, about the php code need to wrap as header and footer to make it your main page.

P
NO to the Microsoft Office format as an ISO standard.
Sign the petition

3
dave_uk
Re: Wrapping home page
  • 2006/3/24 12:26

  • dave_uk

  • Not too shy to talk

  • Posts: 113

  • Since: 2005/11/27


The way i did this was:
If you put your XOOPS site in to a sub folder eg XOOPS so it would be mysite/xoops. So if you put the page you want to be your first page in to the top level directory and rename it to index.htm so the server picks it up as the start page. Then in your main XOOPS site if you go to Mainfile.php and where you have your XOOPS root url change this so it includes the /xoops sub directory and now XOOPS will refresh to the origanal start page but you will see your new page when you first go to the site


If you want to get your new page to automaticaly refresh to the XOOPS site just add this little bit of code in to the html
<META HTTP-EQUIV="Refresh" CONTENT="0; URL=http://www.mysite.com/xoops">


CONTENT="0 number of seconds before refresh
Wii Plaza - Wii Fansite community

4
peterr
Re: Wrapping home page
  • 2006/3/24 23:58

  • peterr

  • Just can't stay away

  • Posts: 518

  • Since: 2004/8/5 9


That looks neat, Dave, but is any of the content on the main page, from an external site/url ?

I _think_ that is what ' riclanders' wants ??
NO to the Microsoft Office format as an ISO standard.
Sign the petition

5
dave_uk
Re: Wrapping home page
  • 2006/3/25 1:11

  • dave_uk

  • Not too shy to talk

  • Posts: 113

  • Since: 2005/11/27


as far as i know content from other sites can be dispayed as a block on the main page which could go in above the forum
Wii Plaza - Wii Fansite community

6
peterr
Re: Wrapping home page
  • 2006/3/25 2:01

  • peterr

  • Just can't stay away

  • Posts: 518

  • Since: 2004/8/5 9


ok, no need for curl then.
NO to the Microsoft Office format as an ISO standard.
Sign the petition

7
dave_uk
Re: Wrapping home page
  • 2006/3/25 13:20

  • dave_uk

  • Not too shy to talk

  • Posts: 113

  • Since: 2005/11/27


I have added content from other sites in a block using iframes

This is a good help site i found for Iframes if you want to view an example of this on a XOOPS site i have it on my main page
www.mysite.com
Wii Plaza - Wii Fansite community

Login

Who's Online

184 user(s) are online (116 user(s) are browsing Support Forums)


Members: 0


Guests: 184


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