Download the PHP package rkl/autocomplete-for-indexedsearch without Composer

On this page you can find all versions of the php package rkl/autocomplete-for-indexedsearch. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package autocomplete-for-indexedsearch

TYPO3 12 TYPO3 13 TYPO3 14 PayPal

TYPO3 Extension: Autocomplete for IndexedSearch

This extension adds autocomplete functionality to TYPO3 indexed search fields.

Features

Installation

The recommended way to install Autocomplete for IndexedSearch is by using Composer:

Setup

1. Include the extension configuration

Option 1: Configuration via Site Set (requires TYPO3 v13 or later)

  1. Go to Site Management -> Sites
  2. Edit your site configuration
  3. In "Sets for this Site", include the "Autocomplete for Indexed Search" set.

Option 2: Configuration via TypoScript set

  1. Go to Site Management -> TypoScript
  2. Open your TypoScript template and click "Edit the whole TypoScript record"
  3. In the tab "Advanced Options", include the TypoScript set: "Autocomplete for Indexed Search (autocomplete_for_indexedsearch)"

2. Override the Form.html template from indexed_search

  1. Copy the partial from EXT:indexed_search/Resources/Private/Partials/Form.html to your own site package, for example to EXT:my_sitepackage/Resources/Private/IndexedSearch/Partials/Form.html
  2. Add your partial root path to the plugin configuration of Indexed Search in the TypoScript of your site package:

3. Place the ViewHelper to render suggestions

Add the ViewHelper <rkl:autocompleteSuggestions /> to your overridden Form.html. It renders the container in which suggestions will be displayed.

Add the ViewHelper wherever it suits your styling needs the best. Ideally it's placed close to the search field. Also remember to add the namespace RKL/AutocompleteForIndexedSearch/ViewHelpers like shown in the example.

ViewHelper attributes

The autocompleteSuggestions ViewHelper provides the following attributes to manipulate the behavior of the autocomplete suggestions:

Attribute Allowed values Description
searchonclick bool (0/1) defines whether to instantly submit the search form when a suggestion is clicked
minlength int minimum string length of the search term for autocompletion to start

Optional: Add a Route Enhancer

For prettier autocomplete URLs you can add the autocomplete page type to your routeEnhancers:

MySQL fulltext search

This extension relies on the index tables created by indexed_search. It does not work if the "Use MySQL specific fulltext search" (basic.useMysqlFulltext) configuration is enabled.

Links

URL
Repository: https://github.com/RKlingler/autocomplete_for_indexedsearch/
TER: https://extensions.typo3.org/extension/autocomplete_for_indexedsearch
Packagist: https://packagist.org/packages/rkl/autocomplete-for-indexedsearch

Sponsorships

PayPal: www.paypal.me/rukling


All versions of autocomplete-for-indexedsearch with dependencies

PHP Build Version
Package Version
Requires typo3/cms-core Version ^12.4 || ^13.4 || ^14.0
typo3/cms-extbase Version ^12.4 || ^13.4 || ^14.0
typo3/cms-fluid Version ^12.4 || ^13.4 || ^14.0
typo3/cms-frontend Version ^12.4 || ^13.4 || ^14.0
typo3/cms-indexed-search Version ^12.4 || ^13.4 || ^14.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package rkl/autocomplete-for-indexedsearch contains the following files

Loading the files please wait ...