Project

General

Profile

Actions

Feature #19465

closed

Epic #65814: Make Indexed search extbase plugin shine

Configuration enhancement for indexed_search

Added by Steffen Kamper over 15 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Indexed Search
Target version:
-
Start date:
2005-08-04
Due date:
% Done:

100%

Estimated time:
(Total: 0.00 h)
PHP Version:
5.3
Tags:
Complexity:
Sprint Focus:

Description

For a client project i needed some more advanced Configuration of the output of indexed_search.
This was not possible with actual version of indexed_search because
  • templating was not consequent, there were still hardcoded HTML-output
  • pagebrowser was not configurable and not templated
  • complete search result was not configurable
    Also it was not possible to split the output and display in different parts of the page. I added a new plugin which uses indexed_search in a special way using only the form, so search is't done multiple times. The new plugin is a virtual one that calls indexed_search with a special configuration, which can be used with Typoscript or as Content Element on page.

I added flexforms to both plugins so it is possible to use indexed_search without additional Typoscript.

Here is an overview of the implemented changes. I configured them to the default output which is the same as actual,
the only change of defaults are
  • link for extended Searchform set to 0
  • standard template is the CSS-version
  • css-template has new sections: browsebox top, browsebox bottom, main tamplate for search results

CHANGE OF FUNCTIONALITY:
none

CHANGE OF CONFIGURATION:
A new plugin was added: Searchbox for indexed search.
This makes it possible to use it also as a global searchbox on the site. There is no more need to use an extra plugin like macina search or creating a form by yourself.

This is how it's done in Typoscript:
plugin.tx_indexedsearchbox < plugin.tx_indexedsearch
plugin.tx_indexedsearchbox.code = form

following Typoscript-vars are added

#the target page for the searchform where are the results displayed
resultPid =
#what to display
code = form,rules,results
  1. Display the searchword in results, like: Search for "searchword"
    whatIs_stdWrap {
    wrap = <div class="tx-indexedsearch-whatis">|</div>
    }
    searchWord_stdWrap {
    wrap = <span class="tx-indexedsearch-sw">"|"</span>
    }
  1. Paging
    defaultResultsProPage = 10
    pageBrowser {
    doNotLinkCurrent = 1
    general_stdWrap {
    wrap = <ul class="browsebox">|</ul>
    }
    previous_stdWrap {
    wrap = <li>|</li>
    }
    next_stdWrap {
    wrap = <li>|</li>
    }
    pages_stdWrap {
    wrap = <li>|</li>
    }
    current_stdWrap {
    wrap = <li class="tx-indexedsearch-browselist-currentPage"><strong>|</strong></li>
    }
    pageLinks_stdWrap {
    preCObject = TEXT
    preCObject.dataWrap = {LLL:EXT:indexed_search/pi/locallang.xml:pi_list_browseresults_page}
    preCObject.noTrimWrap = | ||
    }
    }
CHANGE IN TEMPLATE
3 sections are added
  • section for top browsebox
  • section for bottom browsebox
  • section for the complete results output

Remember when change settings in typoscript of plugin.tx_indexedsearch to repeat the copy for this plugin.

I tried to describe the patch in detail so please test it, i hope you enjoy the enhancement.
(issue imported from #M9574)


Files

indexed_search_pluginconfiguration_v4.diff (30 KB) indexed_search_pluginconfiguration_v4.diff Administrator Admin, 2009-03-03 14:01
indexed_search_pluginconfiguration_v4_flexforms.diff (2.36 KB) indexed_search_pluginconfiguration_v4_flexforms.diff Administrator Admin, 2009-03-03 14:01
manual.sxw (43.9 KB) manual.sxw Administrator Admin, 2009-03-03 14:02
is_searchbox_plugin.png (41.2 KB) is_searchbox_plugin.png Administrator Admin, 2009-03-03 14:02
is_plugin.png (46.4 KB) is_plugin.png Administrator Admin, 2009-03-03 14:03
0009574_v7.patch (47.7 KB) 0009574_v7.patch Administrator Admin, 2009-11-06 14:52

Subtasks 5 (0 open5 closed)

Bug #20875: The descriptionlength and other parameters are hardcoded for listviewClosed2009-08-13

Actions
Feature #20421: Unflexible Output of ResultbrowserClosed2009-05-14

Actions
Feature #14902: indexed_search: Results navigation relies on JavaScriptClosed2005-08-04

Actions
Feature #47613: indexed_search / no_cache should be configurable for forwardSearchWordsInResultLinkClosed2013-04-26

Actions
Feature #23156: Slash is hard–coded in the page pathClosed2010-07-12

Actions

Related issues 4 (0 open4 closed)

Related to TYPO3 Core - Bug #14569: Localization in Advanced searchClosed2005-02-22

Actions
Related to TYPO3 Core - Bug #16794: Disable section name link and eliminate wrong link formatClosed2006-12-17

Actions
Related to TYPO3 Core - Bug #16386: missing wrap for results listClosed2006-07-20

Actions
Has duplicate TYPO3 Core - Feature #19171: better configurable Templates (like ch_is_templates)Closed2008-07-30

Actions
Actions

Also available in: Atom PDF