meilisearch/Configuration/TypoScript/Examples/Ajaxify/setup.typoscript

40 lines
1.0 KiB
Plaintext
Raw Normal View History

2021-04-17 00:26:33 +02:00
# Ajaxify the results
tx_meilisearch_ajaxPage = PAGE
tx_meilisearch_ajaxPage {
typeNum = 7383
config {
disableAllHeaderCode = 1
xhtml_cleaning = 0
admPanel = 0
additionalHeaders.10.header = Content-type: text/plain
no_cache = 0
}
10 = USER
10 {
userFunc = TYPO3\CMS\Extbase\Core\Bootstrap->run
2021-04-17 21:20:54 +02:00
extensionName = Meilisearch
2021-04-17 00:26:33 +02:00
pluginName = pi_results
2021-04-17 21:20:54 +02:00
vendorName = WapplerSystems
2021-04-17 00:26:33 +02:00
controller = Search
action = results
switchableControllerActions {
Search {
1 = results
2 = form
}
}
view < plugin.tx_meilisearch.view
persistence < plugin.tx_meilisearch.persistence
settings < plugin.tx_meilisearch.settings
}
}
page.includeJSFooterlibs {
2021-04-17 21:20:54 +02:00
meilisearch-jquery = EXT:meilisearch/Resources/Public/JavaScript/JQuery/jquery.min.js
meilisearch-uri = EXT:meilisearch/Resources/Public/JavaScript/JQuery/URI.min.js
meilisearch-uri-jquery = EXT:meilisearch/Resources/Public/JavaScript/JQuery/jquery.URI.min.js
meilisearch-ajaxify = EXT:meilisearch/Resources/Public/JavaScript/search_controller.js
2021-04-17 00:26:33 +02:00
}