[TYPO3-german] Suche auf jeder Seite integrieren

Nick Weisser typo3 at openstream.ch
Fri Aug 17 03:50:58 CEST 2007


... die Hälfte habe ich vergessen, sorry.

Hier das korrigierte TypoScript:

suche = HTML
suche.value (
<div class="tx-indexedsearch-searchbox">
  <form action="index.php?id=x" method="post" name="tx_indexedsearch">
    <input type="hidden" name="tx_indexedsearch[_sections]" value="0" />
    <input type="hidden" name="tx_indexedsearch[_freeIndexUid]" value="_" />
    <input type="hidden" name="tx_indexedsearch[pointer]" value="0" />
    <input type="hidden" name="tx_indexedsearch[ext]" value="" />
    <input type="hidden" name="tx_indexedsearch[type]" value="1" />
    <input type="hidden" name="tx_indexedsearch[defOp]" value="0" />
    <input type="hidden" name="tx_indexedsearch[media]" value="-1" />
    <input type="hidden" name="tx_indexedsearch[order]" value="rank_flag" />
    <input type="hidden" name="tx_indexedsearch[group]" value="flat" />
    <input type="hidden" name="tx_indexedsearch[lang]" value="-1" />
    <input type="hidden" name="tx_indexedsearch[desc]" value="0" />
    <input type="hidden" name="tx_indexedsearch[results]" value="6" />
    <table cellpadding="0" cellspacing="0" border="0" summary="Search form">
      <tr>
        <td>Suchen nach:</td>
        <td colspan="2"><input type="text"
name="tx_indexedsearch[sword]" value=""
class="tx-indexedsearch-searchbox-sword sword" /></td>
        <td><input type="submit" name="tx_indexedsearch[submit_button]"
value="Suche" class="tx-indexedsearch-searchbox-button submit" /></td>
      </tr>
    </table>
    <p></p>
  </form>
</div>
)


More information about the TYPO3-german mailing list