I tried overriding the default php file under my plug-in directory custom_theme/views/default/page/default.php and removed the bit that displays the header.
However, it's not working. Have I placed it in the wrong directory, or the wrong file? Thanks!
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.
- iionly@iionly
iionly - 1 like
- DevDevy@DevDevy
DevDevy - 0 likes
You must log in to post replies.Another possibility would be to override views/default/page/elements/header.php. If you don't want anything from header.php displayed, you could override it with a modified version that is empty beside the initial <?php line.
If the modification seems to have no effect, you might need to flush the cache in the admin area. And it might be that some other plugin (theme) overrides the view(s), too. So, you would have to make sure that your plugin that contains the modified views is placed lower in the plugin list.
Hey, thanks! It turned out my override was working. The cache needed to be flushed, but I missed that. Also your method works too. Thanks!