OS Property support center

search property mod.custom fields area defult open

More
11 years 2 months ago #25920 by ozan
hi,

the entrance to website costum fields area as open the entrance to website. sorry for bad english :(
Attachments:

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

More
11 years 2 months ago #25922 by Mr. Dam
Hi,
Unfortunately, current version, OS Property doesn't support the date and time arrival/departure as you want.
Thanks
Dam

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

More
11 years 2 months ago #25938 by ozan
i want to search property mod. costum fields area defult open posted. users would not have to press the [+] come in front of the user continuously open [-]

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

More
11 years 2 months ago #25944 by Mr. Dam
If you want the custom fields are shown in default, you can do it by modify file
modules > mod_ospropertysearch > tmpl > default.php
Find
<b><?php echo $group->group_name?> <a href="javascript:modOspropertySearchChangeDiv('group<?php echo str_replace("'","",strtolower(str_replace(" ","_",$group->group_name)));?>')" id="agroup<?php echo str_replace("'","",strtolower(str_replace(" ","_",$group->group_name)));?>" style="text-decoration:none;">[+]</a></b>
<div style="padding-top:10px;padding-bottom:10px;display:none;" id="group<?php echo str_replace("'","",strtolower(str_replace(" ","_",$group->group_name)));?>">
<table cellpadding="0" cellspacing="0" width="100%">
<?php
$fields = $group->fields;
for($j=0;$j<count($fields);$j++){
$customfield = $fields[$j];
HelperOspropertyFields::showFieldinAdvSearch($customfield,0);
}
?>
</table>
</div>

and change by

<b><?php echo $group->group_name?> <a href="javascript:modOspropertySearchChangeDiv('group<?php echo str_replace("'","",strtolower(str_replace(" ","_",$group->group_name)));?>')" id="agroup<?php echo str_replace("'","",strtolower(str_replace(" ","_",$group->group_name)));?>" style="text-decoration:none;">[-]</a></b>
<div style="padding-top:10px;padding-bottom:10px;display:block;" id="group<?php echo str_replace("'","",strtolower(str_replace(" ","_",$group->group_name)));?>">
<table cellpadding="0" cellspacing="0" width="100%">
<?php
$fields = $group->fields;
for($j=0;$j<count($fields);$j++){
$customfield = $fields[$j];
HelperOspropertyFields::showFieldinAdvSearch($customfield,0);
}
?>
</table>
</div>
The following user(s) said Thank You: ozan

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

More
11 years 2 months ago #25954 by ozan
Thank you man ;)

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

Moderators: Mr. DamNguyen Phu Quan