Forum Replies Created

Viewing 15 posts - 1 through 15 (of 19 total)
  • Author
    Posts
  • in reply to: BUG when delete medium element in repeater #7605
    ndbe
    Member

    There was a topic about this. There is a bug in js.

    [0.9.9.6] Add more problem

    My answer from this thread is a fix that i’m using (you have to edit core piklist files)

    in reply to: Grouped Add-More removal problem #6281
    ndbe
    Member
    in reply to: Manipulate input data before post meta save #6026
    ndbe
    Member

    You can also use standard “save_post” filter and modify the fields you want after.

    in reply to: [0.9.9.6] Add more problem #5985
    ndbe
    Member

    if someone is struggling with original issue (lost add more items after remove) try this:
    in file piklist.js (parts/js folder) around line 1495 change this code:

    $this.re_index($wrapper.parent(), true);
    
                $wrapper
                  .trigger('piklistaddmore', [$wrapper, 'remove'])
                  .remove();

    to this:

          var $parent = $wrapper.parent();
    
                $wrapper
                  .trigger('piklistaddmore', [$wrapper, 'remove'])
                  .remove();
                  
                  $this.re_index($parent, true);

    It looks like this little patch fixed the issue for me.

    in reply to: Custom status and publish #5793
    ndbe
    Member

    It’s not a pretty way but you can always do this with JS.

    in reply to: Custom status and publish #5786
    ndbe
    Member

    I think it’s default WordPress behavior. If you remove status with name ‘publish’ the button always changes to save and you have to set post status by hand. You can bypass this by creating post status with name publish and different label.

    in reply to: [0.9.9.6] Add more problem #5089
    ndbe
    Member

    Yes exactly the same but in my installation last element vanishes after saving. That’s weird. Can you point me to the part of the plugin that should reindex things?

    in reply to: [0.9.9.6] Add more problem #5062
    ndbe
    Member

    Ware you able to replicate this behavior?

    in reply to: [0.9.9.6] Add more problem #5028
    ndbe
    Member

    Maybe this will help

    Attachments:
    You must be logged in to view attached files.
    in reply to: [0.9.9.6] Add more problem #5021
    ndbe
    Member

    Clean WordPress install with no plugins, only piklist [0.9.9.4]. After activation of piklist demos in the Add-More’s tab same problem. Serialized groups (“Todo’s (Serialized Group)” and “Newsletter Signup”) don’t reindex and all the elements after element that was deleted are gone.

    Both on server with PHP 5.6.4. Wp_debug set to true returns no errors.

    in reply to: [0.9.9.6] Add more problem #5020
    ndbe
    Member

    Can you tell me where in the plugin code is function that should reindex the array?

    in reply to: [0.9.9.6] Add more problem #5013
    ndbe
    Member

    Maybe something is wrong with my code. I will have to look closer.

    in reply to: [0.9.9.6] Add more problem #5008
    ndbe
    Member

    After manual change of index directly in DB everything showed up again.

    in reply to: hidden field error #4889
    ndbe
    Member

    After changing to:

    piklist('field',array(
        'type'=>'text',
        'field'=>'latLng'
    
    ));

    everything works fine.

    in reply to: [0.9.9.4] Piklist stopped saving data #4858
    ndbe
    Member

    Ok new version fixed everything so topic can be closed.

Viewing 15 posts - 1 through 15 (of 19 total)