[TYPO3-english] search
Peter Kühnlein
peter at function2form.net
Mon Apr 15 10:48:29 CEST 2013
Am 15.04.2013 08:55, schrieb Francesc Juliana:
> Hello everybody:
>
> Anyone knows if there exists any possibility to show search box in single
> row?
> I would like to shox it fixed on the top of every page.
> I have tried simple search plugin but it doesn't work as I desire.
>
> Thanks in advance.
>
> Francesc
>
>
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Hi Francesc,
I did something like that for tt_products: a product search on every
page. Just add something like
<div id="prod_s"><input type="text" size="26" /><br /><input
type="submit" value="Finde" /></div>
to your HTML code, just where the form should go. Then you need
something like
temp.suche = HTML
temp.suche {
form.SEARCH.name = ShopSearchForm
value (
<form method="post" action="http://my-site.tld/index.php?id=19"> #
page 19 has the plugin for search results
<input size="20" maxlength="120" type="text" name="sword" value=""
class="Eingabe" /><br />
<input title="Suchbegriff senden" type="submit" name="order"
value="Finde" class="Submit" />
</form>
)
}
in your Typoscript setup. And finally (I'm using automaketemplate) fill
the HTML placeholder with something like
subparts.prod_s < temp.suche
Works perfect...
HTH Peter
--
http://function2form.net
http://peter-kuehnlein.net
"There is dignity in personal appearance. There is dignity in a calm aspect. There is dignity in a paucity of words. There is dignity in flawlessness of manners. There is dignity in solemn behavior. And there is dignity in deep insight and a clear perspective."
(Hagakure)
More information about the TYPO3-english
mailing list