定制 tollwerk/tw-icons 二次开发

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

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

tollwerk/tw-icons

最新稳定版本:v1.0.0

Composer 安装命令:

composer require tollwerk/tw-icons

包简介

Provide Icon-ViewHelper for including SVG icons in Fluid Templates

关键字:

README 文档

README

Provides a ViewHelper to render SVG-Icons from a configurable source folder.

Installation

  1. Install the extension with composer.

    composer require tollwerk/tw-icons
    
  2. Include the TypoScript template "Tollwerk SVG-Icons" into your root TypoScript template.

  3. Set plugin.tx_twicons.settings.iconRootPath to the public folder where your SVG-Icons are stored.

Usage

Use the following ViewHelper to render Icons.

<!-- Will use the file "MyIconName.svg" and render that icon. -->
<twicons:icon icon="MyIconName" />

ViewHelper arguments

debug bool, optional, default = true If true and there is no file for the given icon (see argument "icon", below), a HTML comment like <!-- Unknown SVG icon "IconName.svg" --> will be returned instead.

icon string, required Name of the SVG icon file found inside the folder defined by plugin.tx_twicons.settings.iconRootPath. So "Web" will be resolved to "Web.svg" or "web.svg".

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: LGPL-3.0-or-later
  • 更新时间: 2026-03-28

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固