• Resolved arlieth-tralare

    (@arlieth-tralare)


    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 (https://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?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi,

    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>
    </li>

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

    Thread Starter arlieth-tralare

    (@arlieth-tralare)

    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Aleph] Making the “User” list accessible from Navigation menu’ is closed to new replies.