Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Can Someone Please Help Me Hide The Filename From Showing? Please...


broadstreetbully

Recommended Posts

I just installed a search box in the header of my site (code below)...

<td align="right" valign="middle"><?php echo tep_draw_form('search', tep_href_link(FILENAME_ADVANCED_SEARCH_RESULT, '', 'NONSSL', false), 'get') . tep_draw_hidden_field('search_in_description','1') . tep_draw_input_field('keywords', '', 'size="10" maxlength="30" style="width: ' . (BOX_WIDTH+10) . 'px"') . ' ' . tep_hide_session_id() .tep_image_submit('button_quick_find1.gif', BOX_HEADING_ADVSEARCH, 'align="absmiddle"')  . '</form>'; ?></td>

 

and it works but when you place your cursor over the little search icon this text shows- BOX_HEADING_ADVSEARCH

 

how do I change it to just "search" so you don't see the actual code?

 

Thanks!

Link to comment
Share on other sites

you have to add a define statement for BOX_HEADING_ADVSEARCH

in your language file in catalog/includes/languages/xxx.php (english or whatever language you use)

 

plenty of examples in that file , you just need one line

KEEP CALM AND CARRY ON

I do not use the responsive bootstrap version since i coded my responsive version earlier, but i have bought every 28d of code package to support burts effort and keep this forum alive (albeit more like on life support).

So if you are still here ? What are you waiting for ?!

 

Find the most frequent unique errors to fix:

grep "PHP" php_error_log.txt | sed "s/^.* PHP/PHP/g" |grep "line" |sort | uniq -c | sort -r > counterrors.txt

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...