定制 jbeyerstedt/quote 二次开发

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

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

jbeyerstedt/quote

Composer 安装命令:

composer require jbeyerstedt/quote

包简介

Kirbytag for (twitter bootstrap) blockquotes

README 文档

README

by Jannik Beyerstedt from Hamburg, Germany
jannikbeyerstedt.de | Github
license: GNU GPL v3
version: v2.0.0

Notice About Branches and Kirby 2

Kirby 3 support was added in the kirby3 branch, because Kirby 2 and Kirby 3 plugins are quite different. Now that Kirby 3 is released, I changed the default branch to kirby3 but will keep the master, because old Kirby 2 projects might break, if I rename the branches.

Updating from the Kirby 2 version: The configuration options are now prefixed by jbeyerstedt.quote instead of quote. This is caused by the new way, how plugins work within Kirby 3.

Introduction

This Kirbytag creates a html blockquote tag with the option to add an author via a footer tag. For everyone using the Bootstrap framework, the default Bootstrap classes can be activated in the settings.

User Manual

Installation

For manual installation, copy all of these files to site/plugins/kirbytag-quote.

If you are using git submodules to manage the plugins, use this command:

git submodule add https://github.com/jbeyerstedt/kirby-kirbytag-quote site/plugins/kirbytag-quote

If you are using composer add this to your composer.json to always get the latest version:

"require": {
    "jbeyerstedt/quote": "dev-kirby3"
}

Alternatively, you can select any version greater than 2.0.

Configuration

To enable the styling classes used by Bootstrap 4, add this to your config.php:

c::set('jbeyerstedt.quote.default_style', 'bs');

Usage

Use this kirbytag as every other one in your text. Here are some examples:

(quote: Awesome quote author: me)
Parameters
  • quote: The sentence or paragraph you want to cite
  • author: (optional) the author, will be set a footer html tag
  • class: (optional) css class to add to the blockquote
  • cite: (optional) cite tag at the end of the footer tag

Contribution

Feel free to fork this repository and make it better. If there is a bug I missed, please let me know by opening an issue.

jbeyerstedt/quote 适用场景与选型建议

jbeyerstedt/quote 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 37 次下载、GitHub Stars 达 4, 最近一次更新时间为 2019 年 06 月 21 日, 在 PHP 生态内属于活跃度较高的组件。

我们在过去多个企业项目中使用过 jbeyerstedt/quote 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 jbeyerstedt/quote 我们能提供哪些服务?
定制开发 / 二次开发

基于 jbeyerstedt/quote 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

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

GitHub 信息

  • Stars: 4
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0-only
  • 更新时间: 2019-06-21