[TYPO3] Layout and language labels for Indexed search

tapio tapio.markula at dnainternet.net
Tue Feb 7 20:24:36 CET 2006


ingo schmitt wrote:
> [..]>
> 
>> Endeed I didn't get solved how to redefine the layout.
>> The manual of indexed search doesn't handle at all layout issues.
> 
> 
> 
> Some parts of indexed_search are hard coded into php.
> 
> Ingo
> 
> Mit freundlichen Gruessen

Ok. :(
I found what I was searhing for:

// Adding search field and button:
		$rows[]='<tr>
				<td 
nowrap="nowrap"><p>'.$this->pi_getLL('form_searchFor','',1).'&nbsp;</p></td>
				<td><input type="text" name="'.$this->prefixId.'[sword]" 
value="'.htmlspecialchars($this->conf['show.']['clearSearchBox']?'':$this->piVars['sword']).'"'.$this->pi_classParam('searchbox-sword').' 
/>&nbsp;&nbsp;<input type="submit" 
name="'.$this->prefixId.'[submit_button]" 
value="'.$this->pi_getLL('submit_button_label','',1).'"'.$this->pi_classParam('searchbox-button').' 
/></td>
			</tr>';

The problem is that that code cause layout-problems with Firefox.
I would be much better if submit field would be in a separate cell.

Maybe not worth of extensio?
I hate these kinds of fixed code - and I belive that you too.



More information about the TYPO3-english mailing list