(dv):Disable Horde news feed
- This page was last modified on August 24, 2011, at 12:39.
From (mt) Community Wiki
Contents |
Overview
If you have a (dv) Dedicated-Virtual Server with Horde, you may wish to disable the NewsFeed which displays.
If Plesk is ever optionally updated by (mt) Media Temple you might need to apply these changes again.
Instructions
1. You must edit the sidebar.inc file starting at line 102:
vi +102 /usr/share/psa-horde/templates/portal/sidebar.inc
2. Now comment out the entire News block by adding /** before and after this block of code:
/**
if (window.NewsFeeds) {
window.NFopen = (readCookie('plesk_newsfeed_visible') == 'false') false : true;
document.write('<div id="NFcontent" class="sidebarPanel ' + (NFopen 'NFopen' : 'NFclose') +'">');
document.write('<table cellspacing="0" cellpadding="" width="100%" border="0" class="sidebarHeader"><tbody>');
document.write('<tr>');
document.write('<td class="headerTitle"><php echo _('Top News'); ></td>');
document.write('<td class="headerButtons"><a href="javascript:NFgetList();" class="btn-refresh" title="<php echo _('Refresh'); $
document.write('</tr>');
document.write('</tbody></table>');
document.write('<div id="newsFeeds"></div>');
document.write('</div>');
if (window.NFopen && readCookie('horde_sidebar_expanded') != 'false')
NFgetList();
}
**/
3. Save the file and restart your server.