【发布时间】:2018-11-30 09:46:24
【问题描述】:
我目前正在尝试使用 TYPO3 中的 Solr 索引新的 IRRE ContentElements。
我有多个新元素,例如“瓷砖”和“横幅”等。
我的索引队列看起来像这样,但它不起作用(solr 需要最少的字段 -> 标题、内容和 url - 但我不想要新的 url,我想要当前显示内容的页面中的 url ...就像每个文本/图像元素或来自 tt_content 的标准元素。
我的 solr 配置如下所示:
plugin.tx_solr.index.queue {
extname_tile = 1
extname_tile {
table = tx_extname_domain_model_tile
fields {
header = header
bodytext = bodytext
}
}
}
我的 tt_content 覆盖看起来像这样
'tx_extname_tile' => [
'label' => 'LLL:EXT:extname/Resources/Private/Language/locallang_db.xlf:tx_extname_tile',
'config' => [
'type' => 'inline',
'foreign_table' => 'tx_extname_domain_model_tile',
'foreign_field' => 'parentid',
'foreign_table_field' => 'parenttable',
'appearance' => [
'collapseAll' => 1,
'expandSingle' => 1,
'useSortable' => 1,
'showSynchronizationLink' => 1,
'showAllLocalizationLink' => 1,
'showPossibleLocalizationRecords' => 1,
'showRemovedLocalizationRecords' => 1,
],
'maxitems' => 24,
'behaviour' => [
'localizeChildrenAtParentLocalization' => true,
],
]
],
【问题讨论】:
标签: solr typo3 typoscript extbase