Support Forum » User Profile

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 80 total)
  • Author
    Posts
  • in reply to: Custom function example #47414
    HazmiHazmi
    Participant

    Hi Peter,

    after a thorough examination of the code, I found that the error was ultimately on my side.. I apologize for the mystification and thank you for your cooperation. This thread could easily be removed.

    in reply to: Custom function example #47398
    HazmiHazmi
    Participant

    The custom function is of course outside the definition of meta boxes. I'm just including it here as an example.

    in reply to: Custom function example #47397
    HazmiHazmi
    Participant

    Hi,
    there is a simple code, that does not save data. Without a condition (custom include function) - everything work as normal.

    function myFunction( $meta_box ) {
        return true;
    }
    
    $meta_boxes[] = [
        'title' => 'Test Meta Box',
        'post_types' => ['post'],
        'include' => [
            'custom' => 'myFunction',
        ],
        'fields' => [
            [
                'id' => 'keys',
                'type' => 'key_value'
            ],
            [
                'id' => 'groups',
                'type' => 'group',
                'clone' => true,
                'fields' => [
                    [
                        'id' => 'group-title',
                        'type' => 'text'
                    ],
                    [
                        'id' => 'group-description',
                        'type' => 'wysiwyg',
                        'options' => [
                            'textarea_rows' => 10,
                            'media_buttons' => false,
                            'tinymce' => false,
                            'quicktags' => false
                        ]
                    ]
                ]
            ]
        ]
    ];
    in reply to: Custom function example #47386
    HazmiHazmi
    Participant

    Hi,
    the code works fine (I had a typo in the code).

    But I ran into a big problem. If I display the metabox using this condition (custom function), then the data in the custom fields like "key_value" or "group" is not saved.

    I just fill in the fields and after saving these fields are empty. I need to fix this bug ASAP.

    Thank you.

    WP 6.7.1, Meta Box 5.10.6, MB Group 1.4.5

    in reply to: Problem with saving #47125
    HazmiHazmi
    Participant

    I changed only the group.js file.

    in reply to: Problem with saving #47116
    HazmiHazmi
    Participant

    I can confirm that the previously provided link to the JS file solved the bug I mentioned.

    in reply to: Problem with saving #47066
    HazmiHazmi
    Participant

    Hi Tan, I really need to fix this issue. My clients can't work and are waiting..

    in reply to: Problem with saving #47024
    HazmiHazmi
    Participant

    Hi, is there any estimate when this annoying bug will be fixed? It's making it hard to work.

    in reply to: WYSIWYG Auto P Tags #44532
    HazmiHazmi
    Participant

    Hi,

    no matter what i set..

    raw = true shows data from wysiwyg editor without <p> tag. I have to use wpautop function to get tags on the frontend. I'm using Metabox Group externsion with clone = true

    WP 6.4.3
    Metabox 5.9.0
    Metabox Group 1.3.18

    in reply to: custom field WYSIWYG content not displaying with formatting #39352
    HazmiHazmi
    Participant

    I have the same problem.

    in reply to: Default value for field in clonable group #38302
    HazmiHazmi
    Participant

    Hi,

    thank you - it helped me.

    in reply to: Technical issue with this extension #28658
    HazmiHazmi
    Participant

    Ok, i can confirm - version 1.2.11 of MB Columns fix the problem. Thank You.

    in reply to: Technical issue with this extension #28647
    HazmiHazmi
    Participant

    As others with this problem here wrote - there is a problem with not using AIO.

    in reply to: Technical issue with this extension #28577
    HazmiHazmi
    Participant

    Same problem here:

    Fatal error: Uncaught Error: Class 'MetaBox\Columns\Processor' not found...

    all (metabox) plugins uptodate.

    in reply to: Google reCaptcha #27472
    HazmiHazmi
    Participant

    Hi,

    is there any progress for an update?

Viewing 15 posts - 1 through 15 (of 80 total)