Personal tools
You are here: Home PC zope&plone Ploneのiframeタグ使用
Document Actions

Ploneのiframeタグ使用

by かわうぃん last modified 2006-02-04 16:48

デフォルトでは、変換され使用できないiframeタグを追加する方法

何かしら、外部生成のhtmlを 内部へ表示させるにはiframeが便利ですが、

デフォルトでは使用できないようにされています。それを変更する方法。

「<IFRAME>はInline Frameの略です。<IFRAME>を使用すると、ウィンドウを水平・垂直に分割する形式だけではなく、 ウィンドウの中に独立して表示される形式のインラインのフレームが作成できます。」

PortalTransforms/transforms/safe_html.pyによってフィルタリングされています。
(しかもこれは、CMFDefault/utils.pyを読む)

リストのVALID_TAGSへ"iframe"を追加します。


iframe_ad




Powered by Plone CMS, the Open Source Content Management System

This site conforms to the following standards: