Forum Replies Created
-
AuthorPosts
-
Anh Tran
KeymasterThanks for letting us know. We'll fix it soon.
Anh Tran
KeymasterHi,
This problem is caused by the validation library. It checks by the ID attribute. When cloning, we change the ID (by appending _1, _2, etc.) and thus, break the validation. We'll try to find a solution soon.
Anh Tran
KeymasterHi,
Yes, you can do that by specified the
stdvalue. This code will set the 3 inputs (clones):array( 'type' => 'text', 'id' => 'test', 'clone' => true, 'max_clone' => 3, 'std' => array( '', '', '' ) // Default values for 3 clones )Anh Tran
KeymasterHi zac, I've just fixed the bug with checkbox list. Please update the extension.
Anh Tran
KeymasterThank Troels for the bug and fix. We'll fix it now ๐
Update: New version is available. Please update.
August 8, 2017 at 11:28 AM in reply to: Custom post types without templates and pages with templates #6561Anh Tran
KeymasterHi, I think you need to separate them into 2 meta boxes. In this situation, the logic is applied to only 1 CPT. It's better to separate them.
You can put
fieldsinto a parameter to save your code, like this:$fields = array(); // Your fields for both meta boxes here $meta_boxes[] = array( 'id' => 'first-id', 'post_types' => 'page', 'show' => array(), 'fields' => $fields, ); $meta_boxes[] = array( 'id' => 'another-id', 'post_types' => 'solution', 'fields' => $fields, );August 8, 2017 at 11:25 AM in reply to: Image upload does not work with MB Frontend Submission #6560Anh Tran
KeymasterHi,
The problem with image upload in the frontend is permission. Users need to login and have the
upload_filescapability. WP doesn't allow anonymous user to browse the media library and upload there.So, I'd suggest you use the simple
imagefield, which allows uploading images, or you need to add more capabilities to allow users to upload (users still need to login though).Anh Tran
KeymasterThanks a lot for your info. I will check and fix the errors. Looks like the AIO plugin caused it.
Anh Tran
KeymasterHi,
That's totally fine. There is a benefit to know coding to use the plugin and extensions better, but it's still doable if you just follow the instruction.
The refund has been issued.
By the way, can you please tell me about the 1st problem, when you just activated the plugins and see the white screen. Do you see any error? Is there any error logged?
That can help us fix the bugs for others.
Thanks
AnhAnh Tran
KeymasterAnh Tran
KeymasterOK, great. We'll work on that.
Anh Tran
KeymasterI pushed a new version yesterday with an improvement for this. Please just update.
July 25, 2017 at 8:41 AM in reply to: FireFox Bug Re-ordering Photos using Image Advanced Field #6411Anh Tran
KeymasterHi Matt, I just realized this bug some days ago and fixed it.
Can you please try the latest version on Github and let me know if it works?
Thanks.
Anh Tran
KeymasterThanks for your reply. I see 1 problem with the syntax above: what if we have multiple
flex-item?Currently, we're working on an improved version of Columns, which supports syntax like this (similar to tabs):
$meta_boxes[] = array( 'title' => 'Test Columns', 'columns' => array( 'column-1' => 4, // Short syntax 'column-2' => array( 'size' => 8, 'class' => 'custom-class' ), // Advanced syntax ), 'fields' => array( array( // ... 'column' => 'column-1', ), array( // ... 'column' => 'column-2', ), ), );I think this syntax makes thing easier to implement. I tried using nested syntax, but it requires to completely rewrite the plugin, which might break backward compatibility.
I'll think more about the flex syntax. My goal is making it as simple as possible. Currently, I see it's kind of complicated.
Anh Tran
KeymasterOops, I used the short array syntax, which is available for PHP >= 5.4. Just fixed it in 1.2.10.
Thanks a lot for reporting!
-
AuthorPosts