Hi!
I have made an custom search box on my site that uses a lot of javascript code and the new introduced tplLayout chunk lets me integrate this in a smooth way on my site. Thanks for this addition! The only thing I had to "hack" was the onfocus event that still is hard coded in ajaxSeach.class.inc.php. I think it could be an improvement to pull the searchbox’s onfocus event out to the tplLayout chunk.
I needed to add some more onfocus events to the searchbox and because the php script already output an onfocus event I either had to put my new arguments directly into the ajaxSearch.class.inc.php or remove this line from ajaxSearch.class.inc.php:
$this->varLayout['inputOptions'] = ($this->_lang['as_boxText']) ? ' onfocus="this.value=(this.value==\''.$this->_lang['as_boxText'].'\')? \'\' : this.value ;"' : '';
l removed the line and putted my onfocus event in my tplLayout chunk. This could be considered for the next version.
I really love ajaxSearch!! Thank you all for creating such a great plugin! Ajax is the future and you guys let me make my site a future site