承接 webfox/silverstripe-gallery 相关项目开发

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

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

webfox/silverstripe-gallery

最新稳定版本:v2.0.2

Composer 安装命令:

composer require webfox/silverstripe-gallery

包简介

A Silverstripe extension to add up to two galleries/carousels etc to any page

README 文档

README

This plugin simply adds the required dataobjects and makes an extension available to automatically add up to two gallery/carousel etc tabs to any page on your site. This plugin does not do the frontend for you at all as there are so many different options that it's impracticable.

Just loop over $PrimaryGalleryImages or $SecondaryGalleryImages and render the slides out as you wish. $Image refers to the uploaded image $Title refers to the title on the image

Installation Instructions

This module supports installation via composer only,

Run the following to add this module as a requirement and install it via composer.

composer require "webfox/silverstripe-gallery"

Next up add the required config settings, below is an example of adding a carousel to all Page and all subclasses, setting a custom folder for the images to upload to, and setting custom tab titles:

Page:
  primary_gallery:
    title: 'Carousel Images'
    folder: 'Carousel-Images'
  secondary_gallery:
    title: 'Gallery Images'
    folder: 'Gallery-Images'
  extensions:
    - GalleryExtension

By default both galleries are enabled, but can be disabled by setting enabled to false, which can also be used to disable the gallery on a subclass:

SubclassOfPage:
  primary_gallery:
    enabled: false
  secondary_gallery:
    enabled: false

then browse to /dev/build?flush=all

Requirements

  • Silverstripe 3.1+

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-11-09

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固