用于ftw.simplelayout的块
ftw.iframeblock的Python项目详细描述
Introduction
此包是ftw.simplelayout的加载项。 请确保已安装ftw.simplelayout 在你的plone网站上安装这个插件之前。
ftw.iframeblock为ftw.simplelayout指定块, 它使用iframe-resizer呈现iframe。 请仔细阅读iframeresizer的安装说明: 您需要在两个域上都实现。
Linking to sub pages
当在IrrAMS中集成其他网站并标引 在搜索内容中,我们希望能够从搜索链接 到特定的iframed子页。为了使这成为可能,我们需要能够通过 子页作为获取请求参数。
出于安全原因,两个url的来源必须相同,否则将加载配置的startpage。
示例:
- http://localhost:8080/Plone/the-page?i=http://foo.ch/bar/baz.php
- http://localhost:8080/Plone/the-page?i_iframeblock2=http://foo.ch/bar/baz.php
Compatibility
与Plone4.3.x一起运行。
Installation local development-environment
$ git clone git@github.com:4teamwork/ftw.iframeblock.git $ cd ftw.iframeblock $ ln -s development.cfg buildout.cfg $ python2.7 bootstrap.py $ bin/buildout $ bin/instance fg
Changelog
1.5.0 (2019-04-11)
- 添加plone 5.1支持[busykoala]
1.4.0 (2019-04-01)
- 为高度计算方法添加新的块配置选项。[mbaechtell]
1.3.5 (2018-03-20)
- 允许在iframe块[raphael-s]内使用锚链接
- 加载新页面后,始终在iframeblock上方滚动一点 块内[Raphael-S]
1.3.4 (2017-07-25)
- 禁用iframe调整器时启用滚动回退。[Lknoepfel]
- 使iframefix与ftw.iframefix 2.0兼容。[凯文·比埃里]
- 安装ftw.iframefix [凯文·比埃里]
1.3.3 (2017-03-07)
- 使iframeblock在plone站点上可按默认值添加[raphael-s]
1.3.2 (2017-01-17)
- js部分现在应该从prev中删除正在加载的css类。元素。 [mathias.leimgruber]
1.3.1 (2017-01-17)
- 嗯…实现IE兼容的微调器,它不会改变背景颜色 在iframe上。 [mathias.leimgruber]
1.3.0 (2017-01-10)
- 加载iframe时实现微调器。 [mathias.leimgruber]
1.2.0 (2016-12-13)
- 删除ftw.simplelayout映射块依赖项。 [mathias.leimgruber]
1.1.0 (2016-10-04)
- 允许通过将其作为get参数“i”传递来打开子页。[乔恩]
- 更新编辑视图的说明。 [拉斐尔]
1.0.3 (2016-08-09)
- 将metadata.xml-dependencie删除到ftw.simplelayout。 这个包是ftw.simplelayout的一个插件,不应该安装它。 [elioschmutz]
1.0.2 (2016-07-08)
- 添加对IE11和MS Edge的支持。 [拉斐尔·施沃布]
1.0.1 (2016-06-20)
- 初始化实现。 [拉斐尔·施沃布]