[Typo3] EXT: [AN] Search It! - Anyone got this one working?
Fabian Girsch
fabian.girsch at i-netpartner.net
Wed Feb 9 10:08:01 CET 2005
Hi Peter, Hi List
unfortunately I only have the same problem and no solution for it.
Anyway it's the only thread I found which's handel this problem, so I dicide to post my Code too. Maybe someone in the List could help both of us.
--CODE--
##############################
# Suche
temp.searchitConfig {
sections {
1 {
title = Seiten
table = tt_content
fields = header|bodytext|imagecaption
}
}
}
temp.searchitForm < plugin.tx_ansearchit_form
temp.searchitForm {
resultPID = 72
format = field, button
field.title = Suche
}
temp.searchitOverview < plugin.tx_ansearchit_resOverview
temp.searchitOverview {
config < temp.searchitConfig
sections.format = name, count
sections {
NO.wrap = | <br>
ACT = 0
name.wrap = |
count.wrap = ( | )
}
sections.wrap = |<hr style="border:none;border-bottom:solid #4E5154 1px;height:1>
noResults.caption = Ihre Suche brachte leider keine Ergebnisse.
}
temp.searchitList < plugin.tx_ansearchit_resList
temp.searchitList {
config < temp.searchitConfig
headline.show = 1
headline.caption = Ergebnisse:
headline.wrap = <br><br><h1>|<h1/><br>
}
temp.searchResult = COA
temp.searchResult {
10 = TEXT
10.value = <h1>Suchergebnisse</h1>
20 < temp.searchitOverview
30 < temp.searchitList
}
[globalVar = GP:id = 72]
temp.mainTemplate.subparts.CONTENT < temp.searchResult
[else]
temp.mainTemplate.subparts.CONTENT < styles.content.get
[end]
--CODE--
I'm looking forward to hear from you. And please excuse my poor english.
- Fabian Girsch (fa-big)
More information about the TYPO3-english
mailing list