sys_categories 在 TYPO3 中使用 Myleaflet 是什么意思?
What does sys_categories mean using Myleaflet in TYPO3?
我在 TYPO3 版本中安装了扩展程序“Myleaflet”。 10.4.21。
我的前端显示此消息:
在这种情况下,sys_categories 是什么意思,我该如何插入 sys_categories?
我有一些分类,但这不是Myleaflet使用的sys_categories吗?:
无论如何,我也给你看我的constants.ts。可能有一些假代码:
plugin.tx_myleaflet {
view {
# cat=plugin.tx_myleaflet/file; type=string; label=Path to template root (FE)
templateRootPath = EXT:myleaflet/Resources/Private/Templates/
# cat=plugin.tx_myleaflet/file; type=string; label=Path to template partials (FE)
partialRootPath = EXT:myleaflet/Resources/Private/Partials/
# cat=plugin.tx_myleaflet/file; type=string; label=Path to template layouts (FE)
layoutRootPath = EXT:myleaflet/Resources/Private/Layouts/
# customsubcategory=javascript=Javascript
# cat=plugin.tx_myleaflet/javascript; type=boolean; label=Include jQuery core: Add jQuery core script. Turn it off (0), if jQuery is already added.
includejQueryCore = 0
# customsubcategory=css=CSS
# cat=plugin.tx_myleaflet/css; type=string; label=CSS file
cssFile = EXT:myleaflet/Resources/Public/CSS/myleaflet.css
# cat=plugin.tx_myleaflet/javascript; type=string; label=jQuery library
jQueryFile = EXT:myleaflet/Resources/Public/JavaScript/jquery-3.3.1.min.js
# cat=plugin.tx_myleaflet/javascript; type=string; label=Javascript file
javascriptFile = EXT:myleaflet/Resources/Public/JavaScript/myleaflet.js
}
persistence {
# cat=plugin.tx_myleaflet//a; type=string; label=Default storage PID
storagePid = 0
}
settings {
# customsubcategory=leafletmaps=maps
# cat=plugin.tx_myleaflet/leafletmaps; type=int; label=Result page ID: Result page ID
resultPageId = 1
# cat=plugin.tx_myleaflet/leafletmaps; type=int; label=Details page ID: Details page ID
detailsPageId = 1
# cat=plugin.tx_myleaflet/leafletmaps; type=int; label=Single view uid: Uid (not the pageId) for the singleView plugin
singleViewUid = 1
# cat=plugin.tx_myleaflet/leafletmaps; type=int; label=Result limit: Limit of results
resultLimit = 300
# cat=plugin.tx_myleaflet/leafletmaps; type=string; label=Initial map coordinates: Initial map coordinates
initialMapCoordinates = 48,8
# cat=plugin.tx_myleaflet/leafletmaps; type=string; label=Category select mode: [AND|OR] Default OR
categorySelectMode = OR
# cat=plugin.tx_myleaflet/leafletmaps; type=boolean; label=Marker clusterer: Enables the marker clusterer
enableMarkerClusterer = 0
# cat=plugin.tx_myleaflet/leafletmaps; type=string; label=Default languageUid: Use 0 in multi language sites to override selected language in Frontend and if tt_adress record are not localized. Leave it blank to use TYPO3 localization.
defaultLanguageUid = 0
}
}
另外,我意识到Myleaflet的手册文件结构和扩展之一。
其他地方没有数据文件。也许我应该忽略这本手册?已经看不下去了....
我参考了这些网站,但我找不到它们...
我的传单:
https://docs.typo3.org/p/wsr/myleaflet/1.2/en-us/AdministratorManual/Index.html
系统类别:
https://docs.typo3.org/m/typo3/reference-coreapi/10.4/en-us/ApiOverview/Categories/Index.html
我对编程和 TYPO3 的了解不够。
我希望你能帮助我轻松解释。谢谢。
在 中,您发布了一个文档部分,上面写着:
The data of tt_address and sys_categories is stored in page Data. Insert in the constant editor the correct “Default storage PID” of the tt_address records
您显然需要 sys_categories 在与地址记录相同的系统文件夹中。
我在 TYPO3 版本中安装了扩展程序“Myleaflet”。 10.4.21。 我的前端显示此消息:
在这种情况下,sys_categories 是什么意思,我该如何插入 sys_categories?
我有一些分类,但这不是Myleaflet使用的sys_categories吗?:
无论如何,我也给你看我的constants.ts。可能有一些假代码:
plugin.tx_myleaflet {
view {
# cat=plugin.tx_myleaflet/file; type=string; label=Path to template root (FE)
templateRootPath = EXT:myleaflet/Resources/Private/Templates/
# cat=plugin.tx_myleaflet/file; type=string; label=Path to template partials (FE)
partialRootPath = EXT:myleaflet/Resources/Private/Partials/
# cat=plugin.tx_myleaflet/file; type=string; label=Path to template layouts (FE)
layoutRootPath = EXT:myleaflet/Resources/Private/Layouts/
# customsubcategory=javascript=Javascript
# cat=plugin.tx_myleaflet/javascript; type=boolean; label=Include jQuery core: Add jQuery core script. Turn it off (0), if jQuery is already added.
includejQueryCore = 0
# customsubcategory=css=CSS
# cat=plugin.tx_myleaflet/css; type=string; label=CSS file
cssFile = EXT:myleaflet/Resources/Public/CSS/myleaflet.css
# cat=plugin.tx_myleaflet/javascript; type=string; label=jQuery library
jQueryFile = EXT:myleaflet/Resources/Public/JavaScript/jquery-3.3.1.min.js
# cat=plugin.tx_myleaflet/javascript; type=string; label=Javascript file
javascriptFile = EXT:myleaflet/Resources/Public/JavaScript/myleaflet.js
}
persistence {
# cat=plugin.tx_myleaflet//a; type=string; label=Default storage PID
storagePid = 0
}
settings {
# customsubcategory=leafletmaps=maps
# cat=plugin.tx_myleaflet/leafletmaps; type=int; label=Result page ID: Result page ID
resultPageId = 1
# cat=plugin.tx_myleaflet/leafletmaps; type=int; label=Details page ID: Details page ID
detailsPageId = 1
# cat=plugin.tx_myleaflet/leafletmaps; type=int; label=Single view uid: Uid (not the pageId) for the singleView plugin
singleViewUid = 1
# cat=plugin.tx_myleaflet/leafletmaps; type=int; label=Result limit: Limit of results
resultLimit = 300
# cat=plugin.tx_myleaflet/leafletmaps; type=string; label=Initial map coordinates: Initial map coordinates
initialMapCoordinates = 48,8
# cat=plugin.tx_myleaflet/leafletmaps; type=string; label=Category select mode: [AND|OR] Default OR
categorySelectMode = OR
# cat=plugin.tx_myleaflet/leafletmaps; type=boolean; label=Marker clusterer: Enables the marker clusterer
enableMarkerClusterer = 0
# cat=plugin.tx_myleaflet/leafletmaps; type=string; label=Default languageUid: Use 0 in multi language sites to override selected language in Frontend and if tt_adress record are not localized. Leave it blank to use TYPO3 localization.
defaultLanguageUid = 0
}
}
另外,我意识到Myleaflet的手册文件结构和扩展之一。
其他地方没有数据文件。也许我应该忽略这本手册?已经看不下去了....
我参考了这些网站,但我找不到它们...
我的传单: https://docs.typo3.org/p/wsr/myleaflet/1.2/en-us/AdministratorManual/Index.html
系统类别: https://docs.typo3.org/m/typo3/reference-coreapi/10.4/en-us/ApiOverview/Categories/Index.html
我对编程和 TYPO3 的了解不够。 我希望你能帮助我轻松解释。谢谢。
在
The data of tt_address and sys_categories is stored in page Data. Insert in the constant editor the correct “Default storage PID” of the tt_address records
您显然需要 sys_categories 在与地址记录相同的系统文件夹中。