1
ekoerts
how to display remote website in block
  • 2004/2/7 14:46

  • ekoerts

  • Just popping in

  • Posts: 4

  • Since: 2004/2/7 1


Dear XOOPS users,

Maybe a newb question, but that is because I am one! Is it possible to show an external website (or page) within a block? I have setup an imagegallery on another server. A lot of photographers stil use it to upload pics, that is why I would like to include that page in my new XOOPS site.

Any help would be very much apreciated!

Erwin

2
Stewdio
Re: how to display remote website in block
  • 2004/2/7 15:08

  • Stewdio

  • Community Support Member

  • Posts: 1560

  • Since: 2003/5/7 1


Create a custom html block and use the tags to load your external pages.

http://www.htmlhelp.com/reference/html40/special/iframe.html

3
ekoerts
Re: how to display remote website in block
  • 2004/2/7 16:29

  • ekoerts

  • Just popping in

  • Posts: 4

  • Since: 2004/2/7 1


Dear Stewdio,

Thanks very much for the quick reply. I tried to make it work and it works for 90%. The width of the frame can be set to 100% of the block. But the height can not be set. This is the piece of code with wich I expect the iframe to fill the whole block. Any suggestions?

Erwin

4
ironmonk
Re: how to display remote website in block
  • 2004/2/7 17:46

  • ironmonk

  • Just popping in

  • Posts: 2

  • Since: 2004/2/7 1


Quote:




Thanks for the snippet of code, I am really a newbie, like yesterday... I installed XOOPS and it installed fine just tryign to tune it and find out what everything does and how PHP works. Your little code helped me in adding a news feed in a block from another site...

Thanks for helping me........

Ironmonkus

5
carnuke
Re: how to display remote website in block
  • 2004/2/7 19:51

  • carnuke

  • Home away from home

  • Posts: 1955

  • Since: 2003/11/5


You can not set iframe height as a percentage ie 100%. Set height as a fixed pixel only.

Read the link posted by studio again.

Richard

6
ironmonk
Re: how to display remote website in block
  • 2004/2/7 22:18

  • ironmonk

  • Just popping in

  • Posts: 2

  • Since: 2004/2/7 1


Quote:

carnuke wrote:
You can not set iframe height as a percentage ie 100%. Set height as a fixed pixel only.


Yeah, Just noticed that by setting the height to percentage doesn't really do anything. You still have to scroll... but setting to pixel 800, 1200...and so forth depending on the size of the site, will give you the actual size so it fits on the page.

Thanks carnuke for clearing that up and stewdio for the initial answer.

7
ekoerts
Re: how to display remote website in block
  • 2004/2/7 23:01

  • ekoerts

  • Just popping in

  • Posts: 4

  • Since: 2004/2/7 1


Same from me. It was helpful!

Thanks!

Login

Who's Online

445 user(s) are online (336 user(s) are browsing Support Forums)


Members: 0


Guests: 445


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