1
magomes
block content problem.
  • 2005/10/18 4:53

  • magomes

  • Just popping in

  • Posts: 20

  • Since: 2004/11/10


Hey guys,

Just a quick embarrasing question. I used to know this but i cannot remember how i did it.

I have created a webpage with some called page1.htm
I have created a custom block and i want the contents that is on page1.htm to be displayed in this custom block.

How do i do it? What is the code?

thanks
regards,
MG

2
JMorris
Re: block content problem.
  • 2005/10/18 5:12

  • JMorris

  • XOOPS is my life!

  • Posts: 2722

  • Since: 2004/4/11


Set the block content type to PHP Script and use the following code...

include '/path/to/page1.htm';


Hope this helps.

James
Insanity can be defined as "doing the same thing over and over and expecting different results."

Stupidity is not a crime. Therefore, you are free to go.

3
magomes
Re: block content problem.
  • 2005/10/18 6:19

  • magomes

  • Just popping in

  • Posts: 20

  • Since: 2004/11/10


You see i knew it. I knew it was that simple. I cant believe i forgot that code.

Shame on me!!

Thanks heaps James, really appreciate it.

MG

Login

Who's Online

490 user(s) are online (418 user(s) are browsing Support Forums)


Members: 0


Guests: 490


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