OS Property support center

Disabling features is not working

  • Nik
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
10 years 7 months ago #35588 by Nik
Hi,

I go to Configuration->Properties->Property details setting and some options are not working.

For example if i deselect the boxes :

-Show amenity group
-Show feature fields group
-Show neighborhood fields group

they keep showing in the property details view.

But if i uncheck the Show relate properties it works ok and does not show anymore.
I have not tested the other boxes yet.

What am i doing wrong?

In case you need admin credentials to check they are the same as in my last ticket number 11863 .

Thank you for your time reading this.

Regards,
Nik.

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

More
10 years 7 months ago #35643 by Mr. Dam
Replied by Mr. Dam on topic Re: Disabling features is not working
OK, i will check the issue as you mentioned
Thanks
Dam

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

  • Nik
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
10 years 7 months ago #35899 by Nik
Replied by Nik on topic Re: Disabling features is not working
Hi all,

i tried to fix the issue on my own although i am not a coder and i don't believe that the way you will see below is the right one but it worked for me.

Unfortunately the options to do it from osproperty configuration exist already but they just do not work right (or maybe i am doing something wrong and cannot make it work)

Not to be misunderstood ,i think that osproperty is a great piece of software and my decision to buy it was great.
The below are just some glitches (or possibly i am doing something wrong)

Well the problem was that the Features group was not dissapearing from Property details view when i was deselecting it from
Configuration-> Properties->Property details setting.

If someone has the same problem (as stated in the manual backend.doc) can go to the relevant file (which in this case is details.html.tpl.php of Theme2) and delete the below lines so Features group will not show up anymore in Property details. (probably i will have to fix it for mobile view also).
The code to be removed is :
Code:
<!-- description list --> <div class="shell"> <fieldset><legend><span><?php echo JText::_('OS_FEATURES')?></span></legend></fieldset> <div class="listing-features"> <div class="row-fluid"> <ul class="hvHomeInfo span6"> <li class="zebra"><strong><?php echo JText::_('OS_AMENITIES')?></strong></li> <?php echo $row->amens_str1;?> <?php if(count($row->extra_field_groups) > 0){ $extra_field_groups = $row->extra_field_groups; for($i=0;$i<count($extra_field_groups);$i++){ $group = $extra_field_groups[$i]; $group_name = $group->group_name; $fields = $group->fields; if(count($fields)> 0){ ?> <li class="zebra"><strong><?php echo $group_name;?></strong></li> <?php for($j=0;$j<count($fields);$j++){ if($j%2==1){ $class_name = "class='zebra propertyinfoli1'"; }else{ $class_name = "class='propertyinfoli1'"; } $field = $fields[$j]; ?> <li <?php echo $class_name;?>> <strong> <?php if($field->displaytitle == 1){ ?> <?php if($field->field_description != ""){ ?> <span class="editlinktip hasTip" title="<?php echo $field->field_label;?>::<?php echo $field->field_description?>"> <?php echo $field->field_label;?> </span> <?php }else{ ?> <?php echo $field->field_label;?> <?php } } ?> </strong> <span> <?php echo $field->value;?> </span> </li> <?php } } } } ?> </ul> <ul class="hvHomeInfo span6"> <li class="zebra"><strong><?php echo JText::_('OS_NEIGHBORHOOD')?></strong></li> <?php echo $row->neighborhood; ?> <?php if($row->pro_pdf != ""){ ?> <li class="zebra propertyinfoli1"><strong><?php echo JText::_('OS_PROPERTY_DOCUMENT')?></strong> <a href="<?php echo $row->pro_pdf?>" title="<?php echo JText::_('OS_PROPERTY_DOCUMENT')?>" alt="<?php echo JText::_('OS_PROPERTY_DOCUMENT')?>" target="_blank"> <?php echo $row->pro_pdf?> </a> </li> <?php } if($row->pro_pdf_file != ""){ ?> <li class="propertyinfoli1"><strong><?php echo JText::_('OS_PROPERTY_DOCUMENT')?></strong> <a href="<?php echo JURI::root()."components/com_osproperty/document/";?><?php echo $row->pro_pdf_file?>" title="<?php echo JText::_('OS_PROPERTY_DOCUMENT')?>" alt="<?php echo JText::_('OS_PROPERTY_DOCUMENT')?>" target="_blank"> <img src="<?php echo JURI::root()."components/com_osproperty/images/assets"; ?>/pdf.png" /> </a> </li> <?php } ?> </ul> </div> </div> </div> </div> <!-- end des -->

Thank you for our time reading this.

Dam ,if there is another more appropriatw way to do it please inform.

Regards,
Nik.

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

More
10 years 7 months ago #35901 by Mr. Dam
Replied by Mr. Dam on topic Re: Disabling features is not working
Hi,
Thank you for your suggestion, infact, i have fixed the issues that you mentioned, and i will release the patch soon.
Regards,
Dam

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

  • Nik
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
10 years 7 months ago - 10 years 7 months ago #35903 by Nik
Replied by Nik on topic Re: Disabling features is not working
Hi Dam,

thank you for your answer.

Great news that osproperty is improving.

Since you are going to release a patch maybe you are interested on some more glitches i have met to fix them too.

Please check the attached .doc file.

Regards,
Nik.
Attachments:
Last edit: 10 years 7 months ago by Nik.

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

  • Nik
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
10 years 7 months ago #36195 by Nik
Replied by Nik on topic Re: Disabling features is not working
Hi,
any news on this?

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

More
10 years 7 months ago #36196 by Mr. Dam
Replied by Mr. Dam on topic Re: Disabling features is not working
Hi Nik,
Please click on My downloads at the top to get the update
Thank you and i will wait for your bugs report, i am really appreciate you help :)
Dam

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

  • Nik
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
10 years 7 months ago - 10 years 7 months ago #36394 by Nik
Replied by Nik on topic Re: Disabling features is not working
Hi Dam,

glad i helped a bit.

I will report back if i see any other bug .

Regards,
Nik.
Last edit: 10 years 7 months ago by Nik.

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

  • Nik
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
10 years 7 months ago #36471 by Nik
Replied by Nik on topic Re: Disabling features is not working
Hi Dam,

i attach an updated version with latest glitches.

Regards,
Nik.
Attachments:

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

More
10 years 7 months ago #36482 by Mr. Dam
Replied by Mr. Dam on topic Re: Disabling features is not working
Hi Nik,
Please download OS Property 2.3(version today) and install it to solve the issue with gallery tab.
Regarding to new point in your document, i need to check in your live site, so can you please send me your site information with super admin account.
P/s: I am appreciate your bugs report
Thanks
Dam

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

Moderators: Mr. DamNguyen Phu Quan