- Posts: 17
- Thank you received: 1
OS Property support center
Remove Featured and Total Viewing
- Patrik
- Topic Author
- Offline
- New Member
-
Less
More
12 years 6 months ago #20067
by Patrik
Replied by Patrik on topic Re: Remove Featured and Total Viewing
You DONT have to rename or change the name of the extension!!!
The only things you have to do is:
1. search the file "listing.html.php" in folder ...\components\com_osproperty\classes\...
2. copy and paste it to your Computer/Desktop
3. delete in the file "listing.html.php" like Sky said:
find around 900 line... With this deleted/ commented, You will lose Featured view...
<tr>
<td class="left_details_col">
<?php echo JText::_('OS_FEATURED')?>
</td>
<td class="right_details_col">
<?php
if($row->isFeatured == 1){
echo JText::_('OS_YES');
}else{
echo JText::_('OS_NO');
}
?>
</td>
</tr>
And around 1000 line, same file, deleting or commenting this code, you will lose total viewing.
<tr>
<td class="left_details_col">
<?php echo JText::_('OS_TOTAL_VIEWING')?>
</td>
<td class="right_details_col">
<b><?php echo $row->hits;?></b>
</td>
</tr>
I am saying around that, maybe +/- 5 lines, since i was editing something myself, so not sure exact line.
4. Copy via FTP the file to folder ...\components\com_osproperty\classes\... and overwrite the original "listing.html.php"
Thats all
The only things you have to do is:
1. search the file "listing.html.php" in folder ...\components\com_osproperty\classes\...
2. copy and paste it to your Computer/Desktop
3. delete in the file "listing.html.php" like Sky said:
find around 900 line... With this deleted/ commented, You will lose Featured view...
<tr>
<td class="left_details_col">
<?php echo JText::_('OS_FEATURED')?>
</td>
<td class="right_details_col">
<?php
if($row->isFeatured == 1){
echo JText::_('OS_YES');
}else{
echo JText::_('OS_NO');
}
?>
</td>
</tr>
And around 1000 line, same file, deleting or commenting this code, you will lose total viewing.
<tr>
<td class="left_details_col">
<?php echo JText::_('OS_TOTAL_VIEWING')?>
</td>
<td class="right_details_col">
<b><?php echo $row->hits;?></b>
</td>
</tr>
I am saying around that, maybe +/- 5 lines, since i was editing something myself, so not sure exact line.
4. Copy via FTP the file to folder ...\components\com_osproperty\classes\... and overwrite the original "listing.html.php"
Thats all
Please Log in or Create an account to join the conversation.
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13020
- Thank you received: 1688
12 years 6 months ago #20070
by Mr. Dam
Replied by Mr. Dam on topic Re: Remove Featured and Total Viewing
Hi,
Please do not change name and extension of the backup file. The best way is you create the sub-folder in the folder "classes" and copy the backup files to that folder. And then you can modify the file in the "classes" folder.
Thanks
Dam
Please do not change name and extension of the backup file. The best way is you create the sub-folder in the folder "classes" and copy the backup files to that folder. And then you can modify the file in the "classes" folder.
Thanks
Dam
Please Log in or Create an account to join the conversation.
- Toon
- Offline
- New Member
-
Less
More
- Posts: 3
- Thank you received: 0
12 years 6 months ago #20111
by Toon
Replied by Toon on topic Re: Remove Featured and Total Viewing
Guys, my bad...Sometimes You think too difficult
But great module, great support and Happy I bought it!!
Keep up the good work and In the future I'l be using more of the joomdonation modules :laugh:

Keep up the good work and In the future I'l be using more of the joomdonation modules :laugh:
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.