OS Property support center

Search module with package not the same as the dem

More
10 years 3 months ago - 10 years 3 months ago #56805 by Mike
Hello
I noticed my search module is not the same as the one thats being demoed .

Left search module on this page.

osproperty.ext4joomla.com/

Any thoughts on what Im missing to have this same module is greatly appreciated. Mine is basically lines of texts in a box rather then a sleek drop down on the above page.

Also I noticed theres a star rating on properties, but it looks like an image rather then an actual rating code. I could be wrong but asking, if this is a true rating/voting system?

Thanks again,

Cheers Mike
Last edit: 10 years 3 months ago by Mike.

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

More
10 years 3 months ago #56827 by Mr. Dam
Hi Mike,
The search module on the demo site is mod_ospropertysearch. It is included in OS Property package. You can find it in folder "modules" of OS Property package. There aren't any difference between the search module on demo site and the module in the package.
Rating is one feature of OS Property, when user write the comment for property, they can rate for that property too. OS Property will calculate total rated points and devide for numner rating times -> Rating number.
Thanks
Dam

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

More
10 years 3 months ago #56900 by Mike
Thanks for the reply, Iam attaching an image of my module, to note there was an older version of OS on this site already and I just upgraded, but Iam not sure if this module was upgraded, I just installed it again. Here is what mine looks like.

Attachments:

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

More
10 years 3 months ago #56926 by Mr. Dam
Hi,
The search module you have is correct. It is even newer than the search module in demo site. Because from OS Property 2.7.3, the category sing select dropdown list was changed to category multiple select.
Thanks
Dam

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

More
10 years 3 months ago #56952 by Mike
So what do I have to do to get it like the demo?

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

More
10 years 3 months ago #56953 by Mr. Dam
Hi Mike,
As i told you, the search module on the demo site is old version. When one property can only be assigned to one category. If you are using newer version, you can't have it, because one property can be assigned to more than one category. So the drop down select list Category must be changed to multiple select list.
Thanks
Dam

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

More
10 years 3 months ago #56963 by Mike
possible at all to change the code to only change appearance? Not functionality? the only difference would be appearance only, instead of a list we get a drop down, everything else in the backend remains the same. Is this possible at all to only change the appearance?

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

More
10 years 3 months ago #56965 by Mr. Dam
Ok, you can change it by following bellow steps
1. Open file:
modules > mod_ospropertysearch > helper.php
2. find
$output = JHTML::_('select.genericlist', $parentArr, 'category_ids[]', 'style="min-height:100px;" class="input-medium" multiple '.$onChangeScript, 'value', 'text', $category_ids );

and replace by
$output = JHTML::_('select.genericlist', $parentArr, 'category_id', 'style="min-height:100px;" class="input-medium" '.$onChangeScript, 'value', 'text', $category_ids );

and file modules > mod_ospropertysearch > tmpl > default.php
find
modOspropertySearchHelper::listCategories(JRequest::getVar('category_ids',null,array()),'',$inputbox_width_site);
and change to
modOspropertySearchHelper::listCategories(JRequest::getInt('category_ids',''),'',$inputbox_width_site);

Good luck
Dam

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

More
10 years 3 months ago #57047 by Dachi
Hello,

Which module is used in this template: osprealestate.joomservices.com/ the one that says "STOP LOOKING, START FINDING"?

Thank you

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

More
10 years 3 months ago #57073 by Mr. Dam
Hi Dachi,
The Quicksearch module was designed for OSP Real Estate only. It isn't included in OS Property extension package
Thanks
Dam

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

Moderators: Mr. DamNguyen Phu Quan