简体   繁体   English

如何将HTML文件加载到文章内容中?

[英]How to load html file into article content?

I download an extension from freefrontedit and upload it on my server to directory /accordeon. 我从freefrontedit下载扩展并将其上传到服务器上的目录/ accordeon。 When I point the browser to http://mysite/accordeon/index.html it works well. 当我将浏览器指向http://mysite/accordeon/index.html时,它运行良好。 But how could I load the index.html into article content? 但是,如何将index.html加载到文章内容中呢? I am using joomla template. 我正在使用joomla模板。

I try with <iframe src="http://mysite/accordeon/index.html" width="100%" height="100%"></iframe> but then the height is not same. 我尝试使用<iframe src="http://mysite/accordeon/index.html" width="100%" height="100%"></iframe>但是高度不一样。

Is there other way to load accordeon/index.html into an article? 还有其他方法可以将Accordeon / index.html加载到文章中吗?

I wonder how this custom extensions can be used in cms like joomla and wordpress without iframe your own content because iframe height is never the same as the source. 我不知道如何在不使用iframe自己的内容的情况下在joomla和wordpress之类的cms中使用此自定义扩展名,因为iframe的高度永远不会与源高度相同。 Pasting index.html code in article content works only when they dont have index.HAML file because neither article neither custom html module could understand HAML code and just display it as plain text 仅当文章内容没有index.HAML文件时,才将index.html代码粘贴到文章内容中,因为任何文章或自定义html模块都无法理解HAML代码,而只能将其显示为纯文本

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM