ftw.iframeblock

A block for ftw.simplelayout


Keywords
ftwiframeblock
License
GPL-2.0
Install
pip install ftw.iframeblock==1.6.3

Documentation

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

Links

Copyright

This package is copyright by 4teamwork.

ftw.iframeblock is licensed under GNU General Public License, version 2.