承接 alexstack/silverstripe-custom-carousel-slider 相关项目开发

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

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

alexstack/silverstripe-custom-carousel-slider

Composer 安装命令:

composer require alexstack/silverstripe-custom-carousel-slider

包简介

Add a Custom Carousel Slider to any page for SilverStripe. Multiple built-in slider template ready to use. Very easily to custom your own slider .ss template.

README 文档

README

  • Add a Custom Carousel Slider to any page for SilverStripe. Multiple built-in slider template ready to use. Very easily to custom your own slider .ss template.

How to install

composer require alexstack/silverstripe-custom-carousel-slider

How to enable the Custom Carousel Slider

'image'

How to add slider images

  • You should upload slider images with the same height & width for better visual effect
  • You may want to set up some special css style to make your slider looks better

'image'

How to change built-in slider template or disable slider(Not display)

'image'

Use your own .ss template for the slider

  • Example: Copy vendor/alexstack/silverstripe-custom-carousel-slider/templates/SSCustomCarouselSlider/BootstrapSlider001.ss to your-theme/Includes/my-bootstrap-slider.ss , change the slider codes inside to what you want. Just keep the variable name the same. 'image'

How to custom the style of the built-in slider

Where to display the slider?

  • You can choose to display the slider before or after the main content. It will append the slider to the $Content variable
  • You can also manually insert a variable $showCustomerSlider to any page template. eg. Page.ss, ProductPage.ss, ContactUsPage.ss
  • Example below: we want the slider show under the Header.ss but above the $Title of the Layout/Page.ss 'image'

Example of display before content (at the top of main content)

'image'

Example of display after content (at the bottom of main content)

'image'

Thanks

  • Inspired by I-lateral's carousel

License

  • BSD-3-Clause

统计信息

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

GitHub 信息

  • Stars: 1
  • Watchers: 0
  • Forks: 0
  • 开发语言: Scheme

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2019-07-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固