Forum Replies Created

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • in reply to: admin.css rendering it footer #5729
    Gabe Shackle
    Member

    It’s creating the notice fine, but since the Piklist admin styles load in the footer after the WP styles, it doesn’t pick up the green left border from the .updated class.

    in reply to: admin.css rendering it footer #5725
    Gabe Shackle
    Member

    The main one I noticed was the different types of admin messages. I’ve attached a couple screenshots showing what’s happening.

    Attachments:
    You must be logged in to view attached files.
    in reply to: Piklist conflict with ACF Flexible Content #5698
    Gabe Shackle
    Member

    Ah, I see that now. I hadn’t tried dragging the entire meta box. Here’s a quick fix that adds that condition in as well:

    .on('sortstart', '.meta-box-sortables.ui-sortable, .piklist-field.ui-sortable', function(event, ui)

    .on('sortstop sortreceive', '.meta-box-sortables.ui-sortable, .piklist-field.ui-sortable', function(event, ui)

    in reply to: Piklist conflict with ACF Flexible Content #5696
    Gabe Shackle
    Member

    Looks like ZIPs don’t work either so I’ve posted the updated admin.js here: http://hereswhatidid.com/media/admin.js.zip

    in reply to: Piklist conflict with ACF Flexible Content #5695
    Gabe Shackle
    Member

    I’ve tracked it down to the admin.js file in Piklist. On lines 1052 and 1073 where you’re assigning the ‘sortstart’ and ‘sortstop sortreceive’ events, it’s not being specific enough and picks up the editors that are within ACF. A simple fix to make sure that those events are targeting the correct elements prevents the error from occurring and the sorting works as expected. I’ve attached my version of the admin.js file with this fix in place.

    in reply to: Piklist conflict with ACF Flexible Content #5690
    Gabe Shackle
    Member

    A little further investigation points to it being specifically related to any flexible content field layout that includes the WYSIWYG editor. Flexible content layouts that do not have any WYSIWYGs in them do not trigger the error.

    in reply to: Piklist conflict with ACF Flexible Content #5689
    Gabe Shackle
    Member

    Has there been any progress on this one? I’m using 0.9.9.7 and it’s doing the opposite for me. ACF flexible content fields drag and drop fine but the Piklist add_more items create the large amount of empty placeholders. It’s also throwing the following JS error:

    “Uncaught TypeError: Cannot read property ‘onpageload’ of undefined”

    in reply to: Field values not updating #5687
    Gabe Shackle
    Member

    That did it, thanks!

Viewing 8 posts - 1 through 8 (of 8 total)