fractas/silverstripe-shortcodable-codes

Custom shortcodes for Shortcodable module

1.1 2017-12-12 13:23 UTC

This package is auto-updated.

Last update: 2024-10-29 04:20:13 UTC


README

Latest Stable Version Latest Unstable Version Total Downloads License

Overview

Couple of Rich-media content embeds based on Shortcodable module.

Available Shortcodes:

  • Facebook (posts, video)
  • Iframe
  • Instagram (posts, video)
  • Twitter (posts, video)
  • Vimeo
  • YouTube

Requirements

  • SilverStripe CMS & Framework 4+
  • SilverStripe Shortcodable 4

Installation

  • Install via Composer
composer require fractas/shortcodable-codes "2.x-dev"
  • Choose and add which Shortcodes you wanna enable via YAML configuration:
---
Name: shortcodable-codes
---
Shortcodable:
  shortcodable_classes:
    - Fractas\ShortcodableCodes\FacebookShortcode
    - Fractas\ShortcodableCodes\IframeShortcode
    - Fractas\ShortcodableCodes\InstagramShortcode
    - Fractas\ShortcodableCodes\TwitterShortcode
    - Fractas\ShortcodableCodes\VimeoShortcode
    - Fractas\ShortcodableCodes\YoutubeShortcode
  • Run dev/build with ?flush=1

CMS user usage

See Docs

Bugtracker

Bugs are tracked on github.com

Licence

See Licence