Forums

WordPress 2.8 RC breaks post types in More Fields plugin (33 posts)

  1. guikubivan
    Member
    Posted 2 years ago #

    I am using a modified version of the plugin (v1.3.10) and have resolved the toggle/collapse issue. I commented out the following code in more-fields-write-js.php (around line 143) since WordPress 2.9.1 ui.core.js does the same thing in a different way and the following code was undoing that. I don't think this breaks anything else.

    jQuery('.postbox h3, .postbox .handlediv').unbind('click');
    jQuery('.postbox h3, .postbox .handlediv').click( function() {
    jQuery(jQuery(this).parent().get(0)).toggleClass('closed');
    postboxes.save_state('<?php echo sanitize_title($type); ?>');
    } );

  2. jjoseph
    Member
    Posted 2 years ago #

    In reply to noogrub and this post

    "I have the same problem KingJeffrey had: WP 2.8.1 Editing Page now shows in one column, with the Attributes and Publish widgets far down the page. If I hit "Screen Options", select 1 column and then select back to 2 column, the main column narrows and I can drag the widgets to the right sidebar. However, no matter what I try, the page reverts to single column when I refresh, or when I click "Publish".

    Can anyone explain how the "Screen Options" settings work? I have not figured out what js is called when I click "Screen Options".

    Any assistance appreciated."

    All you need to do is manually drag and drop the widgets to the sidebar. A shaded dashed box should appear when you do his, motioning you towards a area suitable for dropping.

    I hope that helps.

  3. kalstrom
    Member
    Posted 2 years ago #

    The javascript problems for the 2.9.x bransch should be solved now.

    Works in my test cases.

Topic Closed

This topic has been closed to new replies.

About this Topic