if you have more than one language and you have a template that uses the image folder for their details button
and you want to change it to the button folder here it change this
<div class="product_detail"><a href="'. zen_href_link(zen_get_info_page($new_products->fields['products_id']), 'cPath=' . $productsInCategory[$new_products->fields['products_id']] . '&products_id=' . $new_products->fields['products_id']) . '">' .zen_image($template->get_template_dir('details.gif', DIR_WS_TEMPLATE, $current_page_base,'images').'/details.gif').'</a></div>
To this
<div class="product_detail"><a href="'. zen_href_link(zen_get_info_page($new_products->fields['products_id']), 'cPath=' . $productsInCategory[$new_products->fields['products_id']] . '&products_id=' . $new_products->fields['products_id']) . '">'
. zen_image_button(BUTTON_IMAGE_GOTO_PROD_DETAILS, BUTTON_GOTO_PROD_DETAILS_ALT) . '</a></div>
there is a button named button_goto_prod_details.gif in your language button folder already.
to turn you search button to language specific (you will note the template maker coded for english only.
do this
in your sidebox search folder find code that looks like this
$content .= zen_draw_input_field('keyword', '', 'size="6" class="search-header-box" maxlength="30" style="width: 150px" value="' . HEADER_SEARCH_DEFAULT_TEXT . '" onfocus="if (this.value == '' . HEADER_SEARCH_DEFAULT_TEXT . '') this.value = '';" onblur="if (this.value == '') this.value = '' . HEADER_SEARCH_DEFAULT_TEXT . '';"') . ' <input type="image" src="includes/templates/CUSTOM/buttons/english/button_search.gif" value="" class="search-header-button" style="width: 75px" />';
}
and change to this
$content .= zen_draw_input_field('keyword', '', 'size="26" maxlength="30" style="width:150px" value="' . HEADER_SEARCH_DEFAULT_TEXT . '" onfocus="if (this.value == '' . HEADER_SEARCH_DEFAULT_TEXT . '') this.value = '';" onblur="if (this.value == '') this.value = '' . HEADER_SEARCH_DEFAULT_TEXT . '';"').zen_image_submit(BUTTON_IMAGE_SEARCH,HEADER_SEARCH_BUTTON,'class="search-header-button" style="position:relative;left: 0px; bottom: 0px"');
}
Your search button is now out of the english folder and in the button folder
I find the button position left and right up and down sometimes needs to be adjusted
Play with it long enough and you will break it.