Skip to content

Repository files navigation

Silverstripe Elemental Embedded Code

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

About

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

Topics

Resources

Stars

1 star

Watchers

5 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages