OS Property support center

Edit 'Advanced Search' template

  • Louise Phillips
  • Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 8 months ago #48771 by Louise Phillips
Edit 'Advanced Search' template was created by Louise Phillips
I'm using the Advanced Search layout on my site, but would like to edit the search template as its giving me some details which aren't necessary (particularly for a UK based estate agent): ie,

'User Type' - not needed...
'Location' - not needed...
'County' - don't need a drop down, as the agency only covers one County
'Price Range' - would like to remove the slider (just keep the 'min' and 'max' input boxes)

Please see athene-host.co.uk/richardtuck/index.php/property-search/adv_

Need to know which template to edit or what settings to change.....

Any help gratefully received

Please Log in or Create an account to join the conversation.

More
10 years 8 months ago #48773 by Mr. Dam
Replied by Mr. Dam on topic Edit 'Advanced Search' template
Hi,
You can modify the Advanced search layout in this file
components > com_osproperty > helpers > common.php
function advsearchForm
Good luck
Dam

Please Log in or Create an account to join the conversation.

  • Louise Phillips
  • Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 8 months ago - 10 years 8 months ago #49018 by Louise Phillips
Replied by Louise Phillips on topic Edit 'Advanced Search' template
Thank you Dam

I want to remove the 'slider' from the Price range section... can you help me - what part of the following do I need to remove/amend??
Code:
<div class="span12"> <strong> <?php echo JText::_('OS_PRICE_RANGE')?> </strong> <BR /> <?php //echo $lists['price']; SPHelper::showPriceFilter($lists['price_value'],$lists['min_price'],$lists['max_price'],$lists['adv_type'],'','adv'); ?> </div>
Last edit: 10 years 8 months ago by Louise Phillips. Reason: tidy up code as displayed!

Please Log in or Create an account to join the conversation.

More
10 years 8 months ago #49061 by Mr. Dam
Replied by Mr. Dam on topic Edit 'Advanced Search' template
Hi,
If you want to remove the Price slider, you only need to remove this
<div class="span12">
<strong>
<?php echo JText::_('OS_PRICE_RANGE')?>
</strong>
<BR />
<?php //echo $lists;
OSPHelper::showPriceFilter($lists,$lists,$lists,$lists,'','adv');
?>
</div>

in file: components > com_osproperty > helpers > common.php
Good luck
Dam

Please Log in or Create an account to join the conversation.

Moderators: Mr. DamNguyen Phu Quan