OS Property support center

how to change fields in quick search module

  • DThx
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
10 years 8 months ago - 10 years 8 months ago #48626 by DThx
hi, i'd like delete : "room" " bedroom" 'bathroom" and add field "categoy" in quich search module, can i do that ?
Last edit: 10 years 8 months ago by DThx.

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

More
10 years 8 months ago #48632 by Mr. Dam
Replied by Mr. Dam on topic how to change fields in quick search module
Hi,
What's the quicksearch module that you mentioned? On OSP Real Estate, right?
Thanks
Dam

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

  • DThx
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
10 years 8 months ago #48634 by DThx
Hi Dam, you can see on attachment,
regards
DThx
Attachments:

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

More
10 years 8 months ago #48635 by Mr. Dam
Replied by Mr. Dam on topic how to change fields in quick search module
Hi Didier,
You are able to remove "room", "bathroom", "bedroom" by modifying file
modules > mod_osquicksearch > tmpl > default.php
and find:
<?php echo $lists;?>

and :

<?php echo $lists;?>
<?php echo $lists;?>

and remove them.

To add Category dropdown select list. You can check module "Search of OS Property", find
modules > mod_ospropertysearch > tmpl > default.php
find
<tr>
<td class="mod_ossearch_left_col">
<label class="elementlabel">
<?php echo JText::_('OS_SEARCH_CATEGORIES')?>:
</label>
</td>
<td class="mod_ossearch_right_col">
<?php echo modOspropertySearchHelper::listCategories(JRequest::getVar('category_id'),'',$inputbox_width_site); ?>
</td>
</tr>

You can add this code:
<?php echo modOspropertySearchHelper::listCategories(JRequest::getVar('category_id'),'',$inputbox_width_site); ?>
to module Quicksearch

Good luck
Dam

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

  • DThx
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
10 years 8 months ago #48639 by DThx
Thank you, all is ok..
Regards
DThx

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

More
10 years 8 months ago #48669 by Mr. Dam
Replied by Mr. Dam on topic how to change fields in quick search module
You are welcome
Dam
The following user(s) said Thank You: Fabio

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

More
10 years 7 months ago #50449 by solonas
Replied by solonas on topic how to change fields in quick search module
Hello,

I have a similar problem here.
I want to replace "rooms" field with "category" field and replace "baths" field with "city" field.
Although I followed your instructions, nothing changed. It still shows the initial fields mentioned above.
Could you please make any suggestions?

Regards
Solonas

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

More
10 years 7 months ago #50477 by Mr. Dam
Replied by Mr. Dam on topic how to change fields in quick search module
Hi Solonas,
You can submit ticket and send your site information with super admin account, ftp account. I will check the issue for you
Thanks
Dam

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

More
10 years 4 months ago #55369 by devinda
Replied by devinda on topic how to change fields in quick search module
Hi Dang,

I too had the same requiremnrt of removing room, beds & bath drop downs and adding category, State & city drop downs. I edit both modules/mod_osquicksearch/tmpl/default.php file and templates/osprealestate/html/mod_osquicksearch/default.php file

But nothing happening Please advice me

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

More
10 years 4 months ago #55422 by devinda
Replied by devinda on topic how to change fields in quick search module
Hi Dang,

It is highly appreciate your hep here

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

Moderators: Mr. DamNguyen Phu Quan