定制 balo85/foundation_paragraphs 二次开发

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

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

balo85/foundation_paragraphs

Composer 安装命令:

composer require balo85/foundation_paragraphs

包简介

Define usefull paragraphs to be used with Zurb Foundation 6 theme

README 文档

README

  • Introduction
  • Requirements
  • Installation
  • Configuration
  • Maintainers

INTRODUCTION

The Foundation 6 Utils Paragraphs defines a custom set of Paragraphs used as the basis for content management. We love the Zurb Foundation framework, as we use it in almost all of our websites. To make basic development faster, I've added all the standard paragraphs we use on our websites to this module. Always check the Zurb Foundation document for any information.

REQUIREMENTS

This module requires the following modules:

Please note that you need a custom theme based on Zurb Foundation framework to use this module. We suggest ZURB Foundation(https://www.drupal.org/project/zurb_foundation) theme as starter theme.

INSTALLATION

Install the Foundation 6 Utils Paragraphs module as you would normally install a contributed Drupal module. Visit https://www.drupal.org/node/1897420 for further information.

CONFIGURATION

This module needs no configuration. However, you will find two scss files in the utils folder.

spacers.scss help to manage the top and bottom spaces that are used in the grid system. Please check the file to learn how to use it.

theme-minimal-styles.scss give you a basic skeleton to manage the grid and cell background. Please feel free to use it as a starting point in your theme.

For any informations about using the single paragraphs check under.

FAQ

Q: How does Foundation Grid paragraph work?

A: Foundation Grid is the main paragraph of the set, and it is the one you need to manage on your content type. This paragraph makes it easy for you to manage

  • Custom ID and custom classes of the grid.
  • Both top and bottom spacing, both padding and margin. We define a basic set of spaces (0, 1, 2, 3), but feel free to add more when you need. Use spacers.scss as help to manage them.
  • Grid Container type, based on Zurb Foundation XY Grid.
  • Cell Gutters and Collapse gutters, based on Zurb Foundation XY Grid.
  • Horizontal and vertical cell alignment, based on Zurb Foundation Flexbox Utilities.
  • Background, both as image and color. You have an additional checkbox to manage the background as full witdh. Please check theme-minimal-styles.scss for a basic idea to how to manage it.
  • Cells, to manage each content inside the grid.

Q: How does Foundation Cell paragraph work?

A: Foundation Cell is another main paragraph of the set, and makes you define a custom cell in your grid system. This paragraph makes it easy for you to manage

  • Custom ID and custom classes of the cell.
  • For each standard breakpoint (small, medium and large), the opportunity to define the size and the offset, based on Zurb Foundation XY Grid.
  • Vertical alignment of the cell, based on Zurb Foundation Flexbox Utilities.
  • Background, both as image and color. You have two additional checkboxes to manage the background as expand on left or right. Please check theme-minimal-styles.scss for a basic idea to how to manage it.
  • Elements, to manage each content inside the cell.

Q: How does Text element paragraph works?

A: The paragraph give you the opportunity to add a single WYSIWYG text editor in the cell.

Q: How does Image paragraph works?

A: The paragraph give you the opportunity to add a single image in the cell. The predefined path for the upload is images/paragraphs/[date:custom:Y]-[date:custom:m]

Q: How does Interchange paragraph works?

A: The paragraph give you the opportunity to add a single Interchange image in the cell. You can manage 3 images, small, medium and large.

The predefined path for the uploads is images/paragraphs/[date:custom:Y]-[date:custom:m]

Q: How does Accordions and Responsive Accordions Tabs paragraphs works?

A: These two paragraphs make it easy for you to manage these two elements of Zurb Foundation, both Accordion and Responsive Accordion Tabs. Please read the official document for the definition of the settings.

Q: How does Highlight paragraph works?

A: The paragraph allows you to add a single WYSIWYG text editor in the cell, plus the ability to handle custom IDs and custom classes. We find that there is a need to manage Highlight content with a different style from Text, so we are keeping this content as standard.

Q: How does CTA Banner paragraph works?

A: The paragraph gives you the opportunity to add a block with the following field

  • Custom ID and custom classes
  • CTA link
  • Title
  • Text element as WYSIWYG editor
  • Background image There are always a few CTA banners to deal with, so we keep this content as standard.


Q: How does Separator paragraph works?

A: Sometimes you need to add an empty space, or a stylized space, between different paragraphs. This paragraph gives you the opportunity to manage it. You can define

  • Custom ID and custom classes
  • Top and bottom margin. We define a basic set of spaces (0, 1, 2, 3), but feel free to add more when you need. Use spacers.scss as help to manage them.
  • Separator type

Q: How does Drupal Block, Drupal View and Video paragraphs works?

A: This 3 paragraphs give you the opportunity to manage this standard items. Please check the related modules for more information

MAINTAINERS

Supporting organization:

balo85/foundation_paragraphs 适用场景与选型建议

balo85/foundation_paragraphs 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 6 次下载、GitHub Stars 达 0, 最近一次更新时间为 2021 年 10 月 31 日, 在 PHP 生态内属于活跃度较高的组件。

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

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

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

BUG 修复 & 性能优化

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

项目外包 & 长期维护

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

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

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2021-10-31