[TYPO3] tt_products search on every page
Patrick Schlaepfer
patrick at schlaepfer.com
Tue Aug 12 09:13:21 CEST 2008
My html template looks like:
...
<li class="search"><span>Search</span>
###SEARCH_ARTICLE###
</li>
...
template -> Setup
SEARCH_ARTICLE < plugin.tt_products
SEARCH_ARTICLE.code >
SEARCH_ARTICLE.code = SEARCH
template -> Constants
plugin.tt_products.PIDsearch = 20
And in the template for tt_products:
<h2>Artikel suchen </h2>
<p><em>Subpart for the search-form.</em></p>
<!-- ###ITEM_SEARCH### begin
Subpart for the search-form
-->
<div class="headerForm">
<form action="###FORM_URL###" method="post">
<div>
<input class="headerInput" type="text" name="search" value="" />
</div>
<div>
<input class="headerSubmit" type="submit" value="Go" />
</div>
</form>
</div>
<!-- ###ITEM_SEARCH### end -->
<br /><br />
I do have a page with the id 20, where I add:
product(Produkte):search, product:list
Anyway no, search list is displayed... What is wrong here.
U can test it, on www.biskuit.ch
Thanks, Pat
More information about the TYPO3-english
mailing list