Support Forum ยป User Profile

Forum Replies Created

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • in reply to: โœ…Order of Relationship #14493
    Matthias NettekovenMatthias Nettekoven
    Participant

    Nevermind, the code part I used was using get posts which does not seem to work for the order. I switched over to WP Query. Any reason why the order does not work for get posts? The relationship query works as intended but not the order.

    in reply to: โœ…Order of Relationship #14490
    Matthias NettekovenMatthias Nettekoven
    Participant

    Anyone? The args above are referring to a default WP Query.

    in reply to: โœ…Group not working properly #14147
    Matthias NettekovenMatthias Nettekoven
    Participant

    Thanks. Update did solve it ๐Ÿ™‚

    in reply to: โœ…Group not working properly #14127
    Matthias NettekovenMatthias Nettekoven
    Participant

    Hi,

    this still does not work even after updating. According to the change log it was fixed but when I test it, boxes are still un-collapsed.

    'clone'  => true,
    'sort_clone' => true,
    'collapsible' => true,
    'default_state' => 'collapsed',

    The save state is no option since it will blow up the array. Any help on this would be great. Its been a month now.

    Matthias NettekovenMatthias Nettekoven
    Participant

    Hi,

    thanks that was it ๐Ÿ™‚ Appreciate your help.

    in reply to: โœ…Group not working properly #13711
    Matthias NettekovenMatthias Nettekoven
    Participant

    Hi,

    if you make use of the save state, but what if this should not be saved?

    Matthias NettekovenMatthias Nettekoven
    Participant

    Hi,

    I'm not using the user relations at all.

    I'm just having relations between post custom terms and custom post types. Which I assume is the reason for the behavior.

    So I have custom taxonomy which I added to "Posts". Since I need the same taxonomy all over different Custom Post Types, I made a relation between them. Example:

    MB_Relationships_API::register( array(
                'id'   => 'events_to_units',
                'from' => array(
                    'object_type' => 'term',
                    'taxonomy'    => 'units'
                ),
                'to'   => array(
                    'post_type' => 'events',
                    'meta_box' => array(
                        'title' => 'Add Unit'
                    )
                ),
            ) );

    Now there is a select "Event" Relation Meta box below each post. But I never added a relation between post and CPT.

    Hope that helps to understand my issue.

    in reply to: โœ…Group not working properly #13628
    Matthias NettekovenMatthias Nettekoven
    Participant

    @Anh Tran,

    are you aware of the issue? The state entered inside the array is not parsed into the final data HTML attribute output as far as I can see.

    Matthias NettekovenMatthias Nettekoven
    Participant

    Hi,

    having the same issue. Were you able to solve this?

    in reply to: โœ…Group not working properly #13506
    Matthias NettekovenMatthias Nettekoven
    Participant

    Hi,

    we are experiencing the same issue.

    array(
                        'id' => $this->prefix . '_event_guests',
                        'type' => 'group',
                        'clone'  => true,
                        'sort_clone' => true,
                        'collapsible' => true,
                        'default_state' => 'collapsed',
                        'save_state' => true,
                        'name' => esc_html__('Guests', 'ceps'),
                        'group_title' => array( 'field' => 'name' ),
                        'fields' => array(
                            array(
                                'name' => 'Name',
                                'id'   => 'name',
                                'type' => 'text',
                            ),
                            array(
                                'name' => 'Description',
                                'id'   => 'description',
                                'type' => 'textarea',
                            ),
    
                        )

    When refreshing the page, the tabs are not collapsed. Only when manually triggering them the state gets saved.

    Latest Version of both plugins installed.

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