OS Property support center

Search Module is all messed up - How to fix?

  • kalesh.suby
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
10 years 6 months ago #37853 by kalesh.suby
Please see attached image - Search module is a mess. How can we configure the search module to look good?
Attachments:

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

More
10 years 6 months ago #37854 by Mr. Dam
With those fields, at backend > Custom fields management, you need to select display title option
Thanks
Dam

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

  • kalesh.suby
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
10 years 6 months ago #37855 by kalesh.suby
Replied by kalesh.suby on topic Re: Search Module is all messed up - How to fix?
Hi Dam.

Display title option is enabled for ALL fields.

If you see the attached image in the original question, the titles are there but displaying are all messed up.

Thanks
Kal

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

More
10 years 6 months ago #37858 by Mr. Dam
Hi,
We understand the problem, the reason is each custom field is one div tag, and style of them is float:left;, it works ok with the position left or right with small width size ( <= 180 px) but in your case, the place for the search module is very big, so we have the case, tilte and field are in different line.
Please assign the search module in different position to solve the issue or else please fix it by follow these steps
1. Open file
module > mod_ospropertysearch > tmpl > default.php
2. find
$customfield = $fields[$j];
HelperOspropertyFields::showFieldinAdvSearch($customfield,0);
and replace by

$customfield = $fields[$j];
HelperOspropertyFields::showFieldinAdvSearch($customfield,0);
?>
<div class="clearfix"></div>
<?php

Thanks
Dam

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

  • kalesh.suby
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
10 years 6 months ago #37859 by kalesh.suby
Replied by kalesh.suby on topic Re: Search Module is all messed up - How to fix?
Hi Dam,

I tried this. I also tried to publish on the sidebar.

It still has same issues. Anyways I will test and see how to make this work. It will be nice if these fields can be made more custom with ability to add columns and make responsive.

Thanks

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

  • kalesh.suby
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
10 years 6 months ago #38052 by kalesh.suby
Replied by kalesh.suby on topic Re: Search Module is all messed up - How to fix?
Hi Dam - The search module is all messed up. can you please suggest how to make the layout better like attached file.

I am not talking about CSS - I am talking about making just a few fields appear and make a good layout (The actual PHP file) ? Basically I am asking for a quick search modul - Can you create a SIMPLE quick search module with ability to add just a few fields like attached file?
Attachments:

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

More
10 years 6 months ago #38062 by Mr. Dam
Hi Kalesh,
You can modify the layout of search module in
modules > mod_ospropertysearch > tmpl > default.php
We don't have the clear solution to make the layout of search module like the picture, so we only can let you know the layout file that you can make the change.
Thanks
Dam

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

  • kalesh.suby
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
10 years 6 months ago - 10 years 6 months ago #38064 by kalesh.suby
Replied by kalesh.suby on topic Re: Search Module is all messed up - How to fix?
Thanks Dam

I created a NEW module mod_ospropertysearch2

The module is working but if I publish the original mod_ospropertysearch somewhere on the site, the whole site is a blank page. I enabled Error reporting but there is no error.

As soon as I unpublish the original search module, it works again.

Please help me resolve this.

Thanks
Last edit: 10 years 6 months ago by kalesh.suby.

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

More
10 years 6 months ago #38070 by Mr. Dam
Hi Kalesh,
Please let me know what did you do? You create new module and install it through Joomla extension installation? Or you copy the module in modules management.
Thanks
Dam

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

  • kalesh.suby
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
10 years 6 months ago - 10 years 6 months ago #38071 by kalesh.suby
Replied by kalesh.suby on topic Re: Search Module is all messed up - How to fix?
Hi Dam,

I created a new module and installed it using Joomla installer. I have attached the module. The module works but when the original search module is published, the page is blank.

Thanks
Last edit: 10 years 6 months ago by kalesh.suby. Reason: Deleted file

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

Moderators: Mr. DamNguyen Phu Quan