DEPRECATION WARNING
This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.
EXT: My Extension¶
Author: | Kasper Skårhøj |
---|---|
Created: | 2002-11-01T00:32:00 |
Changed by: | Chris |
Changed: | 2007-03-27T18:07:40 |
Author: | Author Name |
Email: | your@email.com |
Info 3: | |
Info 4: |
Accessible browse results for indexed search¶
Extension Key: accessible_is_browse_results
Copyright 2007, Frédéric Petit, Christophe Deleury, <contact@oblady.com>
This document is published under the Open Content License
available from http://www.opencontent.org/opl.shtml
The content of this document is related to TYPO3
- a GNU/GPL CMS/Framework available from www.typo3.com
Table of Contents¶
Accessible browse results for indexed search 1
Introduction 1
What does it do? 1
Screenshots 1
Users manual 2
Administration 2
Configuration 2
Reference 2
Known problems 3
To-Do list 3
Changelog 3
Introduction¶
What does it do?¶
- Makes browse results links for indexed search accessible : reformat links without JavaScript - sends indexed search parameters via URL - adds title attribute to A tag.
- Modifies page results title according to search sword and result page.
- Adds configuration option (boolean / default=1 - as in original plugin) for indexing page meta description & meta keywords.
- Provides typoscript options for HTML rendering of the page browser
- A script comes with the extension which modifies "to top" link in order to work properly.
Screenshots¶
Search page: normal title
Search results – page 1 title:
Links in results browser look like this:
Search results – page 2:
Users manual¶
Import and install the extension using the Extension Manager.
Set the page containing the plugin indexed search to “no_cache”.
Use your own settings via the Constant editor.
“To top” links¶
If you are using a “to top” link in your search results page, you will have to add a little typoscript to the page in order to make your top link work correctly. Here is an example :
lib.imgtop=IMAGE
lib.imgtop {
file=fileadmin/img/top.png
altText=Top
stdWrap.typolink.parameter=#top
stdWrap.typolink.title=Haut de page
}
In this example we use an image wrapped by a typolink to make the top link.
To make it work in your search results page, just add this line :
lib.imgtop.stdWrap.typolink.additionalParams.postUserFunc=user_is_functions->add_totop_params
Note: this option only works if your top link is made via t.ypolink
Administration¶
The whole configuration of the plugin is available through the constant editor. Please see the configuration section for more details.
Configuration¶
Reference¶
pageTitleAdd¶
Property
pageTitleAdd
Data type
string
Description
Text added in page title before search input sword
Default
Results for:
pageTitlePage¶
Property
pageTitlePage
Data type
string
Description
Text added in page title between search input sword and page result number
Default
Page
addDescriptionToIndex¶
Property
addDescriptionToIndex
Data type
boolean
Description
Option for enabling indexing of page meta keywords (destination table: index_fulltext)
This text, extracted from index_fulltext is shown in page results if plugin.tx_indexed_search.extResume = 1, which is by default
Default
1
addKeywordsToIndex¶
Property
addKeywordsToIndex
Data type
boolean
Description
Option for enabling indexing of page meta keywords (destination table: index_fulltext)
This text, extracted from index_fulltext is shown in page results if plugin.tx_indexed_search.extResume = 1, which is by default
Default
1
topBrowserWrap¶
Property
topBrowserWrap
Data type
wrap
Description
Wraps message “Displaying results x to y out of z” and top page browser all together.
Default value is the same as in the original plugin.
Default
<div class="tx-indexedsearch-browsebox">|</div>
browseBoxWrap¶
Property
browseBoxWrap
Data type
wrap
Description
Wrap for both browse results boxes.
Default value is the same as in the original plugin.
Default
<ul class="browsebox">|</ul>
pageWrap¶
Property
pageWrap
Data type
wrap
Description
Wraps individual links in page browsers.
Default value is the same as in the original plugin.
Default
<li>|</li>
activePageWrap¶
Property
activePageWrap
Data type
wrap
Description
Wraps current link in page browsers.
Default value is the same as in the original plugin.
Default
<li class="tx-indexedsearch-browselist- currentPage"><strong>|</strong></li>
[plugin.tx_indexedsearch]
Known problems¶
- None at the time.
To-Do list¶
- Don't know yet.