Custom Fields
Re-Envisioned
Support Meta Box Columns Columns are not displayed

This topic contains 16 replies, has 2 voices, and was last updated by  Anh Tran 1 year, 3 months ago.

  • Creator
    Topic
  • #7981
    Resolved
    bukovinalife
    Participant

    help me understand why
    in older versions worked

Viewing 10 replies - 1 through 10 (of 16 total)
  • Author
    Replies
  • #7982

    bukovinalife
    Participant

    my code

    add_filter( 'rwmb_meta_boxes', 'your_prefix_register_meta_boxes' );
    
    function your_prefix_register_meta_boxes( $meta_boxes ) {
    
        $meta_boxes[] = array (
          'id' => 'test',
          'title' => 'test',
          'pages' =>   array (
             'post',
             'page',
          ),
          'context' => 'normal',
          'priority' => 'high',
          'autosave' => false,
          'fields' =>   array (
             
            array (
              'id' => 'text_1',
              'type' => 'text',
              'name' => 'Text Field',
              'columns' => 4,
            ),
             
            array (
              'id' => 'datetime_5',
              'type' => 'datetime',
              'name' => 'Date Time Picker',
              'columns' => 8,
            ),
          ),
        );
    
        return $meta_boxes;
    
    }
    #7983

    bukovinalife
    Participant

    rendering

    <div class="rwmb-row">
      <div class="rwmb-column rwmb-column-6  rwmb-column-first">
       <div class="rwmb-field rwmb-text-wrapper">
        <div class="rwmb-label">
         <label for="prefix-text_1">Text</label>
        </div>
        <div class="rwmb-input ui-sortable">
         <input size="30" id="prefix-text_1" class="rwmb-text " name="prefix-text_1" type="text">
        </div>
       </div>
    
       <div class="rwmb-field rwmb-text-wrapper">
        <div class="rwmb-label">
         <label for="prefix-text_2">Text</label>
        </div>
       <div class="rwmb-input ui-sortable">
        <input size="30" id="prefix-text_2" class="rwmb-text " name="prefix-text_2" type="text">
       </div>
      </div>
     </div>
    <!-- .rwmb-column -->
    </div>
    #7994

    Anh Tran
    Keymaster

    Hi,

    We have some bugs in the Columns extension. We have fixed it, but have to wait to release the new version of Meta Box (by the end of tomorrow) to make it works. Please wait.

    Thanks,
    Anh

    #8000

    bukovinalife
    Participant

    thanks

    #8028

    Anh Tran
    Keymaster

    Hi,

    I’ve just updated both Meta Box and Columns extension to fix this. Please update them as well.

    Thanks,
    Anh

    #8035

    bukovinalife
    Participant

    Hi
    I updated the metabox and metabox columns
    pity on the problem persists

    #8045

    bukovinalife
    Participant

    problems with the columns remained
    eg ‘columns’ => 12, and others

    #8047

    bukovinalife
    Participant

    Please help!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    http://nmodels.hol.es/1.jpg
    http://nmodels.hol.es/2.jpg

    #8055

    Anh Tran
    Keymaster

    Hi,

    Looks like the 1st image correct. Just a stupid question, but have you updated your code on your localhost? The remote host seems to work properly.

    #8069

    bukovinalife
    Participant

    in the first picture
    12 columns should be expanded by 12 columns
    6 columns should be expanded into 6 columns
    3 columns should be expanded into 3 columns
    but as you can see they are all of the same size

Viewing 10 replies - 1 through 10 (of 16 total)

You must be logged in to reply to this topic.