简体   繁体   English

TYPO3 ke_search 用于手风琴、卡片等的自定义索引器(来自 bootstrap_package 的所有元素)?

[英]TYPO3 ke_search custom indexer for accordions, cards etc. (all elements from bootstrap_package)?

Is there a simple way to write an indexer for all bootstrap_package elements (part of the introduction distribution) or do I have to write one for each element?有没有一种简单的方法可以为所有 bootstrap_package 元素(介绍分发的一部分)编写索引器,还是我必须为每个元素编写一个索引器? I'd be happy for some hints.我很乐意提供一些提示。

Normally you don't index each content element, but the whole page.通常你不会索引每个内容元素,而是整个页面。

You index each record of a table, if those records have multiple kinds of display which are not included in one page each (like list view and detail view).如果这些记录有多种显示方式,但不包括在一个页面中(如列表视图和详细视图),则您索引表的每条记录。

In general complex page elements like accordions, tabs or cards are rendered as plain text and some javascript (and CSS) rebuild the display to hide it partially.通常复杂的页面元素,如手风琴、选项卡或卡片呈现为纯文本,一些 javascript(和 CSS)重建显示以部分隐藏它。 In this way the whole content can be indexed (but might be not visible directly if the page is called).通过这种方式,整个内容都可以被索引(但如果页面被调用,则可能不直接可见)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM