[Typo3] Another Newbie Question

Ingo Renner typo3 at ingo-renner.com
Fri Jan 28 04:39:00 CET 2005


Am Thu, 27 Jan 2005 21:03:04 -0500 schrieb George Hunka:

Hi George,

> search capacity working, but want to change the layout of this "search" 
> function to look like this:
> 
> Search: [SEARCHBOX] [SUBMIT BUTTON IMAGE]

Just add this to your html template:

		<form ###SEARCHTARGET### method="post" name="custom_indexedsearch">
		  <input type="text" name="tx_indexedsearch[sword]" value=""
class="searchinput" />&nbsp;<input type="image"
src="fileadmin/campus-dieburg/siteimages/icon_lupe.gif" alt="suchen" />
		  <input type="hidden" name="tx_indexedsearch[_sections]" value="0" />
		  <input type="hidden" name="tx_indexedsearch[pointer]" value="0" />
		  <input type="hidden" name="tx_indexedsearch[ext]" value="0" />
		</form>

and in your ts template define a marker:

marks.SEARCHTARGET = TEXT
marks.SEARCHTARGET.value = action="index.php?id=59"

change 59 to the page id where your search plugin is...

HTH
Ingo



More information about the TYPO3-english mailing list