Hi,
I want to have .elgg-page-header visible on the home page only, however, as the users logs in, I want to hide/remove this header. How can I do that?
I can do the hiding part for all cases, that hides it from the home-page (before log in), and anywhere else. Please put some lights on this? Thank you. Bests.
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.
- Nikolai Shcherbin@rivervanrain
Nikolai Shcherbin - 0 likes
- N Mahmud@nasim
N Mahmud - 0 likes
- Nikolai Shcherbin@rivervanrain
Nikolai Shcherbin - 0 likes
- N Mahmud@nasim
N Mahmud - 0 likes
You must log in to post replies.You can override default page in your theme/plugin.
Just create your own views\default\page\default.php (for example, copy it from aalborg_theme mod to mod\your_theme_name_here\views\default\page\default.php)
Then change this file:
Don't forget about a new empty line after each
in there.
Also, you can edit your header view via overriding of views\default\page\elements\header.php in your cool theme ;)
Did you mean, only these lines should work? I have tried, no luck!
Again,
Now try this code: just copy-and-paste inside the file default.php
Thanks a million. It worked great.
I have a few more questions, if you have time, you may also like to see this, as its similar to what you have advised here. URL: https://elgg.org/discussion/view/2575084/how-to-stop-nav-bar-from-appearing-in-the-indexhome-page