nglasl/silverstripe-mediawesome
Composer 安装命令:
composer require nglasl/silverstripe-mediawesome
包简介
This module allows creation of dynamic media holders/pages with CMS customisable types and attributes (blogs, events, news, publications), including versioning.
README 文档
README
The current release is 4.0.6
This module allows creation of dynamic media holders/pages with CMS customisable types and attributes (blogs, events, news, publications), including versioning.
Requirement
- SilverStripe 3.1 → 4.0
Getting Started
- Place the module under your root project directory.
/dev/build- Create a media holder.
- Configure the media type.
- Create media pages.
Overview
Default Media Types
These are the default media types and their respective attributes.
nglasl\mediawesome\MediaPage: type_defaults: Blog: - 'Author' Event: - 'End Date' - 'Time' - 'End Time' - 'Location' News: - 'Author' Publication: - 'Author'
Apply custom default media types and/or respective attributes.
nglasl\mediawesome\MediaPage: type_defaults: Type: - 'Attribute'
These may also be added through the CMS, depending on the current user permissions.
- Select a media holder.
- Select
Manage ALL Media - Select
Types and Attributes
Dynamic Media Attributes
These may be customised through the CMS, depending on the current user permissions.
- Select a media holder.
- Select
Manage ALL Media - Select
Types and Attributes - Select the respective type.
These attributes will appear on media pages of the respective type, and are versioned.
Media Categories and Tags
- Select a media holder.
- Select
Manage ALL Media - Select
Categories and Tags
CMS Permissions
These may be changed through the site configuration by an administrator.
- Select
Settings - Select
Access
Customisation of media types and their respective attributes will be restricted.
Filtering Media Pages
A media holder request may have optional date, category and tag filters, which are extendable by developers.
The following on the media holder template allows a user to select a date, and then see media pages for and prior to that date:
$DateFilterForm
It is also possible to represent the date in a year/month/day/media URL format.
Smart Templating
Custom media type templates may be defined for your media holder/page:
MediaHolder_Blog.ss or MediaPage_Blog.ss
Retrieve a specific media page attribute in templates:
$Attribute('Author')
To see examples, look at the default templates:
MediaHolder.ss and MediaPage.ss
Maintainer Contact
Nathan Glasl, nathan@symbiote.com.au
nglasl/silverstripe-mediawesome 适用场景与选型建议
nglasl/silverstripe-mediawesome 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 22.77k 次下载、GitHub Stars 达 0, 最近一次更新时间为 2013 年 10 月 25 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「media」 「event」 「blog」 「news」 「silverstripe」 「custom」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 nglasl/silverstripe-mediawesome 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 nglasl/silverstripe-mediawesome 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 nglasl/silverstripe-mediawesome 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Simple Sharing generates social media share links within CP entry pages, allowing you to quickly & easily share entries.
Laravel package for opinionated blog implementation
Symfony bundle for broadway/broadway.
Laravel Media Popup to upload/view the files
Import an RSS-feed into blog
Asset Manager Laravel package for Gigcodes UI Library
统计信息
- 总下载量: 22.77k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 23
- 依赖项目数: 4
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2013-10-25




