定制 tpwd/ke_search_hooks 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

tpwd/ke_search_hooks

最新稳定版本:v5.1.0

Composer 安装命令:

composer require tpwd/ke_search_hooks

包简介

Hooks example for ke_search. Feel free to use this as a kickstarter for your own custom indexer or hooks.

README 文档

README

ke_search_hooks contains an example for extending the TYPO3 ke_search with a custom indexer and other function using the hooks ke_search provides.

Please feel free to use it as a kickstarter for your own indexer.

If you find bugs or want to ask for a feature, please use https://github.com/tpwd/ke_search_hooks/issues

Note: This is the version for ke_search version 4 and above. (The namespace of ke_search has changed in version 4.)

Included examples

The hooks are registered in the file ext_localconf.php and point to the PHP class which implements the function itself.

  • Custom Indexer: Indexes records from the extension "News" (ext:news)
  • Hook for addtional content fields: Indexes additional fields from the tt_content table, e.g. the subheader
  • Hook for a check if a content element should be indexed at all
  • Hook to add a custom autosuggest provider (ke_search_premium feature)
  • Hook to add custom values to the result row partial
  • Hook to change the sorting
  • Hook to modify the values of the record which will be stored in the index
  • Hook for a custom filter renderer
  • Hook to register additional fields in the index table
  • Example for showing images of fe_users if you have implemented a fe_users indexer

统计信息

  • 总下载量: 14.29k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2021-09-10