OS Property support center

Which php file writes the property listing?

  • Scott Fournier
  • Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 8 months ago #86021 by Scott Fournier
Which php file writes the property listing? was created by Scott Fournier
My client wants all of the boxes off of the property pictures. I am supposed to remove the box with the the price, property type, featured, and "for sale" boxes so they don't appear. I couldn't seem to remove them in the settings so I added property-price{visibility: hidden;} in the custom code box. That removed some of the boxes but not the bottom boxes.

Where is the php file that writes the property listings on the main page? If I know which file it is I can remove the rest of the boxes from the picture and put the price below the picture.

Normally I would be able to do this by myself without any problems but for some reason I just can't find which file it is. Please see the attached image to see what part I need to edit.

Thanks!
Attachments:

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

More
8 years 8 months ago #86030 by Mr. Dam
Replied by Mr. Dam on topic Which php file writes the property listing?
Hi,
You can modify the layout of Theme3 in file:
root > components > com_osproperty > templates > theme3 > listing.html.tpl.php and result.html.tpl.php
Thanks
Dam
The following user(s) said Thank You: Scott Fournier

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

  • Scott Fournier
  • Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 8 months ago #86451 by Scott Fournier
Replied by Scott Fournier on topic Which php file writes the property listing?
Dam,

Thanks! That was exactly what I needed. Now I just need to find the files to do the same thing for the os property modules featured and latest properties. Are these also in the Theme3 folder? Please see attached picture for reference.

Thanks,
Scott
Attachments:

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

More
8 years 8 months ago #86517 by Mr. Dam
Replied by Mr. Dam on topic Which php file writes the property listing?
Hi Scott,
You can modify files:
root > components > com_osproperty > templates > theme3 > listing.html.tpl.php and result.html.tpl.php
Thanks
Dam

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

  • Scott Fournier
  • Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 7 months ago #87886 by Scott Fournier
Replied by Scott Fournier on topic Which php file writes the property listing?
Dam,

Thank you for you help. I have removed the following line in 3 places in listing.html.tpl.php and 3 places in result.html.tpl.php.
Code:
<h4> <a rel="tag" href="#"><?php echo $row->type_name;?></a></h4>

But the property type will not go away for featured properties module and latest properties slide module. Please see picture. How can I make these property type boxes "For Sale" go away?




Thanks!
Attachments:

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

More
8 years 7 months ago #87902 by Mr. Dam
Replied by Mr. Dam on topic Which php file writes the property listing?
Hi Scott,
With Random properties module, you can modify file: root > templates > osprealestate > html > mod_ospropertyrandom > default.php
and Content slider module, root > templates > osprealestate > html > mod_os_contentslider > default.php
Thanks
Dam

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

Moderators: Mr. DamNguyen Phu Quan