move-elevator/me-typo3-styleguide 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

move-elevator/me-typo3-styleguide

Composer 安装命令:

composer require move-elevator/me-typo3-styleguide

包简介

This extension provides several tools for a TYPO3 styleguide.

README 文档

README

Extension icon

TYPO3 extension typo3_styleguide

Supported TYPO3 versions

This extension provides several tools for a TYPO3 styleguide.

Installation

Install via composer:

composer require move-elevator/typo3-styleguide

Include static TypoScript template or manually import it:

@import 'EXT:typo3_styleguide/Configuration/TypoScript/setup.typoscript'

Documentation

Technical Headline Content Element

The Technical Headline content element can be used to create a structural headline for your styleguide or technical documentation.

technical-headline.png

It automatically generates a table of contents for all technical headlines within the page, which can be used to navigate through the document.

ce-technical-headline.jpeg

Use the Headline-Level attribute to change the hierarchy of the headline. The default is h2, but you can also use h1, h3, h4.

Static Templates

This extension uses the flexible EXT:bw_static_template to offer the possibility to render any templates for the style guide.

ce-static-template.jpeg

In addition to the content elements, it is therefore possible to render any template or partial from the project for dedicated display.

Therefor you have to provide the path to the template in the Frontend template field.

If the template expects additional parameters, these can be specified using JSON notation in the “JSON” field.

edit-static-template.jpg

See the Static templates documentation for a more detailed documentation.

Pattern

The predefined patterns are useful templates within a standard styleguide. These are mainly simple fluid templates which can be configured using the Static templates content element.

The following patterns are available:

Images

This pattern provides a simple image template that can be used to display images, e.g. logos consistently.

pattern-image.jpg

Frontend template: EXT:typo3_styleguide/Resources/Private/Templates/Patterns/Images.html

Example data:

{
  "images": [
    {
      "path": "EXT:example/Resources/Public/Images/logo.svg",
      "caption": "home"
    }
  ]
}

Icons

This pattern provides a simple icon template that can be used to display all icons/images within a provided path.

pattern-icons.jpg

Frontend template: EXT:typo3_styleguide/Resources/Private/Templates/Patterns/Icons.html

Example data:

{
    "path": "EXT:example/Resources/Public/Icons/"
}

Colors

This pattern provides a simple color template that can be used to display colors consistently, e.g. for a color palette.

pattern-colors.jpg

Frontend template: EXT:typo3_styleguide/Resources/Private/Templates/Patterns/Colors.html

Example data:

{
    "colors": [
        {
            "color": "#EAE7E2",
            "label": "cararra"
        },
        {
            "color": "#002337",
            "label": "daintree"
        }
    ]
}

Font

This pattern provides a simple font template that can be used to display available fonts consistently, e.g. for a typography styleguide.

pattern-font.jpg

Frontend template: EXT:typo3_styleguide/Resources/Private/Templates/Patterns/Fonts.html

Example data:

{
    "fonts": [
        {
            "font": "Lexend"
        },
        {
            "font": "Lexend",
            "fontWeight": 700,
            "label": "Lexend 700"
        }
    ]
}

ViewHelpers

This extension provides a collection of TYPO3 ViewHelpers that can be reused in your templates.

See the ViewHelpers documentation for a complete list of available ViewHelpers.

License

This project is licensed under GNU General Public License 2.0 (or later).

统计信息

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

GitHub 信息

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

其他信息

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