- Posts: 23
- Thank you received: 0
OS Property support center
Remove sort fields from advanced search
- Dimitrios Papanikolaou
- Topic Author
- Offline
- Junior Member
-
Less
More
11 years 2 months ago #42271
by Dimitrios Papanikolaou
Remove sort fields from advanced search was created by Dimitrios Papanikolaou
How can I remove the fields: featured and title from advanced search?
Thanks in advance
Thanks in advance
Please Log in or Create an account to join the conversation.
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13059
- Thank you received: 1696
11 years 2 months ago #42282
by Mr. Dam
Replied by Mr. Dam on topic Remove sort fields from advanced search
Hi,
To remove fields in Advanced search form, please follow these steps
Open file: components > com_osproperty > helpers > common.php
find
<div class="span12">
<strong>
<?php echo JText::_('OS_FEATURED');?>:
</strong>
<?php
$isFeatured = JRequest::getVar('isFeatured',0);
if($isFeatured == 1){
$checked = "checked";
}else{
$checked = "";
}
?>
<input type="checkbox" name="isFeatured" id="isFeatured" value="<?php echo $isFeatured;?>" <?php echo $checked;?> onclick="javascript:changeValue('isFeatured')" />
</div>
and remove it
find
<div class="span12">
<strong>
<?php echo JText::_('OS_KEYWORD');?>
</strong>
<div class="clearfix"></div>
<input type="text" class="input-large" value="<?php echo htmlspecialchars($lists)?>" name="keyword" style="width:180px !important;" />
</div>
and remove it
Good luck
Dam
To remove fields in Advanced search form, please follow these steps
Open file: components > com_osproperty > helpers > common.php
find
<div class="span12">
<strong>
<?php echo JText::_('OS_FEATURED');?>:
</strong>
<?php
$isFeatured = JRequest::getVar('isFeatured',0);
if($isFeatured == 1){
$checked = "checked";
}else{
$checked = "";
}
?>
<input type="checkbox" name="isFeatured" id="isFeatured" value="<?php echo $isFeatured;?>" <?php echo $checked;?> onclick="javascript:changeValue('isFeatured')" />
</div>
and remove it
find
<div class="span12">
<strong>
<?php echo JText::_('OS_KEYWORD');?>
</strong>
<div class="clearfix"></div>
<input type="text" class="input-large" value="<?php echo htmlspecialchars($lists)?>" name="keyword" style="width:180px !important;" />
</div>
and remove it
Good luck
Dam
Please Log in or Create an account to join the conversation.
Moderators: Mr. Dam, Nguyen Phu Quan
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.