Add in your custom plugin these files:
mod\your_plugin\views\default\page\elements\sidebar.php
mod\your_plugin\views\default\page\elements\sidebar_alt.php
With this content:
<?php
Flush the caches
As i checked in the directory, It has the sidebar.php file But inside the file the code is as below
If your goal is to remove all sidebars completely from your site then do as I said in the previous reply.
Remove all code from the existing file (sidebar.php) and add only:
<?php
Clean the caches after this changes.
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.