Forum Replies Created
-
AuthorPosts
-
Anh Tran
KeymasterUnfortunately, Tabs is not supported by Group extension. You can use Columns extension with Group. The UI of the tabs is too special and not suitable for groups.
Anh Tran
KeymasterCan you please write in English?
Anh Tran
KeymasterHi,
I don't see
post_typesparameter for the meta box. Please add this:'post_types' => 'page', 'fields' => ... // Your fields hereFor more info about
post_types, please check here.October 19, 2015 at 8:55 PM in reply to: URGENT: Unable to make the Conditional Plugin work after activation ;( #1590Anh Tran
KeymasterHi Jan,
Please view your website and see the magic ๐ I've just updated code in your
pemtec/includes/custom-post-fields.phpI have checked your code and see that you're not register meta boxes by
rwmb_meta_boxesfilter. So Conditional Logic can't get these fields. Please see example at:https://metabox.io/docs/registering-meta-boxes/
Sorry, my computer was broken fn, up, down, left, right, backspace key so I can't reply you quicky.
Best regards
Tan NguyenOctober 19, 2015 at 6:31 PM in reply to: URGENT: Unable to make the Conditional Plugin work after activation ;( #1587Anh Tran
KeymasterSorry, did you sent via Contact Form? Or what receiver email did you sent to? I haven't received any email yet.
October 19, 2015 at 6:20 PM in reply to: URGENT: Unable to make the Conditional Plugin work after activation ;( #1585Anh Tran
KeymasterBtw, can you please try to change ID of 'test_me_now' and 'my_test_price' to some dummy text. For example 'f0310_tmn' and 'r01944_mtp'. Perhaps your ID is defined somewhere else?
October 19, 2015 at 6:13 PM in reply to: URGENT: Unable to make the Conditional Plugin work after activation ;( #1584Anh Tran
KeymasterYes, we declare 'use strict'; to force browser uses strict mode, therefore make sure that it can run on old browsers. It's will be good for us if I can access your website and test.
October 19, 2015 at 6:00 PM in reply to: URGENT: Unable to make the Conditional Plugin work after activation ;( #1582Anh Tran
KeymasterHmm, it's so weird. I have just tested with your registered fields and it works on my machine. Can you please give me full code which you used to register your meta box, or better give me a credential to your production server via contact form?
Btw, Conditional Logic just require WP 3.5+, your PHP version is good for install.Anh Tran
KeymasterIf you just want to show, then you can use the
custom_htmlfield. This field can show any content in your meta box. You just need to pass$post->post_excerptto itsstdattribute, like this:global $post; // Define meta box ... 'fields' => array( array( 'type' => 'custom_html', 'std' => $post->post_excerpt, ), )Anh Tran
KeymasterDid you means limit words retrieved from a field? If so, you can follow this guide:
http://stackoverflow.com/questions/965235/how-can-i-truncate-a-string-to-the-first-20-words-in-php
Anh Tran
KeymasterI've just pushed a fix to Github. It will be in the core plugin in the next version (soon).
Thanks for letting me know about the bug!
Anh Tran
KeymasterLet me check that again. By the way, are you using the stable version or development version on Github?
Anh Tran
KeymasterHi Vladimir,
Thanks for using and reporting. Exactly, this is the existing bug in MB Conditional Logic.
Long answer:
When you define 'pg_vehicles_cta' in group field, if they clonable, so we can have 'pg_vehicles_cta_1', 'pg_vehicles_cta_2', etc... Or when you use conditional logic on special field which haven't normal ID or class name or name so I'll have to create a selector which match all 'pg_vehicles_cta*', so you can try to use different IDs in these field to make sure not match with 'pg_vehicles_cta*'. We're trying to fix this bug in next release.Short answer: Change ID to something doesn't starts with 'pg_vehicles_cta' like you've did will works.
Regards
Tan Nguyen
Anh Tran
KeymasterI think this related with some custom Javascript. It's not something the plugin does by default.
Anh Tran
KeymasterIf the data is serialized (cloned fields), then there's no easy way to search with SQL.
But if you want to search normal meta data, not serialized, you can do this by following this tutorial:
http://www.deluxeblogtips.com/2012/04/search-all-custom-fields.html
Another solution is using the plugin SearchWP. I haven't tested it yet, but from what it says, it can handle serialized and JSON data in the custom fields.
-
AuthorPosts