Go to file
2024-07-22 02:14:33 +00:00
.github Merge branch '3.2' into 3 2024-06-20 01:12:53 +00:00
.tx ENH Update translations 2023-03-06 18:18:18 +13:00
docs/en/userguide DOC Correct title for userhelp 2022-08-20 21:10:16 +12:00
javascript Update load event registration 2020-01-15 14:05:13 +13:00
lang TLN Update translations (#83) 2024-05-07 15:21:39 +12:00
src ENH Add generic types (#77) 2024-01-23 13:02:53 +13: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 MNT Broken builds 2023-01-24 15:51:51 +13:00
_config.php MNT Broken builds 2023-01-24 15:51:51 +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
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 MNT Run module-standardiser (#79) 2024-02-02 14:02:44 +13:00
LICENSE MNT Run module-standardiser 2023-08-14 15:45:57 +12:00
phpcs.xml.dist MNT Use shared travis config, use sminnee/phpunit 2020-11-10 13:31:11 +13:00
phpstan.neon.dist MNT Run module-standardiser (#79) 2024-02-02 14:02:44 +13:00
phpunit.xml.dist MNT Standardise modules 2022-08-01 16:22:16 +12:00
README.md DOC Update README.md for CMS 5 2023-04-19 16:18:52 +12:00

IFrame module

CI Silverstripe supported module

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.

Installation

composer require silverstripe/iframe

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.