News:

Support the VirtueMart project and become a member

Main Menu

strange error in VM_search module v3.012

Started by info@teldrive.com, November 19, 2015, 17:28:53 PM

Previous topic - Next topic

info@teldrive.com

I have detected an extrange "0" on right side of search container

<!--BEGIN Search Box -->
<form action="/index.php/en/search" method="get">
<div class="search">
0<input name="keyword" class="inputbox" id="mod_virtuemart_search" style="height:16px;vertical-align :middle;" onfocus="if(this.value=='Search in web....') this.value='';" onblur="if(this.value=='') this.value='Search in web....';" type="text" size="30" maxlength="30" alt="Search" value="Search in web...."></div>
      <input name="limitstart" type="hidden" value="0">
      <input name="option" type="hidden" value="com_virtuemart">
      <input name="view" type="hidden" value="category">
     </form>

I don't know how is it generated I have done some debugging without results on /httpdocs/modules/mod_search/tmpl/defaul.php
<div class="search<?php echo $moduleclass_sfx ?>">
   <form action="<?php echo JRoute::_('index.php');?>" method="post" class="form-inline">
      <?php
         $output = '<label for="mod-search-searchword" class="element-invisible">' . $label . '</label> ';
         $output .= '<input name="searchword" id="mod-search-searchword" maxlength="' . $maxlength . '"  class="inputbox search-query" type="search"' . $width;
         $output .= ' placeholder="' . $text . '" />';


GJC Web Design

your pasted code doesn't match your generated html -- u must be in the wrong file

check over rides etc
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Jumbo!

You are checking a wrong layout file. You need to check the following files -

Our template override (if exists): templates/your-template-folder/html/mod_virtuemart_search/default.php
VirtueMart Search Module: modules/mod_virtuemart_search/tmpl/default.php