You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Go to file
Maxime Rainville 23ba2cab1e
Merge pull request #62 from creative-commoners/pulld/2/fix-userdoc-deploy
5 months ago
.github/workflows MNT Fix github action for deploying userdocs 5 months ago
.tx Transifex support 9 years ago
_config FIX move legacy.yml to _config folder to be picked up correctly 4 years ago
docs/en/userguide DOC Correct title for userhelp 5 months ago
javascript Update load event registration 3 years ago
lang ENH Update translations 2 years ago
src ENH PHP 8.1 compatibility 10 months ago
templates/SilverStripe/IFrame/Layout FIX Add CMS configurable title for iframe to tell screenreaders it contains frame content 4 years ago
tests API phpunit 9 support 1 year ago
.editorconfig Added standard editor config 7 years ago
.gitattributes Update CI tool configurations to fit SS4 conventions 5 years ago
.upgrade.yml FIX Update translations to match class namespaces 5 years ago MNT Standardise modules 6 months ago Added standard code of conduct 7 years ago
codecov.yml Update CI tool configurations to fit SS4 conventions 5 years ago
composer.json DEP Set PHP 7.4 as the minimum version 12 months ago DOCS Update readme and userguide to be a bit more specific about what this module does 4 years ago
phpcs.xml.dist MNT Use shared travis config, use sminnee/phpunit 2 years ago
phpunit.xml.dist MNT Standardise modules 6 months ago

IFrame module

CI Silverstripe supported module


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.


  • Silverstripe ^4.0

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


Install with Composer:

composer require silverstripe/iframe

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


For usage instructions see the user manual.



Translations of the natural language strings are managed through a third party translation interface, 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 to contribute translations, rather than sending pull requests with YAML files.