Columns are not displayed
Support › MB Columns › Columns are not displayedResolved
- This topic has 16 replies, 2 voices, and was last updated 7 years, 4 months ago by
Anh Tran.
-
AuthorPosts
-
December 25, 2017 at 6:56 PM #7981
bukovinalife
Participanthelp me understand why
in older versions workedDecember 25, 2017 at 6:59 PM #7982bukovinalife
Participantmy 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; }
December 25, 2017 at 7:19 PM #7983bukovinalife
Participantrendering
<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>
December 26, 2017 at 5:07 PM #7994Anh Tran
KeymasterHi,
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,
AnhDecember 26, 2017 at 7:36 PM #8000bukovinalife
Participantthanks
December 28, 2017 at 12:35 PM #8028Anh Tran
KeymasterHi,
I've just updated both Meta Box and Columns extension to fix this. Please update them as well.
Thanks,
AnhDecember 28, 2017 at 3:00 PM #8035bukovinalife
ParticipantHi
I updated the metabox and metabox columns
pity on the problem persistsDecember 29, 2017 at 12:43 AM #8045bukovinalife
Participantproblems with the columns remained
eg 'columns' => 12, and othersDecember 29, 2017 at 3:29 AM #8047bukovinalife
ParticipantPlease help!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
http://nmodels.hol.es/1.jpg
http://nmodels.hol.es/2.jpgDecember 29, 2017 at 11:29 AM #8055Anh Tran
KeymasterHi,
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.
December 29, 2017 at 4:29 PM #8069bukovinalife
Participantin 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 sizeDecember 30, 2017 at 5:06 PM #8076bukovinalife
ParticipantHi
please consider my applications
The fact is that I tried on different servers both online and offline
problems remain in the local server VAMP does not render correctly the HTML code on servers, it is rendered correctly, but the problem is that it does not reflect the objects according to the specified sizes
I also saw that if I use a group of fields, columns not be reflected in any way
tested the same on the meta-box Version 4.8.5 and the column Version 0.1.1
in these versions everything works ok. because I'm sure that the problem is in the latest updates
if I can help with the decision let me know I really like what you are doing and ready to help in the development and projectDecember 30, 2017 at 5:45 PM #8077bukovinalife
ParticipantBy the way, I used this extra сss
.rwmb-field .select2-container, .select2-search__field, .rwmb-input input [type="text"], .rwmb-input input [type="search"], .rwmb-input input [type="password"], .rwmb-input input [type="email"], .rwmb-input textarea, .rwmb-input select { border: 1px solid #eee! important; width: 100%; }
sort of like the problem was partially solved (in the case of the reflection on the server)
December 30, 2017 at 6:16 PM #8078bukovinalife
ParticipantJanuary 2, 2018 at 11:07 AM #8087Anh Tran
KeymasterHmm, that's strange. Can you post your code to create meta boxes here?
-
AuthorPosts
- You must be logged in to reply to this topic.