page.10.marks.searchbox< plugin.tx_macinasearchbox_pi1
plugin.tx_macinasearchbox_pi1 {
# ID der Seite, die das indexed-search plugin enthält
pidSearchpage = 147
# Pfad zum Searchbox-Templatefile
templateFile = fileadmin/templates/main/template.htm
}
hallo
ich mach das immer direkt über typoscript.. ohne die extension
macinasearchbox..
Sieht dann bei mir so aus
# Suchwort in "value"
lib.value = COA_INT
lib.value {
10 = TEXT
10.data = GP:tx_indexedsearch|sword
10.htmlSpecialChars = 1
10.if.isTrue.data = GP:tx_indexedsearch|sword
20 = TEXT
20.value = {$suchfeldvalue}
20.if.isFalse.data = GP:tx_indexedsearch|sword
}
lib.suche = COA
lib.suche.10 = COA_INT
lib.suche.10.10 = TEXT
lib.suche.10.10 {
typolink.parameter = {$id_suche}
typolink.returnLast = url
wrap (
<form action="|" method="post" class="search">
<fieldset class="cf">
<span class="txt">
)
}
lib.suche.10.20 < lib.value
lib.suche.10.20 {
wrap = <input type="text" name="tx_indexedsearch[sword]" id="suche"
value="|" />
}
lib.suche.10.30 = TEXT
lib.suche.10.30.value (
</span>
<span class="btn">
<input type="submit" value="go" name="button" />
</span>
<input type="hidden" name="tx_indexedsearch[sections]" value="0" />
</fieldset>
</form>
)
_______________________________________________
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german