beewilly / hive_poi
SVG 图形上的兴趣点元素
4.0.2
2023-05-05 13:03 UTC
Requires
- typo3/cms-core: ^11.5
Replaces
- typo3-ter/hive-poi: 4.0.2
README
HIVE兴趣点(POI)
一个SVG图形上的兴趣点元素
本版本支持TYPO3
Composer支持
composer req beewilly/hive_poi
SVG需求
- 要使用的对象必须有唯一的id和“poi”类
如何使用
- 安装扩展
"beewilly/hive_poi": "*"
并在 hive_thm_custom 之前将其包含在根模板中 - 获取包含要使用对象的SVG图形,这些对象必须具有唯一的id和“poi”类
- 覆盖模板
- 对模板进行调整
- 对样式进行调整
- 使用内容元素 HIVE / HIVE兴趣点(POI)
代码示例
覆盖模板
plugin.tx_hivepoi {
view {
templateRootPaths >
templateRootPaths {
0 = EXT:hive_poi/Resources/Private/Templates/
10 = EXT:hive_thm_custom/Resources/Private/Overrides/hive_poi/Templates/
}
}
}
变更日志
- 1.0.7: 添加德语翻译