psvneo / typo3-extension-cb_kesearch_indexer
Extends ke_search with the possibility to index 'Content Blocks'
0.9.0
2023-11-15 15:33 UTC
Requires
- tpwd/ke_search: ^5.0
- typo3/cms-core: ^12.4
Requires (Dev)
- psvneo/qa-toolset-t3: ^2.0
README
An tpwd/ke_search indexer for contentblocks/content-blocks that are using collections.
Content blocks that use a collection store the data in an external table. This extension can be used to index this data.
Installation
Just install. It hooks up in page-/content-indexer.
composer require psvneo/typo3-extension-cb_kesearch_indexer
Configuration
In your 'Indexer Configuration' for pages add the CType of the content element to be indexed. Than create of YAML file in the folder 'config/extensions/cb_kesearch_indexer' named 'config.yaml'.
A separate setting must be created in the configuration for each content element that uses a collection.
YAML Template
version: 1 # version of this config file
content_blocks:
vendor_contentelement: # TYPO3 CType of the content element
tt_content_field: custom_field_name # created field in tt_content table
collection_table: custom_table_name # table that is used with the collection
collection_content: # fields that should be added to the ke_search index
- customtitlefield
- customtextfield
Kudos
Inspired by mask_kesearch_indexer