This topic has 8 replies, 2 voices, and was last updated 10 years by Abe.

  • Author
  • #16051
     guy_fraser
    Participant

    Hi,

    I’m not sure if this is a Kleo issue or BuddyPress issue.

    I’ve created a page “Socialise” and then gone in to Settings > BuddyPress and on the Pages tab I’ve set Activity Streams to use that page.

    When I view the Socialise page, the activity stream is there however…

    1. The page title is “Sitewide Activity”, not “Socialise” – how do I change that?

    2. The breadcrumb trail names the current page “Activity” (it should be Socialise) and the hyperlink is to /activity when it should be /socialise – how do I change that?

    #16052
     guy_fraser
    Participant

    In addition, I’ve made Members page a child of Socialise page, but the breadcrumb trail shows: Home / Members instead of: Home / Socialise / Members

    It seems the breadcrumbs and titles of these pages are hardcoded in the theme?

    #16287
     Abe
    Keymaster

    Hi, Sitewide activity name comes from Buddypress and you can change it by translating Buddypress strings. See: http://codex.buddypress.org/getting-started/customizing/customizing-labels-messages-and-urls/

    I have changed a bit the code for breadcrumb so it will show the correct name for the members and group pages if you rename the pages assigned to Buddypress and the activity translated as instructed above. Until next update please replace this file content wp-content\themes\kleo\kleo-framework\lib\function-breadcrumb.php with the the one from the attached file. Members page will only take the name of the assigned one and won’t show it’s parent page

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    ---
    @ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.

    Attachments:
    You must be logged in to view attached files.
    #16320
     guy_fraser
    Participant

    Hi,

    Thanks for this, I’ve uploaded the file and it’s a great improvement.

    I still wish the page title and breadcrumbs would be based on the actual page name and hierarchy though 😉

    #16340
     Abe
    Keymaster

    Buddypress has it’s own components name which you can change. See: https://archived.seventhqueen.com/forums/topic/pag-navigation-bug/#post-1882

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    ---
    @ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.

    #16354
     guy_fraser
    Participant

    Why not just use the standard breadcrumb trail for pages (Groups, Members, etc) and then append to it for the virtual pages (user profiles, topics, etc)?

    #16358
     Abe
    Keymaster

    That is the way it works but Buddypress rewrites the page title for the activity. Your members and groups should be fine with the modified code

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    ---
    @ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.

    #16369
     guy_fraser
    Participant

    So, I kind of see what you’re getting at, but as both an end-user and site admin I find it terribly confusing. WP allows me to create page hierarchies, set the slugs of pages, and set the titles of pages. When working with normal pages, both the titles and breadcrumbs work fine.

    However, when using bbPress and BuddyPress, there seems to be a break from the standard conventions to some seemingly random way of doing things, and I can’t fathom why.

    My Page hierarchy <and what I’ve associated each page with>:

    Socialise <sitewide activity>
    – Members <members directory>
    – Groups <groups directory>
    – Forums <forums directory>

    So, for example, I would expect that when I’m on Groups page, the breadcrumbs would be:
    Home > Socialise > Groups

    What I actually get is something quite random:

    Socialise (gives: Home / Sitewide Activity; desired: Home / Socialise)
    – Members (gives: Home / Members; desired: Home / Socialise / Members)
    – Groups (gives: Home / Groups Create a Group; desired: Home / Socialise / Groups)
    – Forums (gives: Home; desired: Home / Socialise / Forums)

    Ignoring page titles for a moment, and focussing just on the breadcrumb trail, it’s the fact that “Socialise” part of the trail is missing in the Members, Groups and Forums pages, etc. – the breadcrumb trail, which is supposed to reflect the actual page hierarchy, is not reflecting the actual page hierarchy…

    I realise that the bbForums and BuddyPress plugins output their own page titles / breadcrumbs, but I’m also aware that the theme also manipulates these things and, as such, was wondering if the theme could cover up some of the UX cracks caused by the third party plugins.

    My main frustration is that I’m not proficient enough in PHP to work out how to change this myself – I tried earlier today and crashed my site.

    Attachments:
    You must be logged in to view attached files.
    #16846
     Abe
    Keymaster

    Hi, I understand what you are saying and we will try to see if it can be done in a way but doing so e hacks to the urls might cause some problems in other areas. It is Buddypress way of implementing components urls. Also the forum url can be configured from Settings – Forums

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    ---
    @ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.

Viewing 9 posts - 1 through 9 (of 9 total)

The forum ‘KLEO’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?