Forum Replies Created

Viewing 15 posts - 2,611 through 2,625 (of 2,964 total)
  • Author
    Posts
  • in reply to: values of 'choices' #1248
    Steve
    Keymaster

    @sanderschat– Great job. Remember, Piklist does things the normal WordPress/PHP way. So getting the choices list would be the same if you were even generating a standard HTML form.

    in reply to: Multiple Media Upload fields major bug #1242
    Steve
    Keymaster

    @jonian– Please verify all fields have different field names. If that isn’t the issue, please post your code so we can review.

    in reply to: Can we use forms from frontend? #1239
    Steve
    Keymaster

    @iwillhappy1314–Frontend forms are still under development, and will be as easy to create as backend forms.

    in reply to: Plugin vs. installing into theme #1222
    Steve
    Keymaster

    Marcus–

    Based on your recommendation here>

    We added this:

        self::$paths[$type] = $path;        
        $path = str_replace(chr(92), '/', $path);
        self::$urls[$type] = plugins_url() . substr($path, strrpos($path, '/'));

    That doesn’t work?

    in reply to: Plugin vs. installing into theme #1219
    Steve
    Keymaster
    in reply to: Plugin vs. installing into theme #1216
    Steve
    Keymaster

    Marcus– This is the only folder structure Piklist currently recognizes >

    Let us know if you think we can improve it.

    in reply to: Widgets: Multiple Update Dialogs #1213
    Steve
    Keymaster

    I believe this was fixed in a past version. Are you running the Beta 6? If not, please upgrade. If so, please send a screenshot.

    in reply to: Need Help: 2 Big Bugs found #1208
    Steve
    Keymaster

    This is going to take a while. Lots of code here. One quick typo: The field “mae_p_pg_country” assigned to two fields. You probably want to change one to “mae_p_ch_country”

    in reply to: Autosum field? #1206
    Steve
    Keymaster

    @cosmocanuck– You can add any attributes you want to a field, including onFocus or onBlur, just by including it in the Attributes array.

    For example, let’s say you want to clear a field onFocus. Using the text_class_small field from Piklist Demos:

      piklist('field', array(
        'type' => 'text'
        ,'field' => 'text_class_small'
        ,'label' => 'Small'
        ,'description' => 'class="small-text"'
        ,'value' => 'Lorem'
        ,'attributes' => array(
          'class' => 'small-text'
          ,'onfocus' => "if(this.value == 'Lorem') { this.value = ''; }"
        )
        ,'on_post_status' => array(
          'value' => 'lock'
        )
      ));

    Also, this might help you. Some field plugins that other users have created >

    I also updated our docs to help answer your question.

    Let us know how it turns out.

    in reply to: Dashboard layout #1205
    Steve
    Keymaster

    Great! That fix will be in the next version. Closing this ticket.

    in reply to: Need Help: 2 Big Bugs found #1204
    Steve
    Keymaster

    Marcus– Please provide us with your metabox code.

    in reply to: Two way connections with post-relate? #1203
    Steve
    Keymaster

    If you need it in the next month or so, go with Posts2Posts. However, be aware that our approach will be different, and I don’t believe compatible with Posts2Posts.

    in reply to: Dashboard layout #1197
    Steve
    Keymaster

    In class-piklist-cpt.php. Find the sort_meta_boxes() function. Wrap everything within it in
    if (post_type_exists($post_type))

    That should fix the issue and will be in the next release.

    in reply to: Limit add_more #1194
    Steve
    Keymaster

    Currently, this is not supported. But it’s a great idea and on our list for future features.

    in reply to: Using Demos #1193
    Steve
    Keymaster

    Glad that worked. Calculative values are not supported, but on our future feature list.

Viewing 15 posts - 2,611 through 2,625 (of 2,964 total)