BetterEmbed
  • Overview
  • Changelog
  • Swagger API
  • CMS Integrations
    • Drupal Module
    • Neos Package
    • WordPress Plugin
    • SilverStripe Plugin
      • HowTo
Powered by GitBook
On this page
  • Requirements:
  • Installation:

Was this helpful?

  1. CMS Integrations
  2. SilverStripe Plugin

HowTo

PreviousSilverStripe Plugin

Last updated 5 years ago

Was this helpful?

Requirements:

SilverStripe 4

Installation:

composer require betterembed/betterembed-silverstripe (?packagist url?)

After that, make sure you rebuild the database, class and configuration manifests by going to http://yourwebsite.com/dev/build?flush=all

Usage:

Upon installation, BetterEmbed shortcodes are available to use on the SilverStripe website. Shortcode syntax should follow this format [betterembed,url=write_url_here]

Example shortcode with Twitter post URL: [betterembed,url=https://twitter.com/BetterEmbed/status/1201878663173726208]

So, just add a new shortcode inside any Content field:

Press 'Publish' and new BetterEmbed object is created and published: