topbar

Hello

I want my topbar aways visible even befor login and after logout. I mean topbar should be visible for not logged in users

  • Dosen't sound that hard. I would start by looking how the topbar is rendered then make a non-logged on version of it and display it with the header view controling it with elgg_is_logged_in().

  • Create a new plugin a override the views in /views/default/page/default.php

     

    Take a look at the following condition

    <?php if (elgg_is_logged_in()): ?>
    <div class="elgg-page-topbar">
    <div class="elgg-inner">
    <?php echo $topbar; ?>
    </div>
    </div>
    <?php endif; ?>