PEAK XOOPS - How to include HTML file? in englishin japanese

How to include HTML file?

  • You cannot open a new topic into this forum
  • Guests cannot post into this forum
Previous post - Next post | Parent - Children.1 | Posted on 2004/10/8 1:31
THEM  ÆóÅùʼ   Posts: 2
Using Tiny, and all i awant to do is include an HTML file. I've tried various php and html codes and can't get it to work.

In addition, what should I set the "Page Type" to?

Thanks,
Chris
Votes:0 Average:0.00
Previous post - Next post | Parent - Children.1 | Posted on 2004/10/8 18:48
GIJOE  ÀèǤ·³Áâ   Posts: 4110
hi THEM.

I don't see what you want.
Do you want to wrap some html files or php files ?

If so,
- upload files into your tinycontent*/content/ via FTP or HTTP
- push "add Page Wrap"
- select the file which you want to be wrapped.
Votes:0 Average:0.00
Previous post - Next post | Parent - Children.1 | Posted on 2004/10/9 0:34
THEM  ÆóÅùʼ   Posts: 2
Basically I have an html page that I want to include in a TinyD content page.

For example:

<start tinyd>

Blah blah blah...

<include HTML Page> <=== How to include?
bla blah blah....


<end tinyd>
Votes:0 Average:0.00
Previous post - Next post | Parent - No child | Posted on 2004/10/9 7:46
GIJOE  ÀèǤ·³Áâ   Posts: 4110
Now, I can see what you want.

You have to select the page type as PHP code.
But you can't describe HTML plainly.

In the case of your sample:

echo 'Blah blah blah...' ;

include(XOOPS_ROOT_PATH.'(write the physical path of the HTML page)');

echo 'bla blah blah....' ;
Votes:0 Average:0.00

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!