dynamic/silverstripe-elemental-embedded-code

Embed code like iFrames or Javascript on a page.

Maintainers

Package info

github.com/dynamic/silverstripe-elemental-embedded-code

Type:silverstripe-vendormodule

pkg:composer/dynamic/silverstripe-elemental-embedded-code

Transparency log

Fund package maintenance!

dynamic

Statistics

Installs: 51 050

Dependents: 2

Suggesters: 0

Stars: 1

Open Issues: 2

4.0.1 2026-06-15 15:44 UTC

README

A block to embed code like iFrames or Javascript on a page

CI Sponsors

Latest Stable Version Total Downloads Latest Unstable Version License

Requirements

  • dnadesign/silverstripe-elemental: ^6
  • silverstripe/framework: ^6
  • silverstripe/vendor-plugin: ^3

Installation

composer require dynamic/silverstripe-elemental-embedded-code

Example usage

Adds a block to display embeddable code on a page. Useful for iFrames or Javascript embeds, like MailChimp sign up forms.

Screen Shots

Front End sample of an Embed Code Element

Front End sample of an Embed Code Element

CMS - Embed Code Element Main Tab

CMS - Embed Code Element Main Tab

Getting more elements

See Elemental modules by Dynamic

Configuration

To hide the Content field (leaving only the embed code field), set hide_content_field:

---
After:
  - '#silverstripeelemental-embedded-codeconfig'
---
Dynamic\Elements\Embedded\Elements\ElementEmbeddedCode:
  hide_content_field: true

See SilverStripe Elemental Configuration

Maintainers

Bugtracker

Bugs are tracked in the issues section of this repository. Before submitting an issue please read over existing issues to ensure yours is unique.

If the issue does look like a new bug:

  • Create a new issue
  • Describe the steps required to reproduce your issue, and the expected outcome. Unit tests, screenshots and screencasts can help here.
  • Describe your environment as detailed as possible: SilverStripe version, Browser, PHP version, Operating System, any installed SilverStripe modules.

Please report security issues to the module maintainers directly. Please don't file security issues in the bugtracker.

Development and contribution

If you would like to make contributions to the module please ensure you raise a pull request and discuss with the module maintainers.

License

See License