承接 lerni/silverstripe-webmanifest 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

lerni/silverstripe-webmanifest

Composer 安装命令:

composer require lerni/silverstripe-webmanifest

包简介

webmanifest for Silverstripe per YML and/or SiteConfig

README 文档

README

This module provides site.webmanifest for Silverstripe. Values are configurable via YAML or within SiteConfig in the CMS. YAML configuration (static) and values from SiteConfig (dynamic CMS) can be combined.

Installation

Composer is the recommended way of installing Silverstripe modules.

composer require lerni/silverstripe-webmanifest

Requirements

  • silverstripe/framework ^4 || ^5
  • silverstripe/siteconfig ^4 || ^5

Suggested

  • jonom/silverstripe-text-target-length ^2
  • tractorcow/silverstripe-colorpicker ^4

Configuration

You can set via yml-config what's in the manifest's json. With 'SiteConfig' as value, properties are editable per SiteConfig in CMS (dev/build needed). Alternatively, they can be set to other SiteConfig values like 'SiteConfig.Title'. If lang isn't specifically set, i18n::get_locale() will be used. With the default config (below), name is set to the value from SiteConfig.Title, for short_name a field is automatically added to SiteConfig. Further webmanifest values can be added as strings or arrays. See the full list of settings W3C. If Page (CMS-Module) exists, the manifest will be linked with a header-tag (<link rel="manifest" href="/site.webmanifest">) and also theme-color (<link rel="manifest" href="/site.webmanifest">) will be set if it has a value.

Kraftausdruck\Webmanifest\Webmanifest:
  tab: 'Root.Webmanifest'
  fields:
    name: 'SiteConfig.Title' # max. 30 characters
    short_name: 'SiteConfig' # max. 12 characters
    description: 'SiteConfig.Tagline' # max. 132 characters
    start_url: '/'
    background_color: '#ffffff'
    theme_color: '#ffffff'
    icons:
      - src: '/icon-192.png'
        sizes: '192x192'
        type: 'image/png'
      - src: '/icon-512.png'
        sizes: '512x512'
        type: 'image/png'

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2019-09-25

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固