[resolved] [Plugin: Aleph] Making the "User" list accessible from Navigation menu (3 posts)

  1. Arlieth Tralare
    Posted 6 years ago #

    Earlier, I changed the "People" slug to become "Members", so i'll call it the "Users page" to refer to the page.

    In order to attempt a sloppy link to the Users page from my navigation bar, I created a blank page called Members. However:

    Whenever I access the page by clicking Members (http://www.meltybread.com/bbnto/members my Navigation bar seems to get borked- There is no longer a News page and Members is not highlighted as a page.

    Is there a way to make the Users page accessible from the navigation bar and have it appear normally, with the News page showing?

  2. Detective
    Posted 6 years ago #


    Currently Aleph doesn't support overriding a page. Creating a page with the same slug works but there is no way to automatically highlight the "current page" item in the navigation menu.

    If the menu gets borked it's probably a problem with your theme, because Aleph doesn't interfere with that. The "news page" doesn't get linked on profiles too...

    You can hardcode the link in the nav menu in this way:

    <li class="page_item<?php if (is_user_view()) echo ' current_page_item'; ?>">
    <a href="[your-members-url]">Members</a>

    I'll consider this for the next version. Thanks.

  3. Arlieth Tralare
    Posted 6 years ago #

    I had to do some cut and pasting with my headers into my users.php & profiles.php and it fixed the "News" not showing up. Fortunately, all other pages show up normally. I figured I can live without having the Members page highlighted, it's a very small price to pay for all the functionality of this plugin.

    Thank you so much for your support and hard work! This plugin is really a lifesaver.

Topic Closed

This topic has been closed to new replies.

About this Topic