Commit 8b4d458a authored by ssp's avatar ssp
Browse files

switch to nkwgok 2.0

parent 157a6d7e
......@@ -198,9 +198,9 @@ class Tx_Pazpar2_Controller_Pazpar2Controller extends Tx_Extbase_MVC_Controller_
}
// Set up JavaScript function that is called by nkwgok if asked to do so.
if ($this->conf['triggeredByNKWGOKMenu']) {
$jsCommand .= 'function nkwgokMenuSelected(option) {
var searchTerm = option.getAttribute("query");
if ($this->conf['triggeredByNKWGOK']) {
$jsCommand .= 'var nkwgokItemSelected = function (element) {
var searchTerm = element.getAttribute("query");
if (searchTerm) {
triggerSearchForForm(undefined, ["(" + searchTerm + ")"]);
}
......
......@@ -34,7 +34,6 @@ plugin.tx_pazpar2 {
# only settable via TypoScript
siteName =
preferSUBOpac = 0
provideCOinSExport = 1
showExportLinksForEachLocation = 0
exportFormats {
......@@ -58,7 +57,6 @@ plugin.tx_pazpar2 {
3.fieldName = title
3.direction = ascending
}
triggeredByNKWGOKMenu = 0
termLists {
xtargets {
......@@ -79,6 +77,7 @@ plugin.tx_pazpar2 {
}
}
triggeredByNKWGOK = 0
showSearchForm = 1
allowExtendedSearch = 1
fulltextSearch = 2
......
......@@ -30,7 +30,7 @@ $EM_CONF[$_EXTKEY] = array(
),
'suggests' => array(
't3jquery' => '1.8.0-',
'nkwgok' => '1.2.0-',
'nkwgok' => '2.0.0-',
),
),
'dependencies' => 'extbase,fluid',
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment