定制 dynamic/silverstripe-elemental-card 二次开发

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

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

dynamic/silverstripe-elemental-card

最新稳定版本:3.0.0

Composer 安装命令:

composer require dynamic/silverstripe-elemental-card

包简介

A simple Bootstrap-style Card for Silverstripe Elemental. Intended for use with Elemental Grid.

README 文档

README

A simple Bootstrap-style Card for Silverstripe Elemental. Intended for use with Elemental Grid.

CI

Latest Stable Version Total Downloads Latest Unstable Version License

Requirements

  • PHP ^8.3
  • SilverStripe ^6.0
  • dnadesign/silverstripe-elemental ^6.0
  • silverstripe/linkfield ^5.0
  • jonom/focuspoint ^6.0

Installation

composer require dynamic/silverstripe-elemental-card

After installation, run dev/build and flush:

vendor/bin/sake dev/build flush=all

License

See License

Usage

Elemental Card provides a flexible card component for displaying content with an optional image and link. Each card can include:

  • Title - The card heading
  • Content - HTML content for the card body/description
  • Image - An optional image that enhances the card
  • Link - An optional call-to-action link using SilverStripe LinkField, supporting internal pages, external URLs, email links, and more

Cards are perfect for:

  • Feature highlights
  • Team member profiles
  • Product or service showcases
  • News or blog post teasers
  • Call-to-action blocks

When used with Elemental Grid, you can create responsive card layouts with multiple cards per row.

Template Notes

The default templates are based on the Bootstrap 5 card component, making it easy to integrate with Bootstrap-based themes. You can override the templates in your own theme to match your design system.

Getting more elements

See Elemental modules by Dynamic

Configuration

See SilverStripe Elemental Configuration

Maintainers

Bugtracker

Bugs are tracked in the issues section of this repository. Before submitting an issue please read over existing issues to ensure yours is unique.

If the issue does look like a new bug:

  • Create a new issue
  • Describe the steps required to reproduce your issue, and the expected outcome. Unit tests, screenshots and screencasts can help here.
  • Describe your environment as detailed as possible: SilverStripe version, Browser, PHP version, Operating System, any installed SilverStripe modules.

Please report security issues to the module maintainers directly. Please don't file security issues in the bugtracker.

Development and contribution

If you would like to make contributions to the module please ensure you raise a pull request and discuss with the module maintainers.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2024-01-12