OS Property support center

SOLVED !!! Remove Property Code From Title

  • What No Website
  • Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
  • Full Stack Developer
More
9 years 8 months ago - 9 years 8 months ago #68066 by What No Website
SOLVED !!! Remove Property Code From Title was created by What No Website
Is it possible to remove the following from the search results, listings and property display:

Joomla & Hand Coded Web Design
What no Website
Last edit: 9 years 8 months ago by Mr. Dam.

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

More
9 years 8 months ago #68068 by Mr. Dam
Replied by Mr. Dam on topic Remove Property Code From Title
Hi,
You can remove it by opening file: components > com_osproperty > templates > default > details.html.tpl.php
Find:
Code:
if($row->ref != ""){ echo $row->ref.", "; }
and remove it
Thanks
Dam

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

  • What No Website
  • Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
  • Full Stack Developer
More
9 years 8 months ago - 9 years 8 months ago #68076 by What No Website
Replied by What No Website on topic Remove Property Code From Title
That worked a treat, thanks.

Could you direct me to which file I edit to do the same with the random properties module please:


here also (in the property listings page) if possible:

Joomla & Hand Coded Web Design
What no Website
Last edit: 9 years 8 months ago by What No Website.

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

More
9 years 8 months ago #68094 by Mr. Dam
Replied by Mr. Dam on topic Remove Property Code From Title
Hi,
With the module "Random properties", you can change it in: modules > mod_ospropertyrandom > tmpl > default.php
With the listing page, you can change in: components > com_osproperty > templates > listing.html.tpl.php and result.html.tpl.php
Thanks
Dam

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

  • What No Website
  • Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
  • Full Stack Developer
More
9 years 8 months ago #68099 by What No Website
Replied by What No Website on topic Remove Property Code From Title
Thanks.

Can you tell me which code to comment out in those files or which lines please...?

Joomla & Hand Coded Web Design
What no Website

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

  • What No Website
  • Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
  • Full Stack Developer
More
9 years 8 months ago #68100 by What No Website
Replied by What No Website on topic Remove Property Code From Title
Found it through inspect element. it was the H4 tag.

Thanks.

Joomla & Hand Coded Web Design
What no Website

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

Moderators: Mr. DamNguyen Phu Quan