Forum Replies Created

Viewing 15 posts - 1,936 through 1,950 (of 2,964 total)
  • Author
    Posts
  • in reply to: Widget: Array to string conversion Error #3309
    Steve
    Keymaster

    @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?

    in reply to: Post-Relate question/bug #3302
    Steve
    Keymaster

    @dryan1144

    Yup… 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.

    in reply to: Post-Relate question/bug #3300
    Steve
    Keymaster

    Please post your field code

    in reply to: Problem with widgets #3298
    Steve
    Keymaster

    @blitzbat–- I just send you an email.

    in reply to: display & link taxonomies on single-*.php #3297
    Steve
    Keymaster

    @jan– I’m sorry… I think I’m confused. Please explain in detail what you are trying to accomplish. We are happy to help.

    in reply to: Adding "add media" to group #3296
    Steve
    Keymaster

    Please email your field code to [email protected] We’ll try to reproduce.

    in reply to: Problem with widgets #3292
    Steve
    Keymaster

    @blitzbat– Welcome to the Piklist community!

    Please provide a link to the Awesome plugin builder so we can test.

    in reply to: Adding "add media" to group #3288
    Steve
    Keymaster

    @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.

    in reply to: display & link taxonomies on single-*.php #3287
    Steve
    Keymaster

    @Jan– Taxonomies also use the rewrite parameter.

    in reply to: Custom post type #3281
    Steve
    Keymaster

    This 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()

    in reply to: Not saving meta boxes #3278
    Steve
    Keymaster

    Great 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.

    in reply to: Advice for sorting by date (with Date Picker) #3275
    Steve
    Keymaster

    @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.

    in reply to: Not saving meta boxes #3268
    Steve
    Keymaster

    @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.

    in reply to: Not saving meta boxes #3267
    Steve
    Keymaster

    @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]

    in reply to: Validation always pass #3265
    Steve
    Keymaster

    Great! Closing ticket. Let us know if you need anything else.

Viewing 15 posts - 1,936 through 1,950 (of 2,964 total)