1
magomes
redirect in custom block
  • 2005/11/25 0:29

  • magomes

  • Just popping in

  • Posts: 20

  • Since: 2004/11/10


Hi,

I have created a custom block and wish to add a code that re-directs and displays content from another webpage within the custom block.

I have done this before but forgot the code. Does anyone know what the code is?

regards,
MG

2
davidthomas1
Re: redirect in custom block

Do you want to redirect the whole page to a new site?

Or do you want to show content from another site on your site.

I suspect it's the latter.

You can do that using an <IFRAME> tag

For example:

<iframe src="http://yoursite.com/inlineframe1.html" width="80%" height="110"></iframe>



You'll need to save the block as HTML (or maybe auto-format)

HIH
みんなちがってみんないい。

XOOPS 2.0.13.2

3
magomes
Re: redirect in custom block
  • 2005/11/25 0:42

  • magomes

  • Just popping in

  • Posts: 20

  • Since: 2004/11/10


I want to show the content from another page (page1.htm) inside a custom block.

The iframe works, but is there another way of just displaying the content without using a frame within the block is that the only way?

regards,
MG

4
magomes
Re: redirect in custom block
  • 2005/11/25 1:01

  • magomes

  • Just popping in

  • Posts: 20

  • Since: 2004/11/10


Actually doesn't matter im quite happy using iframe actually.

Thanks heaps for your help, i really appreciate it.

regards,
MG

5
davidthomas1
Re: redirect in custom block

There's always more than one way

But <iframe> is probably the easiest.

You could also do it using PHP CURL

If you're feeling creative, how about making an

AJAX

solution?

Note: Just got your reply whilst writing this. Happy Xooping
みんなちがってみんないい。

XOOPS 2.0.13.2

Login

Who's Online

260 user(s) are online (142 user(s) are browsing Support Forums)


Members: 0


Guests: 260


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