2017 © Pedro Peláez
 

silverstripe-module ss-mwm-assets

New requirements backend for Silverstripe

image

milkyway-multimedia/ss-mwm-assets

New requirements backend for Silverstripe

  • Friday, May 13, 2016
  • by mi3ll
  • Repository
  • 1 Watchers
  • 3 Stars
  • 930 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 3 Versions
  • 6 % Grown

The README.md

Assets (New Requirements Backend)

Features

  • Access using: singleton('require')
  • You now have some sort of priority for your requirements
    • ->before
    • ->after
    • ->first
    • ->last
  • Defer CSS and javascript until page loads using: ->defer
  • Inline CSS and javascript using: ->inline
  • Replace certain files using: ->replace
  • Insert CSS and javascript into the using: ->head
  • New globals for your templates
    • $inlineFile(''): Inline a file at this section of a template
    • $placeIMG($width = 400, $height = 300, $categories = 'any', $filters = ''): Insert a placeholder image courtesy of placeimg.com
    • $loremIpsum($paragraphs = 1, $length = 'short', $opts = ['plaintext']): Insert lorem ipsum text courtesy of loripsum.net

Install

Add the following to your composer.json file, (*1)


"require" : { "milkyway-multimedia/ss-mwm-assets": "dev-master" }

License

  • MIT

Version

  • Version 0.3 (Alpha)

Contact

Mellisa Hankins

  • E-mail: mellisa.hankins@me.com
  • Twitter: @mi3ll
  • Website: mellimade.com.au

The Versions

13/05 2016

dev-master

9999999-dev

New requirements backend for Silverstripe

  Sources   Download

MIT

by Mellisa Hankins

silverstripe requirements mwm

01/04 2016

0.2

0.2.0.0

New requirements backend for Silverstripe

  Sources   Download

MIT

by Mellisa Hankins

silverstripe requirements mwm

01/04 2016

0.3

0.3.0.0

New requirements backend for Silverstripe

  Sources   Download

MIT

by Mellisa Hankins

silverstripe requirements mwm