psvneo/typo3-extension-cb_kesearch_indexer

Extends ke_search with the possibility to index 'Content Blocks'

Installs: 2

Dependents: 0

Suggesters: 0

Security: 0

Type:typo3-cms-extension

0.9.0 2023-11-15 15:33 UTC

This package is auto-updated.

Last update: 2024-04-15 16:55:42 UTC


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