Forum Replies Created
-
AuthorPosts
-
Anh Tran
KeymasterHi, this bug was just fixed on Github. It will be released in v4.8.3 soon this week. If you need it urgent, please try the development version on Github.
Anh Tran
KeymasterHi, please update the Group extension to the latest version 1.0.5. Version 1.0.5 fixed this bug.
March 1, 2016 at 10:30 AM in reply to: โ Wysiwyg editor in clonable groups and nested clonable groups #2395Anh Tran
KeymasterUpdate: I've just made a commit fafe882, which allows you to clone WYSIWYG fields. It hasn't worked for the group yet. It works as a standalone field only. I will keep working on that.
Can you please help me to check it? It's in the
clone-wysiwygbranch:Anh Tran
KeymasterCould you please send me the admin info so I can take a look and fix it if possible? Please send via the Contact form.
Thanks
Anh Tran
KeymasterHi skynet,
All extensions are supposed to add functionality to the plugin. And the functionality mostly does NOT have UI, except the Builder extension.
All you see is the UI of the Builder extension where you can create meta boxes and fields visually, which is correct.
Please take a look at the Documentation to use the extensions in the bundle.
Anh Tran
KeymasterHi,
Thanks for your question. Currently, it's not supported. But that's a good idea. I will implement that in the next version.
February 26, 2016 at 8:28 AM in reply to: Taxonomy not displaying since update to latest version #2381Anh Tran
KeymasterHi, can you please update Group extension to the latest version to fix that?
Also can you check if you register meta boxes for the admin area only, kind of:
if ( is_admin() ) { add_filter( 'rwmb_meta_boxes', 'prefix_register_meta_boxes' ); }The function to register meta boxes should be visible both on the admin area and frontend.
Anh Tran
KeymasterGlad to see it works for you now.
February 23, 2016 at 11:52 AM in reply to: โ Tolltip doesn't work with the new Select_advanced #2361Anh Tran
KeymasterThanks for post. I will check it. The 4.8.0 has updated Select2 library to the latest version and that might cause the bug.
February 23, 2016 at 11:49 AM in reply to: Images not showing after updating to 4.8.1 and related extensions #2360Anh Tran
KeymasterHi,
Yes, the image fields should be always saved as an array. In the previous version of Meta Box, the value of file and image are sent as a CSV string and then parsed to an array. IF you upload only 1 image, then CSV = attachment ID, I think that's why you see the only 1 ID when you get
$icon[iconimage]. Now it's always an array to make compatible with the core plugin.February 21, 2016 at 9:42 PM in reply to: โ Wysiwyg editor in clonable groups and nested clonable groups #2354Anh Tran
KeymasterI'm not sure about the time. But me and 1 developer will work hard on wysiwyg field for 2 weeks and hope we can get something.
Anh Tran
KeymasterSorry for the late reply. Can you please export your registered meta box for us?
Anh Tran
KeymasterSorry for late reply. The last couples of days I had to deal with the bugs in the update of 4.8.1 version.
Back to your question, are you asking about the condition to show options in the admin area? e.g. If you select Samsung as the brand, then only show Samsung's model. If select Nokia as the brand, show only Nokia's model?
If that's the correct question, then I see you're doing it right. I tested your code and see it works perfectly.
Regarding showing the value on the frontend, I think you to show only the model if the corrected brand is selected (e.g. only show Lumia if Nokia is selected), you should change the code to this:
$brand = rwmb_meta( 'brand' ); echo 'Brand: ', $brand, '<br>'; $model = 'Samsung' == $brand ? rwmb_meta( 'Samsung_products' ) : rwmb_meta( 'Nokia_products' ); echo 'Model: ', $model;Anh Tran
KeymasterAh, you're using the Group extension. Please update it to the latest version (1.0.5).
-
AuthorPosts