Including existing HTML file in CMS Made Simple. How?
Posted: Wed Dec 22, 2010 9:34 pm
Hi all
I've been struggling with this problem for a while now. Here goes:
I have an existing HTML file (from which the user should be able navigate further) and want it included as content on a page. Copying in the HTML code from the file is not an option. The HTML files can not be modified (in principal they can but I will try to avoid it, as these are auto-generated and update frequently).
I have tried:
- iframes: It works, but iframes are just not desirable. There is also a problem with the height.
- UDT, include, readfile etc.: It includes the file, but here there are problems with the links (not using the right path leading to an error message) and the target (it opens it in a new window, but I would prefer it opening in main page).
Any suggestions?
Happy holidays.
/Napoleon.
I've been struggling with this problem for a while now. Here goes:
I have an existing HTML file (from which the user should be able navigate further) and want it included as content on a page. Copying in the HTML code from the file is not an option. The HTML files can not be modified (in principal they can but I will try to avoid it, as these are auto-generated and update frequently).
I have tried:
- iframes: It works, but iframes are just not desirable. There is also a problem with the height.
- UDT, include, readfile etc.: It includes the file, but here there are problems with the links (not using the right path leading to an error message) and the target (it opens it in a new window, but I would prefer it opening in main page).
Any suggestions?
Happy holidays.
/Napoleon.