Add an iFrame pagetype to SilverStripe, to show content from another website

Installs: 213 829

Dependents: 3

Suggesters: 0

Security: 0

Stars: 5

Watchers: 14

Forks: 17

Open Issues: 2

Type:silverstripe-vendormodule

3.2.1 2024-05-07 03:21 UTC

README

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.