kitzberger/indexed-search-autocomplete

Installs: 660

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 8

Type:typo3-cms-extension

1.0.8 2020-10-20 11:53 UTC

This package is auto-updated.

Last update: 2021-03-20 17:20:59 UTC


README

Extends the TYPO3 Core Extension Indexed_Search searchform with an autocomplete feature.

Minimal Dependencies

  • TYPO3 CMS 8.7.x
  • PHP 7.x
  • Jquery 1.x

Quick Install Guide

Install the TYPO3 Core indexed_search extensions

Step 0: The extension works with the TYPO3 Core indexed_search extension. So please install and configure this one first.

Step 1: Install this plugin.

Step 2: Find the fluid file that contains the text-input for the search-word.

Step 3: Add the class '.indexed-search-autocomplete-sword' to this text-input.

Step 4: Now add the following line where you want the results to be displayed (so in most of the cases below the text-input):

<div class="search-autocomplete-results  no-results" data-mode="word" data-searchonclick="false" data-maxresults="10" data-minlength="2" data-searchurl="{f:uri.action(action: 'search', pageType: '7423794', noCache: 1, noCacheHash: 1, extensionName: 'indexedSearchAutocomplete', controller: 'Search')}"></div>

Step 5: Now you can configure the plugins options with the parameters of that

(see options)

Additional: Make sure to disable Indexed-Search option "Use MySQL specific fulltext search", otherwise the word-suggestion won't work.

Options

  • Enable or Disable the JQuery-Source in the Extension Settings. (Backend -> Extension-Settings)
  • data-mode="word" => the following values are possible: word or link. Depending on which option the plugin suggests either words or links while typing. You can edit both template files unter indexed_search_autocomplete/Resources/Private/Partials/ (Fluid)
  • data-maxresults="10" => The amount of entrys a suggetion can have max. (Fluid)
  • data-minlength="2" => how many characters have to be in the input-box for the plugin to make it's first suggestion. (Fluid)
  • data-searchonclick="false" => If one selects a suggestion, may this submit the form (so basically the search starts after one has selected a word). Possible values are "false" or "true".

Contact & Communication

GIT

We are on github:
https://github.com/ingeniumdesign/indexed_search_autocomplete/

Agency

INGENIUMDESIGN
TYPO3 - Internetagentur
In der Eisenbach 22
65510 Idstein

https://www.ingeniumdesign.de/
info@ingeniumdesign.de

Donate

Amazon: https://www.amazon.de/hz/wishlist/ls/13RT2BFNRP05
PayPay: www.paypal.me/INGENIUMDESIGN/

Used by

We are searching for LIVE-References or Live-Examples for the TYPO3 indexed_search Autocomplete Extension.
Please be so kind to send us an E-Mail if you're using it. Thanks!

Links/References:

https://www.takeoffmedia.de/ - by INGENIUMDESIGN
https://www.easy-sprachreisen.de/ - by INGENIUMDESIGN
https://www.wirtschaft-macht-klimaschutz.de/ - by wilhelm innovative medien GmbH
https://www.radprax.de/ - by wilhelm innovative medien GmbH