Hello Baraberle,
Have a look there:
/wp-content/bp-themes/bpmember/images
and
/wp-content/themes/bphome/images
You should find what you want.
hi gaetan,
look at the top of the page and see the SEARCH button….this one I want to change…
what do you think now ?
regards
tony
Maybe have a look in this file, lines 586 (more or less):
/wp-content/plugins/buddypress/bp-core/bp-core-templatetags.php
Hi I found that line which is the one for the button….:
<input type=”submit” name=”search-submit” id=”search-submit” value=”‘ . __( ‘Search’, ‘buddypress’ ) . ‘” />
‘ . wp_nonce_field( ‘bp_search_form’ ) . ‘
who knows how the line is when I want put in the buttonimage: searchbutton.gif ? So that it works with the look of that created button ?
THX in ADV Tony
does nobody did it before ?
regards tony
This is just off the top of my head. No guarantees. Try something like this:
<input type="image" name="search-submit" id="search-submit"
src="/path/to/your/submit.gif" alt="submit" />
Please realize that since you are hacking the core (making changes to a core BuddyPress file), the next time you update BP, your changes will be lost. Instead, you should create an alternate function for bp_search_form() and place that in a bp-custom.php file.
Hi Jeff,
first of all thx for your soon reply. But this doesn´t work because it only shows the word search but not the button as the background: here is the full code of the search function again
function bp_search_form() {
$form = ‘
<form action=”‘ . bp_search_form_action() . ‘” method=”post” id=”search-form”>
<input type=”text” id=”search-terms” name=”search-terms” value=”” />
‘ . bp_search_form_type_select() . ‘
<input type=”submit” name=”search-submit” id=”search-submit” value=”‘ . __( ‘Search’, ‘buddypress’ ) . ‘” />
‘ . wp_nonce_field( ‘bp_search_form’ ) . ‘
</form>
‘;
echo apply_filters( ‘bp_search_form’, $form );
}
do you have another idea ?
thx in adv. best regards tony