定制 milkyway-multimedia/ss-mwm-assets 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

milkyway-multimedia/ss-mwm-assets

Composer 安装命令:

composer require milkyway-multimedia/ss-mwm-assets

包简介

New requirements backend for Silverstripe

README 文档

README

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


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

License

  • MIT

Version

  • Version 0.3 (Alpha)

Contact

Mellisa Hankins

统计信息

  • 总下载量: 1.42k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 1
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 3
  • Watchers: 1
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-04-01

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固