[Typo3] My Search box form doesn't search

luca marletta lucamarle at gmail.com
Mon Feb 21 11:26:41 CET 2005


Hi list
I'm not able to make work the search box below. 
Actually it redirects on the right page where the normal search box works well by itself.
The problem is that from my form, that I have on every page, it seems that words are not passed to the search plugin an no result are shown.

I put all the LOGIN and SEARCH box but the relevant part is just this
-------------------------------------------------------
    <FORM action="/typo3/index.php/93/0" method="POST">
      <td><input type="text" name="sword" value="" class="inputfields" style="width:170px;" title="Inserisci le parole da cercare"></td>
      <td><input type="image" src="fileadmin/search.gif" width="16" height="17" alt="Search" title="Cerca nel sito" border="0" hspace="8"></td>
      <input type="hidden" name="scols" value="pages.title-subtitle-keywords-description :tt_content.header-bodytext-imagecaption :tt_news.title-bodytext :tt_address.name-title-address-email-company-city-country">
      <input type="hidden" name="stype" value="L0">
    </form>
-------------------------------------------------------

All the contest:

# login/search form -----------------------------------------------------------------------------------------------------
USERNAME_substToken

page.10.marks.LOGSEARCH = TEXT
page.10.marks.LOGSEARCH.insertData = 1
page.10.marks.LOGSEARCH.value (
<table border=0 cellspacing=0 cellpadding=0 width=1 class="loginTable">
  <tr>
    <FORM action="/typo3/index.php/102/0" method="POST">
      <td nowrap ><input type="text" name="user" value="" class="inputfields" style="width:80px;" title="Inserisci la tua ID"><img src="clear.gif" width="4" height="1" alt="" border="0">
         <input type="password" name="pass" value="" class="inputfields" style="width:80px;" title="Inserisci la tua password"></td>
      <td><input type="image" src="fileadmin/demo/login.gif" width="16" height="17" alt="Login" title="Login" border="0" hspace="8"></td>
      <input type="hidden" name="logintype" value="login">
      <input type="hidden" name="redirect_url" value="/typo3/index.php?id={TSFE:id}">
      <input type="hidden" name="pid" value="96">
      <div class="logintext"><a href="/typo3/index.php/103/0">Non sei registrato? Fallo ora!</a></div>
    </form>
  </tr>
  <tr> 
    <FORM action="/typo3/index.php/93/0" method="POST">
      <td><input type="text" name="sword" value="" class="inputfields" style="width:170px;" title="Inserisci le parole da cercare"></td>
      <td><input type="image" src="fileadmin/search.gif" width="16" height="17" alt="Search" title="Cerca nel sito" border="0" hspace="8"></td>
      <input type="hidden" name="scols" value="pages.title-subtitle-keywords-description :tt_content.header-bodytext-imagecaption :tt_news.title-bodytext :tt_address.name-title-address-email-company-city-country">
      <input type="hidden" name="stype" value="L0">
    </form>
  </tr>
</table>
)

[usergroup = *]

page.10.marks.LOGSEARCH.value (
<table border=0 cellspacing=0 cellpadding=0 width=1 class="loginTable">
  <FORM action="/typo3/index.php/96/0" method="POST">
    <span class="subhead">Benvenuto </span><span class="username"> <!--###USERNAME###--> </span> 
    <input type="image" src="fileadmin/demo/logout.gif" width="16" height="17" alt="Login" title="Esci" border="0" hspace="8">
    <input type="hidden" name="logintype" value="logout">
    <div class="logintext"><a href="/typo3/index.php/104/0">Modifica il tuo Profilo</a></div>
  </form></tr>
  <tr> 
    <FORM action="/typo3/index.php/93/0" method="POST">
      <td><input type="text" name="sword" value="" class="inputfields" style="width:170px;" title="Inserisci le parole da cercare"></td>
      <td><input type="image" src="fileadmin/search.gif" width="16" height="17" alt="Search" title="Cerca nel sito" border="0" hspace="8"></td>
      <input type="hidden" name="scols" value="pages.title-subtitle-keywords-description :tt_content.header-bodytext-imagecaption :tt_news.title-bodytext :tt_address.name-title-address-email-company-city-country">
      <input type="hidden" name="stype" value="L0">
    </form>
  </tr>
</table>
)



- luca marletta (spite)

-----------------------
The mailing list archive is found here:
http://typo3.org/documentation/mailing-lists/english-main-list-archive/
				



More information about the TYPO3-english mailing list