cotonti.com : how to include HTML file into .tpl https://www.cotonti.com Son konu mesajları Cotonti en Tue, 21 Oct 2025 22:29:45 -0000 ez
In this case iFrame was a good solution.
I don't use that often (almost never) so did't think off that.]]>
Paz, 30 Mayıs 2010 15:39:24 -0000
pieter
Thx Kort, but it did't worked for me like that. The html was looking for data in js files.

I used
<iframe src=https://www.cotonti.com/"http://pv.kruisstraat89.be/banner.html" width="200" height="142" frameBorder="0"></iframe>

And this worked.]]>
Paz, 30 Mayıs 2010 02:05:00 -0000
ez
This is something I made VERY quick.. so no garantees here
I just removed things like <body> <head> stuff from your html
just put this code in solar.tpl (e.g.)

and add it to index.tpl like kort said..


]]>
Cmt, 29 Mayıs 2010 15:37:26 -0000
pieter
- Is it needed for the file to be TPL? I guess yes
- Does need to be placed in the skin folder?
- Can it via a absolute path with http://wwww..... ?

Added 10 minutes later:


I guess it is better to make a plugin, because I need to put the rest also on the site.

I want this http://pv.kruisstraat89.be/banner.html on the index page
And this http://pv.kruisstraat89.be/ visible in the site-layout.

Does anyone have a easy example for me to start creating this plugin?
I am not that familiar with coding.
]]>
Cmt, 29 Mayıs 2010 14:45:06 -0000
Kort {FILE "skins/sed-lite/somehtmlfile.tpl"}]]> Cmt, 29 Mayıs 2010 13:27:49 -0000 pieter
I tried include:http://....
but it doesn't work.]]>
Cmt, 29 Mayıs 2010 12:49:00 -0000
ez
A tpl is basically a HTML file (with extra's).

Just try it]]>
Cmt, 29 Mayıs 2010 06:30:45 -0000
pieter
I want to include this in a tpl: http://pv.kruisstraat89.be/banner.html]]>
Cmt, 29 Mayıs 2010 05:06:08 -0000