6
Quote:
noisia wrote:
Can I use an include command to call my html page into the mypage module?
In the place of: your html goes here ...
can I put:
include ("http://mysite.com/path/file.html");
?>
I have tried it, but there are two problems:
1. The pictures do not show up since the relative path becomes the path within the XOOPS directory
and
2. The japanese codation turns the japanese text into garbled text, since the original site uses a different Japanese codation.
To get the images to display correctly, you'll need to alter the origianal html document to reflect the new path to your image directory. The easiest approach would be to reference the full url opposed to the relative.
EX: change "/images/mypic.gif" to "http://mydomain.com/images/mypic.gif"
As far as the Japanese characters go, I beleive this is due to the charset (character set) tag in XOOPS being different than the charset of the original html document. You will need to make sure the charset of both are the same. Unfortunately, I've only worked with english sites, so I don't know much about different charsets.
Hope this helps.