Forum Replies Created

Viewing 15 posts - 2,026 through 2,040 (of 2,964 total)
  • Author
    Posts
  • in reply to: Nested groups with add_more, ajax select, add_more template #3060
    Steve
    Keymaster

    @egamipeaks– Awesome! Please post the final code when you are finished. We would love to see it.

    in reply to: Nested groups and conditionals #3059
    Steve
    Keymaster

    Looks like we have a bug with conditions inside two groups. This one may take a while to fix.

    in reply to: Can't see widget in Admin Panel #3058
    Steve
    Keymaster

    There’s two ways to change the widget name:
    1) Rename your theme.
    2) Place the widgets in an add-on (like we do with Piklist Demos).

    in reply to: Can't see widget in Admin Panel #3056
    Steve
    Keymaster

    Is your widget in your theme? I think it’s the one called “TwentyTwelve Child Theme Widgets”

    in reply to: More add_more woes… #3053
    Steve
    Keymaster

    There seems to be a bug with this type of field config and the BASIC uploader. If you remove the ‘basic’ it should work:

    ,'options' => array(
      'basic' => true
    )
    in reply to: Checking if a field/array has a value #3052
    Steve
    Keymaster

    I think this should work: !empty($productClaims[0])

    in reply to: Can't see widget in Admin Panel #3051
    Steve
    Keymaster

    @azizultex– Piklist rolls up all Widgets built within a plugin or theme into ONE widget. For example, if activate Piklist Demos, you will see ONE Widget called “Piklist Demo Widgets”. Once you drag it into the widget area you will see it contains multiple widgets.

    Let me know if you can’t find it.

    in reply to: media upload #3050
    Steve
    Keymaster

    @azizultex– this feature is on our list of todos. Glad Piklist made your dreams come true!

    If you have the time, please let the world know how much you love Piklist and leave a review on WordPress.org.

    in reply to: More add_more woes… #3039
    Steve
    Keymaster

    Just pushed v.0.9.4.24 to WordPress.org. This upgrade should fix your image issues.

    Clicking on the image should bring you back to the upgrade screen.

    in reply to: Checking if a field/array has a value #3038
    Steve
    Keymaster

    @cosmocanuck– I need to see the output of $productClaims.

    Please run this code and paste the output here:

    $productClaims = get_post_meta($post->ID, 'claims', false);
    piklist::pre($productClaims);
    
    in reply to: Still Confused about File / Image Upload #3037
    Steve
    Keymaster

    @dawood– Don’t be confused. We updated the tutorial to $post->ID. As long as you can get the post ID, you’re find.

    in reply to: No paragraphs or line breaks displaying from my editor field #3036
    Steve
    Keymaster

    @cosmocanuck– WordPress does all the work when you use the_content(). On custom Editors you need to do the work. I updated the bottom of the Editor docs with the info you need.

    in reply to: Security #3027
    Steve
    Keymaster

    @dawood– Awesome! Closing ticket.

    in reply to: Security #3024
    Steve
    Keymaster

    @dawood– This line of code should be BEFORE the foreach, not in it, since it grabs the data that the foreach loops through.

    $image_ids = get_post_meta($post_id, 'my_image');

    Let me know if that works for you.

    in reply to: media upload #3022
    Steve
    Keymaster

    @azizultex– You can limit the amount of images uploaded by using the limit validation rule:

    'validate' => array(
      array(
        'type' => 'limit'
        ,'options' => array(
          'min' => 1
          ,'max' => 1
        )
      )
    )
    

    Piklist Validation rules are server-side for security reasons. So the user can try to upload multiple images, but once they press save, Piklist will show them an error message. You should probably let users know to only upload one image in your field description.

    Let us know if this works for you.

Viewing 15 posts - 2,026 through 2,040 (of 2,964 total)