Schoen, dass du dich meldest *freu*
Template der Suchbox:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Template file for the"macina_searchbox"extension.</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>
<body>
<h3>Template file for the "macina_searchbox" extension.</h3>
<p><b>Available Markers:</b></p>
<ul>
<li>###HEADLINE### Displays the Headline</li>
<li>###ADVANCED### Advanced Search Link</li>
<li>###SUBMIT### Alttext for the submit button</li>
<li>###ACTLANG### UID of the actual language</li>
<li>###SEARCHPID### PID of the Searchpage</li>
</ul>
<!-- ###TEMPLATE### begin -->
<form action="###SEARCHPID###" method="post" name="searchform" id="searchform">
<table width="100" height="14" border="0" cellpadding="0" cellspacing="0">
<tr>
<td valign="top"> </td>
<td valign="middle"> </td>
</tr>
<tr>
<td align="left" class="inhalt"><input name="tx_indexedsearch[sword]" type="text" width="70" height="18" /> <input name="tx_indexedsearch[submit_button]" type="image" src="fileadmin/images/lupe.gif" />
<input type="hidden" name="tx_indexedsearch[_sections]" value="0" />
<input type="hidden" name="tx_indexedsearch[pointer]" value="0" />
<input type="hidden" name="tx_indexedsearch[ext]" value="0" />
<input type="hidden" name="tx_indexedsearch[lang]" value="###ACTLANG###" /></td>
</tr>
<tr>
<td align="left" valign="middle">###ADVANCED###</td>
<td> </td>
</tr>
</table>
</form>
<!-- ###TEMPLATE### end -->
</body>
</html>
Indexedsearch-Template: (glaub, hat damit nix zu tun)
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Indexed Search Engine example template</title>
</head>
<body>
<h1>INDEXED SEARCH ENGINE TEMPLATES</h1>
<h2>EXAMPLE</h2>
<pre>
<strong>Common markers:</strong>
These are substituted in all indexed search engine templates:
<em>Markers:</em>
SEARCHFORM
RULES
HITS
SWORD
SWORD_PREV
SWPCHECKED
TYPE
DEFOP
MEDIA
LANG
SECTION
ORDER
DESC
RESULTS
GROUP
EXTENDEDRESUME
ADVANCEDSEARCH
SHOWRESULTCOUNT
PREVIOUS
MIDDLE
NEXT
BROWSEBOX1
WHATISSEARCHEDFOR
HITS
BROWSEBOX2
NORESULTS
ICON
RESULTNUMBER
TITLE
RATING
DESCRIPTION
SIZE
CREATED
MODIFIED
ACCESS
LANGUAGE
PATH
DESCRIPTION
SUBROW
EXT
SECHEADANCHOR
SECHEADTITLE
SECHEADCOUNTER
SECTIONLINK
<em>Stylesheets Markers (see sysext/index_search/pi/locallang.xml):</em>
SUBMITSTYLE
SWORDSTYLE
TPARAMS
WHATISSTYLE
LISTSTYLE
PBSTYLE
TITLESTYLE
ICONSTYLE
TCAPTIONSTYLE
PERCENTSTYLE
INFOSTYLE
STYLEDESCRIPTION
INFOSTYLE2
STYLESECHEAD
STYLESECLINKS
TPARAMSSECHEAD
<em>Language Markers (see sysext/index_search/ext_typoscript_setup.txt):</em>
LSEARCHFOR
LADDTOCURRENTSEARCH
LSUBMIT
LFORMMATCH
LSEARCHIN
LFROMSECTION
LORDERBY
LFORMSTYLE
LOTHERMATCHING
</pre>
<h3>TEMPLATE_MAIN</h3>
<em>This subpart is used to display the main page (i.e. default search form + rules + hits + pagebrowser)</em>
<!-- ###MAIN### begin -->
###SEARCHFORM###
###RULES###
###HITS###
<!-- ###MAIN### end -->
<h3>TEMPLATE_DEFAULTSEARCH</h3>
<em>This subpart is used to display the default search form</em>
<!-- ###DEFAULTSEARCH### begin -->
<div ###SEARCHBOXSTYLE###>
<form action="###FORM###" method="post" name="###PREFIXID###" style="margin: 0 0 0 0;">
<table ###TPARAMS###>
<tr>
<td nowrap="nowrap"><p>###LSEARCHFOR### </p></td>
<td><input type="text" name="###PREFIXID###[sword]" value="###SWORD###" ###SWORDSTYLE###> <input type="submit" name="###PREFIXID###[submit_button]" value="###LSUBMIT###" ###SUBMITSTYLE###></td>
</tr>
<tr>
<td></td>
<td>
<input type="hidden" name="###PREFIXID###[sword_prev]" value="###SWORD_PREV###">
<input type="checkbox" name="###PREFIXID###[sword_prev_include] value="1" ###SWPCHECKED###>
###LADDTOCURRENTSEARCH###
</td>
</tr>
<!--###MATCH### begin-->
<tr>
<td nowrap="nowrap"><p>###LFORMMATCH### </p></td><td>###TYPE### ###DEFOP###</td>
</tr>
<!--###MATCH### end-->
<!--###SEARCHIN### begin-->
<tr>
<td nowrap="nowrap"><p>###LSEARCHIN### </p></td><td>###MEDIA### ###LANG###</td>
</tr>
<!--###SEARCHIN### end-->
<!--###FROMSECTION### begin-->
<tr>
<td nowrap="nowrap"><p>###LFROMSECTION### </p></td><td>###SECTION###</td>
</tr>
<!--###FROMSECTION### end-->
<!--###ORDERBY### begin-->
<tr>
<td nowrap="nowrap"><p>###LORDERBY### </p></td><td><p>###ORDER### ###DESC### ###RESULTS###</p></td>
</tr>
<!--###ORDERBY### end-->
<!--###STYLE### begin-->
<tr>
<td nowrap="nowrap"><p>###LFORMSTYLE### </p></td><td><p>###GROUP### ###EXTENDEDRESUME###</p></td>
</tr>
<!--###STYLE### end-->
<input type="hidden" name="###PREFIXID###[_sections]" value="0">
<input type="hidden" name="###PREFIXID###[pointer]" value="0">
<input type="hidden" name="###PREFIXID###[ext]" value="###EXT###">
<input type="hidden" name="###PREFIXID###[_freeIndexUid]" value="_" />
</table>
</form>
<p>
###ADVANCEDSEARCH###
</p>
</div>
<!-- ###DEFAULTSEARCH### end -->
<h3>TEMPLATE_PAGEBROWSER</h3>
This subpart is used to display the pagebrowser
<!-- ###PAGEBROWSER### begin -->
<div ###PBSTYLE###>
<p>
###SHOWRESULTCOUNT###
</p>
<table>
<tr>
<td><p>###PREVIOUS###</p></td>
<!--###CONTENT###-->
<!--###LIST_ITEM###-->
<td ###LISTSTYLE###><p>###MIDDLE###</p></td>
<!--###LIST_ITEM###-->
<!--###CONTENT###-->
<td><p>###NEXT###</p></td>
</tr>
</table>
</div>
<!-- ###PAGEBROWSER### end -->
<h3>TEMPLATE_GETDISPLAYRESULTS</h3>
<em>This subpart is used to display the getDisplayResults (i.e search-hits plus pagebrowser).</em>
<!-- ###GETDISPLAYRESULTS### begin -->
###BROWSEBOX1###
<div ###WHATISSTYLE###><p>###WHATISSEARCHEDFOR###</p></div>
###HITS###
###BROWSEBOX2###
<!--###NORESULTS### begin-->
<p ###NORESULTSSTYLE###>###NORESULTS###</p>
<!--###NORESULTS### end-->
<!-- ###GETDISPLAYRESULTS### end -->
<h3>TEMPLATE_PRINTRESULTROW</h3>
<em>This subpart is used to display the printResultRow (i.e single search-hit row).</em>
<!-- ###PRINTRESULTROW### begin -->
<table ###TPARAMS###>
<tr ###TITLESTYLE###>
<td width="16" ###ICONSTYLE###>###ICON###</td>
<td width="95%" nowrap="nowrap"><p>
<span ###TNUMBERSTYLE###>###RESULTNUMBER###: </span>
<span ###TCAPTIONSTYLE###>###TITLE###</span></p>
</td>
<td nowrap="nowrap"><p ###PERCENTSTYLE###>###RATING###</p></td>
</tr>
<!--###RESUMSECTION###-->
<!--###RS_ITEM###-->
<tr>
<td></td>
<td colspan="2" ###STYLEDESCRIPTION###><p>###DESCRIPTION###</p></td>
</tr>
<tr>
<td></td>
<td ###INFOSTYLE### nowrap="nowrap"><p>###SIZE### - ###CREATED### - ###MODIFIED###<br>
###PATH###</p>
</td>
<td ###INFOSTYLE2### align="right"><p>###ACCESS### ###LANGUAGE###</p>
</tr>
<!--###RS_ITEM###-->
<!--###RESUMSECTION###-->
<!--###HEADERONLY###-->
<!--###HO_ITEM###-->
<tr>
<td></td>
<td colspan="2" ###STYLEDESCRIPTION###><p>###DESCRIPTION###</p></td>
</tr>
<!--###HO_ITEM###-->
<!--###HEADERONLY###-->
<!--###SUBROWTITLE###-->
<!--###SR_TITLE###-->
<tr>
<td></td>
<td colspan="2"><p><br>###LOTHERMATCHING###<br><br><p></td>
</tr>
<!--###SR_TITLE###-->
<!--###SUBROWTITLE###-->
<!--###SUBROWS###-->
<!--###SR_ITEM###-->
<tr>
<td></td>
<td colspan="2"><p>###SUBROW###</p></td>
</tr>
<!--###SR_ITEM###-->
<!--###SUBROWS###-->
</table>
<!-- ###PRINTRESULTROW### end -->
<h3>TEMPLATE_SECTIONHEADER</h3>
<em>This subpart is used to display the SectionHeader.</em>
<!-- ###SECTIONHEADER### begin -->
<div ###STYLESECHEAD###>
<a name="###SECHEADANCHOR###"></a>
<table ###TPARAMSSECHEAD###>
<tr>
<td width="95%"><h2>###SECHEADTTITLE###</h2></td>
<td align="right" nowrap="nowrap"><p>###SECHEADCOUNTER###</p></td>
</tr>
</table>
</div>
<!-- ###SECTIONHEADER### end -->
<h3>TEMPLATE_SECTIONSLINKS</h3>
<em>This subpart is used to display the printResultSectionLinks.</em>
<!-- ###SECTIONSLINKS### begin -->
<div ###STYLESECLINKS###>
<ul>
<!--###CONTENT###-->
<!--###LIST_ITEM###-->
<li>###SECTIONLINK###</li>
<!--###LIST_ITEM###-->
<!--###CONTENT###-->
</ul>
</div>
<!-- ###SECTIONSLINKS### end -->
</body>
</html>
TS um die Box einzubinden:
SUCHE >
SUCHE < plugin.tx_macinasearchbox_pi1
SUCHE {
pidSearchpage = 51
}
TS für die Indexierte Suche:
#indexed search
plugin.tx_indexedsearch {
search.rootPidList=36
#erweiterte Suche abschalten
show.advancedSearchLink = 1
#standardmässig mit 'Wortteil' suchen statt mit ganzem Wort
_DEFAULT_PI_VARS.type = 1
#Anzeige regeln, ein- (1) bzw. ausgeblendet (0)
show {
# Suchregeln
rules = 0
# Erstellungsinformationen des Hashes
parsetimes=1
# Zweite ebene im Bereichs-dropdown anzeigen
L2sections=1
# Erste ebene im Bereichs-dropdown anzeigen
L1sections=1
# Alle "nicht im menü" oder "im menü verstecken" (aber nicht "versteckte" seiten) mit anzeigen in section?
LxALLtypes=0
# leeren des Suchfeldes nach suche
clearSearchBox = 0
# Aktuelles Suchwort zu den bisherigen Suchwörtern hinzufügen
clearSearchBox.enableSubSearchCheckBox=0
}
# die Auswahlfelder für die Suchparameter werden ein- (0) bzw. ausgeblendet (1)
blind {
# Suchtyp (Ganzes, Wort, Wortteil, ..)
type=0
# default option (Und, Oder)
defOp=0
# Bereich(e) der website
sections=0
# Suche in Medientypen
media=0
# Sortierung
order=0
# Ansicht (Sektionshierachie / Liste)
group=0
# Sprachwahlbox
lang=0
# Auswahl Sortierung
desc=0
# Ergebnisse (Anzahl der Treffer pro Seite)
results=0
# Ansicht: Erweiterte Vorschau
extResume =0
}
}
plugin.tx_indexedsearch.forwardSearchWordsInResultLink = 1
Das war bestimmt zu viel geposte, aber nu ist alles da, denke ich
Vielen, vielen Dank