Forum Replies Created
-
AuthorPosts
-
SteveKeymaster@Gregg– Welcome to the Piklist community! Great to hear from you.
List items (checkboxes, radio and select) are stored as arrays in the widget settings.
For multi-select list items (checkboxes and select), loop over each item in the array:
$radio_values = $settings['radio']; foreach ($radio_values as $radio => $value) { echo $value; }For Radio Buttons it’s easier. Just pull the first key.
radio_value = $settings['radio'][0]; echo $radio_values;
Does this make sense?
SteveKeymasterYup… this still doesn’t work 😉
We currently rethinking the Post Relate field. If you need this type of functionality right away, you may want to try a standard checkbox:
piklist('field', array( 'type' => 'checkbox', 'field' => 'portfolio_relate', 'label' => __('Add Ons'), 'value' => 'platform', 'choices' => piklist( get_posts( array( 'post_type' => 'post' ,'orderby' => 'post_title' ) ,'objects' ) ,array( 'ID' ,'post_title' ) ), 'conditions' => array( array( 'field' => 'portfolio_type', 'value' => 'platform' ) ) ));Let us know if that works for you.
SteveKeymasterPlease post your field code
SteveKeymaster@jan– I’m sorry… I think I’m confused. Please explain in detail what you are trying to accomplish. We are happy to help.
SteveKeymasterPlease email your field code to [email protected] We’ll try to reproduce.
SteveKeymaster@blitzbat– Welcome to the Piklist community!
Please provide a link to the Awesome plugin builder so we can test.
SteveKeymaster@stevo81989– This is a known issue with certain types of fields in add_mores. I emailed you a copy of our beta version which should fix the issue.
Let us know.
SteveKeymaster@Jan– Taxonomies also use the
rewriteparameter.
SteveKeymasterThis looks correct. However to assign a taxonomy that is already registered, like categories, you need to use the WordPress function register_taxonomy_for_object_type()
SteveKeymasterGreat find! However we want to fix this.
Please activate Total Cache with the same settings so Piklist doesn’t work. Now go to the sidebar navigation menu of your site’s dashboard, click on the link for General Settings under the Performance tab. Find the EXPORT button and click it.
Email us the export file.
Thanks.
SteveKeymaster@jason– Piklist stores the data the way you display it. Doesn’t make sense to store it differently.
@angelique– It’s very easy to manipulate the date with standard PHP functions. Here’s a post that should help.
SteveKeymaster@alicegege– I received your files and tested… and it looks good to me. Saving fine.
I’m thinking it might be a plugin conflict. Please try disabling your plugins, except Piklist, and then enable them one-by-one and try saving. Hopefully this can help narrow it down.
SteveKeymaster@alicegege– Send us the plugin you are writing, or the theme. Which ever has the Piklist code. Zip it up and email to [email protected]
SteveKeymasterGreat! Closing ticket. Let us know if you need anything else.
-
AuthorPosts