Need help with Joomla? We are available for hire to help with Joomla customization, upgrades, maintenance, and custom development.
Explore our services
OS Property support center

SOLVED !!! set to No show_address in add/edit properties by default

  • Marco Bianchella
  • Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 9 months ago - 8 years 9 months ago #108258 by Marco Bianchella
Hi Dam,

I need to set by default the select field to No instead of Yes of show_address because my clients are not expert and they forget to set it every time.

I tried to edit the file propertyedit.php but I can set the value, can you help me?

Thanks.

Marco
Last edit: 8 years 9 months ago by Mr. Dam.

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

More
8 years 9 months ago #108287 by Mr. Dam
Hi Marco,
To set Default value of field: Show Address is No, you can follow below steps:
1. Open file: root > components > com_osproperty > classes > listing.php
2. Find:
$row->show_address = 1;
and change to
$row->show_address = 0;

Good luck
Dam

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

  • Marco Bianchella
  • Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 9 months ago #108291 by Marco Bianchella
Replied by Marco Bianchella on topic set to No show_address in add/edit properties by default
Perfect it works, thank you!

Marco

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

Moderators: Mr. Dam, Nguyen Phu Quan