hn / 术语表一
术语表扩展。
v1.1.6
2019-08-09 11:55 UTC
Requires
- hn/post-parser: >=1.0
- typo3/cms-core: >=8.7 <=8.9.99
This package is auto-updated.
Last update: 2024-09-16 13:02:34 UTC
README
一个使用内容元素描述术语的TYPO3术语表扩展。此外,它还能够解析页面以查找术语并将它们链接到详细视图页面。
安装
- 在扩展管理器中安装并激活扩展
- 创建一个列表页面,一个详细页面(可选,您也可以使用列表页面作为详细页面)
and a folder, where the terms are stored
- 将术语表插件添加到列表和详细页面
- 将静态TypoScript添加到您的网站模板
- 使用模板中的常量编辑器配置必要的uids
- 在文件夹中创建术语
截图
配置
- 您可以在常量中配置几个选项,例如定义要解析的标签。
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
}
}