TYPO3 indexed_search 不索引页面 [英] TYPO3 indexed_search does not index the page
问题描述
在我的 TYPO3 6.2.31 页面中,我尝试让 indexed_search 工作.
In my TYPO3 6.2.31 page I try to get indexed_search working.
在后端看起来不错,也实现了搜索页面表单.
In Backend it looks good, Search Page form is implemented as well.
问题是页面不会被索引.
Problem is the page will not get indexed.
有什么想法吗?
更新
在模板中我有这个:
<!-- main content anfang -->
<main role="main" class="maininhalt">
<!--TYPO3SEARCH_begin-->
###CONTENTMAIN###
<!--TYPO3SEARCH_end-->
</main>
<!-- main content ende -->
并在排版设置中:
page.config.index_enable = 1
推荐答案
经过 Teamviewer 的一些调查,我们发现了问题:
After some Teamviewer investigations we found the problem:
这是系统中的语言配置引起的.系统只有一种语言,但配置如下:
It was caused by the language configuration in the system. The system only had one language but was configured as the following:
config {
sys_language_uid = 1 // Instead of "0" if there is only one language
sys_language_mode = content_fallback
sys_language_overlay = hideNonTranslated
}
不知何故,这导致 indexed_search 无法索引内容.删除sys_language_mode
和sys_language_overlay
后,索引按预期工作.
Somehow this caused the indexed_search to not index the content. After removing sys_language_mode
and sys_language_overlay
the indexing worked as expected.
这篇关于TYPO3 indexed_search 不索引页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!