milkyway-multimedia/ss-mwm-shortcodes

Some additional shortcodes and related utilities for Silverstripe

dev-master / 0.3.x-dev 2016-07-08 19:29 UTC

This package is not auto-updated.

Last update: 2020-10-16 21:38:45 UTC


README

There are some new shortcodes that have been registered (once shortcodes are controlled by YAML config, these can be disabled via that...). These are automatically plugged in to the awesome shortcodes module by sheadawson

  • [setting field=Title] : Display a field from Site Settings
  • [user field=Name default=Guest] : Display a field from the current logged in member
  • [google_fixurl] : Render the Google Fix URL javascript (good for 404 pages)
  • [current_page field=Title] : Display a field from the current page
  • [icon]mwm[/icon] : Use an icon (defaults to the font awesome set)

Install

Add the following to your composer.json file


    "require"          : {
		"milkyway-multimedia/ss-mwm-shortcodes": "~0.3"
	}

License

  • MIT

Version

  • Version 0.3 (Alpha)

Contact

Mellisa Hankins