2017 © Pedro PelĂĄez
 

typo3-cms-extension sz-quickfinder

SzQuickfinder - Quickfinder Plugin der sunzinet AG

image

sunzinet/sz-quickfinder

SzQuickfinder - Quickfinder Plugin der sunzinet AG

  • Thursday, June 14, 2018
  • by sunzinet
  • Repository
  • 2 Watchers
  • 1 Stars
  • 1,306 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 4 Open issues
  • 8 Versions
  • 32 % Grown

The README.md

sunzinet/sz-quickfinder

Installation

  1. Run shell composer req sunzinet/sz-quickfinder
  2. Activate sz-quickfinder in the Extens**ionmanager
  3. Include TypoScript
  4. Include sz-quickfinder in your template. Example:
lib.contents {
  pageSearch =< lib.tx_szquickfinder
}

Settings:

Type Default
homePageUid integer 2
searchPid integer 140
newsPid integer 28
regEx string %|%
maxResults integer 3
includeNavHiddenPages bool false
orderBy string uid
ascending bool true
customSearch
class string
searchFields searchFields
blacklistPid string

All settings can be overridden in 'customSearch' section., (*1)

Important notes:

It's required to give a data-attribute to the body-tag called "data-languid" with the current sys_language_uid to make multilingualism work., (*2)

page {
  bodyTagCObject = COA
  bodyTagCObject {
    10 = TEXT
    10.value = default
    10.stdWrap.noTrimWrap = |language-| |

    stdWrap.trim = 1
    stdWrap.dataWrap = <body class="|" data-languid="{sitelanguage:languageId}">
  }
}

Known problems:

  • Autocomplete doesn't work correctly on detail pages (e.g. tx_news). Workaround: Set $GLOBALS['TYPO3_CONF_VARS']['FE']['pageNotFoundOnCHashError'] = false
  • Search won't be executed on any page if pageNotFoundOnCHashError activated. Use $GLOBALS['TYPO3_CONF_VARS']['FE']['cacheHash']['excludedParameters']

PHPUnit Tests:

composer install
./vendor/bin/phpunit -c Tests/phpunit.xml

Todos:

  • Redesign interfaces for example:
    • interface SearchResult
    • interface PageResult implements SearchResult
    • interface FileResult implements SearchResult
    • interface NewsResult implements SearchResult

The Versions

07/03 2017

3.1.0

3.1.0.0

SzIndexedSearch - Autocomplete Plugin der sunzinet AG

  Sources   Download

MIT

The Development Requires

26/07 2016

3.0.1

3.0.1.0

SzIndexedSearch - Autocomplete Plugin der sunzinet AG

  Sources   Download

MIT

The Development Requires

07/03 2016

3.0.0

3.0.0.0

SzIndexedSearch - Autocomplete Plugin der sunzinet AG

  Sources   Download

MIT

The Development Requires