简体   繁体   English

iframe没有显示在drupal页面上

[英]iframe not showing up on drupal page

I am trying to display another page (external webpage) on my drupal page. 我试图在我的drupal页面上显示另一个页面(外部网页)。 My approach is to embed the page in an iframe as follows: 我的方法是将网页嵌入到iframe中,如下所示:

<iframe frameborder="1" height="100" scrolling="auto" src="http://mywebpage.com/specific_page" width="80%"></iframe>

So far I only see the iframe box but the content is not showing up. 到目前为止,我只看到iframe框,但没有显示内容。 I've switched between Full HTML, Filtered HTML and Full HTML with IMCE but none worked. 我在使用IMCE的Full HTML,Filtered HTML和Full HTML之间进行了切换,但是没有一个起作用。 I also tried a couple different options from google search but no. 我也尝试了谷歌搜索的几个不同选项,但没有。 Your help is sought pls. 寻求您的帮助。 Thanks 谢谢

Fastest solution i think would be using PHP filter module which gives you ability to use custom code without filtration as Filtered and Full HTML filter do. 我认为最快的解决方案是使用PHP过滤器模块,该模块使您能够使用自定义代码,而无需像Filtered和Full HTML过滤器那样进行过滤。

If you are only one who can add code with PHP filter(do not give this possibility to other users!) you can go straight forward with this approach. 如果您只有一个可以使用PHP过滤器添加代码的人(不要给其他用户这种可能性!),则可以直接使用这种方法。

Hope it will fit for you. 希望它适合你。

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

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