Recent Topics

[4.1.x] Advanced Search using image for button

Started by on Apr 20, 2012 – Contents updated: Apr 20, 2012

Apr 20, 2012 06:18    

My b2evolution Version: 4.1.x

I am using the advanced search widget and would like to insert the code into another area that is not a container.

I am trying to use an image for the search button and replaced:

echo '<input type="submit" name="submit" class="search_submit submit" value="'.T_('Search').'" />';


echo '<input type="image" src="img/submit.ico" class="search_submit submit" value="'.T_('Search').'" />';

in the _coll_search_form.widget.php to no avail

I also would like the search and form inline and thus inserted:

.widget_core_coll_search_form p { display: inline !important }

into the style.css

Neither is working. Any ideas?


Oct 05, 2012 20:59

For the search to actually work, input name attribute must be "s"


<input name="s" ...

Form is loading...

powered by b2evolution – This forum is powered by b2evolution CMS, a complete engine for your website.