Skip to main content

A block for ftw.simplelayout

Project description

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]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ftw.iframeblock-1.6.3.tar.gz (73.3 kB view details)

Uploaded Source

File details

Details for the file ftw.iframeblock-1.6.3.tar.gz.

File metadata

  • Download URL: ftw.iframeblock-1.6.3.tar.gz
  • Upload date:
  • Size: 73.3 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for ftw.iframeblock-1.6.3.tar.gz
Algorithm Hash digest
SHA256 8880ed071e4f002610657489da0ca2aae1cfe3a3d6976d9505955d4bf1320236
MD5 2cc352d5a8b0ee219478835f7f205078
BLAKE2b-256 2a3094de636d0680106bf783233914965d70ab6eb041a1dc7ed527fcd73e5e76

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page