Support Forum » User Profile

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: MB Relationships - Connection Metadata? #8370
    lobstervinelobstervine
    Participant

    Great! Thanks, will look for update & try it out tomorrow.

    in reply to: MB Relationships - Connection Metadata? #8360
    lobstervinelobstervine
    Participant

    Thank you both! Silly me, I should have been able to figure that one out. I have it working now.

    Another question for you: I read in the documentation (and see by using the plugin) that on the "to" post/page, you can view the connected posts only and can’t edit them. For my project, this is quite limiting. (With posts2posts, you can edit connected posts/pages from both the "from" and "to" post/page edit screens.) Is it possible to enable editing from the "to" post/page with MB Relationships?

    in reply to: MB Relationships - Connection Metadata? #8309
    lobstervinelobstervine
    Participant

    Thank you! I have installed MB Relationships but am having trouble with the very first step. When I add the code to create a relationship (pasted below) to my functions file, it breaks the site. Am I missing something? I notice it says "Note: you need to hook to mb_relationships_init to make sure the API is ready for use." -- is that a separate step and if so do you have documentation for that piece?

    add_action( 'mb_relationships_init', 'prefix_register_relationships' );
    function prefix_register_relationships() {
        MB_Relationships_API::register( array(
            'id'   => 'posts_to_pages',
            'from' => 'post',
            'to'   => 'page',
        ) );
    } );
Viewing 3 posts - 1 through 3 (of 3 total)