milkyway-multimedia / ss-mwm-shortcodes
Some additional shortcodes and related utilities for Silverstripe
Installs: 437
Dependents: 1
Suggesters: 0
Security: 0
Stars: 3
Watchers: 2
Forks: 1
Open Issues: 0
Type:silverstripe-module
Requires
Requires (Dev)
Suggests
- sheadawson/silverstripe-shortcodable: Allows adding shortcodes via the TinyMCE editor
- thisisbd/silverstripe-fontawesome-iconpickerfield: Use an icon picker field for font awesome icons.
This package is not auto-updated.
Last update: 2024-11-09 19:30:20 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
- E-mail: mellisa.hankins@me.com
- Twitter: @mi3ll
- Website: mellimade.com.au