hn/术语表一

术语表扩展。

安装数: 3,367

依赖项: 0

建议者: 0

安全性: 0

类型:typo3-cms-extension

v1.1.6 2019-08-09 11:55 UTC

README

一个使用内容元素描述术语的TYPO3术语表扩展。此外,它还能够解析页面以查找术语并将它们链接到详细视图页面。

安装

  1. 在扩展管理器中安装并激活扩展
  2. 创建一个列表页面,一个详细页面(可选,您也可以使用列表页面作为详细页面)
    and a folder, where the terms are stored
    
  3. 将术语表插件添加到列表和详细页面
  4. 将静态TypoScript添加到您的网站模板
  5. 使用模板中的常量编辑器配置必要的uids
  6. 在文件夹中创建术语

截图

Edit constants

Add new term

Glossary

Parsing terms

配置

  • 您可以在常量中配置几个选项,例如定义要解析的标签。
    By default `<li>` and `<p>`-tags are parsed.
    
  • 在TypoScript setup.txt中,您可以定义如何处理重音符号。
    By default: Ä belongs to A, Ö belongs to O and Ü belongs to U.
    Moreover you can combine 2 or more letters.
    X and Y are combined by default, so words that start with X or Y belong to the same group.
    
termGroups {
    1 {
        name = A
        regex = /ä/iu
    }

    2 {
        name = O
        regex = /ö/iu
    }

    3 {
        name = U
        regex = /ü/iu
    }

    4 {
        name = XY
        regex = /x|y/i
    }
}