Skip to main content

Introduction

This package is an addon for ftw.simplelayout. Please make sure you already installed ftw.simplelayout on your plone site before installing this addon.

ftw.iframeblock privides a block for ftw.simplelayout, which renders a iframe using iframe-resizer. Read the setup instructions of iframeresizer carefully: you need an implementation on both domains.

Linking to sub pages

When integrating other websites in iframes and indexing those contents in the search, we want to be able to link from the search to a specific iframed sub-page.

In order to make this possible we need to be able to pass the requested sub-page as GET request param.

For security reason, the origin of both URLs must be the same, otherwise the configured startpage is loaded.

Examples:

  • 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

Runs with Plone 4.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.6.3 (2021-10-25)

  • Implement option to disable automatic jump to top while navigation in iframe. [mathias.leimgruber]

1.6.2 (2020-05-29)

  • Remove plone.app.referenceablebehavior in plone 5. [busykoala]

1.6.1 (2020-04-02)

  • Fix iframe block for Internet Explorer [Nachtalb]

1.6.0 (2020-03-16)

  • Re-add ability to override iframe autoresizer options which has gone in previous version [Nachtalb]

1.5.3 (2020-03-12)

1.5.3 should have been a minor release (1.6.0) rather than a patch release. The javascript was moved completely to JS files, thus customizations might have to be adjusted.

  • Fix iframe auto resizer not being triggered on plone 4 [Nachtalb]

  • Ensure iframeResizer.contentWindow is included on Plone 5 - in case iframe includes a page from the same site [Nachtalb]

  • Update plone 4 iframe resizer to same version as plone 4 [djowett-ftw]

1.5.2 (2020-01-09)

  • Add ftw.iframeblock portal_type translation to plone domain. [tinagerber]

1.5.1 (2019-12-17)

  • Provide precompiled bundle. [tinagerber]

1.5.0 (2019-04-11)

  • Add Plone 5.1 support [busykoala]

1.4.0 (2019-04-01)

  • Add new block configuration option for the height calculation method. [mbaechtold]

1.3.5 (2018-03-20)

  • Allow usage of anchor links inside iFrame block [raphael-s]

  • Always scroll a bit above iFrameblock after a new page has been loaded inside the block [raphael-s]

1.3.4 (2017-07-25)

  • Enable scrolling fallback when the iframe resizer is disabled. [lknoepfel]

  • Make iframe fixes compatible with ftw.iframefix 2.0. [Kevin Bieri]

  • Install ftw.iframefix [Kevin Bieri]

1.3.3 (2017-03-07)

  • Make IFrameBlock addable on plone site per default [raphael-s]

1.3.2 (2017-01-17)

  • Arghhh the js part should now remove the loading css class from the prev. element. [mathias.leimgruber]

1.3.1 (2017-01-17)

  • Well… implement IE compatible spinner, which does not changes the bg color of the iframe. [mathias.leimgruber]

1.3.0 (2017-01-10)

  • Implement spinner while loading the iframe. [mathias.leimgruber]

1.2.0 (2016-12-13)

  • Remove ftw.simplelayout mapblock dependency. [mathias.leimgruber]

1.1.0 (2016-10-04)

  • Allow opening sub-page by passing it as GET parameter “i”. [jone]

  • Update description of edit view. [raphael-s]

1.0.3 (2016-08-09)

  • Remove metadata.xml-dependencie to ftw.simplelayout. This package is an addon of ftw.simplelayout and should not install it. [elioschmutz]

1.0.2 (2016-07-08)

  • Add support for IE11 and MS Edge. [raphael schwob]

1.0.1 (2016-06-20)

  • Init implementation. [raphael schwob]

Release files for ftw.iframeblock 1.6.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ftw.iframeblock 1.6.3
File Size Uploaded
ftw.iframeblock-1.6.3.tar.gz 73.3 kB Details

Release files / ftw.iframeblock-1.6.3.tar.gz

Download URL ftw.iframeblock-1.6.3.tar.gz
Size 73.3 kB
Tags Source
SHA-256 checksum
How to use checksums
8880ed071e4f002610657489da0ca2aae1cfe3a3d6976d9505955d4bf1320236
BLAKE2b-256 checksum
How to use checksums
2a3094de636d0680106bf783233914965d70ab6eb041a1dc7ed527fcd73e5e76
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.6

Release history Release notifications | RSS feed

This release

1.6.3 This release

1 release file

1.6.2

1 release file

1.6.1

1 release file

1.6.0

1 release file

1.5.3

1 release file

1.5.2

1 release file

1.5.1

1 release file

1.5.0

1 release file

1.4.0

1 release file

1.3.5

1 release file

1.3.4

1 release file

1.3.3

1 release file

1.3.2

1 release file

1.3.1

1 release file

1.3.0

1 release file

1.2.0

1 release file

1.1.0

1 release file

1.0.3

1 release file

1.0.2

1 release file

1.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page