Go to file
Garion Herman 90a0db39ed
Merge pull request #47 from creative-commoners/master
Travis config update, remove branch aliases
2019-11-06 16:35:19 +13:00
_config FIX move legacy.yml to _config folder to be picked up correctly 2019-04-16 14:56:55 +12:00
.tx Transifex support 2013-10-24 22:21:58 +02:00
docs/en/userguide DOCS Update readme and userguide to be a bit more specific about what this module does 2019-02-01 12:39:39 +03:00
javascript Add support for Firefox & IE9 2015-07-28 11:46:42 +12:00
lang FIX Update translations to match class namespaces 2017-11-27 16:35:59 +13:00
src Update title and description of IFrameTitle field 2019-05-17 14:35:01 +12:00
templates/SilverStripe/IFrame/Layout FIX Add CMS configurable title for iframe to tell screenreaders it contains frame content 2019-05-17 11:56:07 +12:00
tests Update CI tool configurations to fit SS4 conventions 2017-11-22 18:10:32 +13:00
.editorconfig Added standard editor config 2015-11-19 13:25:43 +13:00
.gitattributes Update CI tool configurations to fit SS4 conventions 2017-11-22 18:10:32 +13:00
.scrutinizer.yml NEW Rename code to src, remove changelog and extraneous codecov file 2017-11-27 13:54:53 +13:00
.travis.yml Travis config update, remove branch aliases 2019-11-05 11:22:09 +13:00
.upgrade.yml FIX Update translations to match class namespaces 2017-11-27 16:35:59 +13:00
code-of-conduct.md Added standard code of conduct 2015-11-21 20:14:16 +13:00
codecov.yml Update CI tool configurations to fit SS4 conventions 2017-11-22 18:10:32 +13:00
composer.json Travis config update, remove branch aliases 2019-11-05 11:22:09 +13:00
license.md DOCS Update readme and userguide to be a bit more specific about what this module does 2019-02-01 12:39:39 +03:00
phpcs.xml.dist Update Travis to include various SS versions and PHP 7.3 and use PSR-12 2019-02-01 12:42:52 +03:00
phpunit.xml.dist NEW Rename code to src, remove changelog and extraneous codecov file 2017-11-27 13:54:53 +13:00
README.md Merge branch '2.0' 2019-03-01 15:41:56 +13:00

IFrame module

Build Status Scrutinizer Code Quality codecov SilverStripe supported module Version License

Introduction

The IFrame module provides an IFrame page type in the CMS which allows you to embed an IFrame into a page without resorting to custom code in your templates or TinyMCE instance.

This can help if you have iframe disabled in TinyMCE's valid_elements and do not want to to re-enable it in for a single/specific use-case. It's also possible that using a Web Application Firewall (WAF) may block page save requests that contain iframe elements in HTML content, which using this module would circumvent.

Various attributes of the IFrame can be controlled from CMS fields, such as size and content that surrounds the IFrame itself.

Requirements

  • SilverStripe ^4.0

Note: For a SilverStripe 3.x compatible version, please use the 1.x release line.

Installation

Install with Composer:

composer require silverstripe/iframe

After installation, ensure you run dev/build?flush in either your browser or via command line.

Instructions

For usage instructions see the user manual.

Contributing

Translations

Translations of the natural language strings are managed through a third party translation interface, transifex.com. Newly added strings will be periodically uploaded there for translation, and any new translations will be merged back to the project source code.

Please use https://www.transifex.com/projects/p/silverstripe-iframe to contribute translations, rather than sending pull requests with YAML files.