Francesco Pazzagli

Members
  • Content count

    4
  • Joined

  • Last visited

About Francesco Pazzagli

  • Rank
    Free Member
  1. Hi, i have 2 type of state of my property: ON-SALEL and IN-LOCATION. There are 2 menu item like ON-SALE and IN-LOCATION. In everybody single page there is a correspond BT PROPERTY FILTER where the user can search some property. But with this module i have problem because when i'm on ON-SALE page and click on button SEARCH of module the page url became www.sitename.xyz/on-sale?task=filter&option=com_bt_property&view=properties&searchword=&prstatus=286&location_lv1=&location_lv2=&location_lv3=&category_select=&price_from=100&price_to=400&extraarrayid%5B16%5D=16&extraid%5B17%5D=17&extraselect%5B17%5D=&extraid%5B18%5D=18&extraselect%5B18%5D=&extraid%5B19%5D=19&extraselect%5B19%5D=&extraid%5B24%5D=24&extraselect%5B24%5D=&method=AND (<-- that is correct) but when i'm on IN-LOCATION page and i click on button SEARCH of the filter module the url is always the same and remind me to ON-SALE result page. the url is Wrong but the result is correct. How can i fix this huge problem? This is the url with the the problem (page "IN AFFITTO"). Thank you.
  2. Please...someone of this forum and some developer of bt property can help me?
  3. Hi, i need to move Square Meter Fields in Module Search from advanced search to be always visibile like price field. I've tried to work in template/bt_property/html/mod_bt_property_filter/vertical.php (is override layout of default.php) including this code (16 is the value of field ID of square meter): ################################################################################### $extraid=16; $db = JFactory::getDBO(); $cparams = JComponentHelper::getParams("com_bt_property"); $items = explode(",", $extravalue); $items =BTPropertyFilterHelper::remove_array_empty_values($items); $query = "SELECT * FROM #__bt_property_extrafields WHERE type='measurement' AND id=".$extraid." AND published=1 "; $db->setQuery($query); $rows = $db->loadObjectList(); $arrayunit = @unserialize($rows[0]->default_value); echo $rows; $selected = ''; $html = ''; sort($items); if(!count($items)){ $items = self::getExistingValues($extraid); } $html .= '<div class="ex-'.preg_replace("/[^a-zA-Z0-9]/", "", strtolower($rows[0]->name)).' range-validator">'; $html .= '<div class="ex-min">'; $html .= "<div class=\"filter-label\">"; $html .= "<input type=\"hidden\" name=\"exmeasureID[".$extraid."]\" value=\"$extraid\">"; $html .= "<label>".sprintf(JText::_('MEASUREMENT_MIN'),$rows[0]->name).($arrayunit[1]? ' ('.$arrayunit[1].') ':'')."</label>"; $html .= "</div>"; $extra_min = JRequest::getVar('extra_min', null); $html .= "<div class=\"filter-content\">"; $html .= "<select name=\"extra_min[".$extraid."]\">"; $total = count($items); $selected =''; for ($i= 0;$i< count($items);$i++){ if (isset($extra_min[$extraid])){ if($extra_min[$extraid] == $items[$i]){ $selected = ' selected'; }else{ $selected = ''; } } $html .= '<option value="'.($items[$i]).'"'.$selected.'>'.number_format($items[$i], 0, $cparams->get('decimal_symbol', '.'), $cparams->get('thousands_sep', ',')).'</option>'; } $html .= "</select>"; $html .= '</div>'; $html .= '</div>'; //Max select $sl =""; $extra_max = JRequest::getVar('extra_max', null); $html .= '<div class="ex-max">'; $html .= "<div class=\"filter-label\">"; $html .= "<label>".sprintf(JText::_('MEASUREMENT_MAX'),$rows[0]->name).($arrayunit[1]? ' ('.$arrayunit[1].') ':'')."</label>"; $html .="</div>"; $html .= "<div class=\"filter-content\">"; $html .= "<select name=\"extra_max[".$extraid."]\">"; $selected = ''; for ($i= 0;$i< $total;$i++){ if (isset($extra_max[$extraid])){ if($extra_max[$extraid] == $items[$i]){ $selected = ' selected'; }else{ $selected = ''; } } else { if(!$selected && $i == $total-1){ $selected = ' selected'; } } $html .= '<option value="'.($items[$i]).'"'.$selected.'>'.number_format($items[$i], 0, $cparams->get('decimal_symbol', '.'), $cparams->get('thousands_sep', ',')).'</option>'; } $html .= "</select>"; $html .= '</div>'; $html .= '</div>'; $html .= '</div>'; ECHO $html; ################################################################################### This code is the "public static function extrafield_measure" of helper.php of the module filter; but i give always this error CALL TO UNDEFINED METHOD JMODULEHELPER::GETEXISTINGVALUES(). This method is another function on helper.php but i can't able to run in my file override. Please Help me. Thank you
  4. Hi, i have last versione of Bt Content Slider installed on joomla 3.6.2 and i would like to set the width of image at 100%, but the photo doesn't use the 100% of the div. How can i solve? Thank you