Zen Follower
- Join Date:
- Nov 2003
- Location:
- UK
- Posts:
- 102
- Plugin Contributions:
- 0
How to change 'Search Button' in sidebox?
Hi,
I'm trying to use my own image for the search button in the sidebox.
How do you do this? From http://www.zen-cart.com/forum/showthread.php?t=68179&highlight=search+button I understand that you must have to modify tpl_search.php.
However, when I use the code given...
$content .= zen_draw_input_field('keyword', '', 'size="18" maxlength="100" style="width: ' . ($column_width-30) . 'px" 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="input" hspace="0" vspace="0" style="margin-left:5px"');
I get the following error...
Parse error: parse error, unexpected T_STRING in /homepages/4/d205728592/htdocs/the_african_touch/e-shop/includes/templates/template_default/sideboxes/tpl_search.php on line 21
I've tried googling but no luck so far. Any ideas?
Thanks.