labs.dagensskiva.com/forum » Plugin: More Fields

More Fields 1.3 beta

(25 posts)
  • Started 1 year ago by Henrik
  • Latest reply from kal
  • This topic is resolved
  1. Henrik
    Key Master

    I've got an updated version of More Fields, version 1.3, which is compatible with 2.8.

    Download it from here, and let me know if it works for you.

    Thanks,
    Henrik

    Posted 1 year ago #
  2. kal
    Key Master

    I got the right column back on my sites, but it breaks the Publish box.

    I can no longer edit Status, Visibility or the publishing date. And I can't add a new category in the category box. Seems to be a conflict with jQuery, no?

    Posted 1 year ago #
  3. Henrik
    Key Master

    Ooops. Yeah, none of the AJAX stuff worked. I've updated the file with a fix.

    Posted 1 year ago #
  4. kal
    Key Master

    Great. That did the trick.

    New issue:
    The checkbox option seems broken.

    The correct values is not shown if I use a post type with a checkbox. And nothing gets saved when I use them.

    Posted 1 year ago #
  5. wpfreak
    Member

    Hi there, I'm testing the 1.3 BETA on a new site I'm working on and have some feedback.

    1) I created a post type called "staff bios" based on the "page" and when I click "edit" in the left navigation, "staff bios" collapses and "pages" expands. The correct content is being displayed to the right, but there appears to be some bugs with the expanding/collapsing of the left navigation.

    2) This is a bit more vague, but I've noticed that much of the expand/collapse functionality breaks when I'm on a page that is part of one of my more fields post types. The biggest of these problems is that there's no way to expand the "publish" block so I can make changes to a post.

    I know that these are some of the same bugs that were in 1.2.10 that you're working on fixing for WP 2.8. I just wanted to help contribute feedback to you based on what I've experienced with your BETA.

    Please let me know if there's more information I could provide you to help you resolve the WP 2.8 issues that we are all experiencing.

    Posted 1 year ago #
  6. wpfreak
    Member

    Henrik,

    I've been continuing to play with the 1.3 BETA and my initial results are not as consistent as I originally thought. It's difficult to reproduce the same symptoms 100% of the time...but the general trend is that the plugin is still messing with the AJAX expand/collapse functionality.

    I'll keep checking back here so I can help test and provide feedback.

    Posted 1 year ago #
  7. jazbek
    Member

    Henrik, if you need any help getting the expand/collapse functionality to work, please let me know; I was able to get it working on the fixed files I posted a couple weeks ago, so I may be of some assistance.

    Posted 1 year ago #
  8. weenie
    Member

    line 36 more-fields-object.php reads:
    array(__('Tags'), 'tagsdiv'),
    it should be changed to:
    array(__('Tags'), 'tagsdiv-post_tag'),
    to make the post-tags box hide properly due to attribute naming differences as of WP 2.8

    Posted 1 year ago #
  9. Bram
    Member

    Weenie,

    I tried changing line 36 to array(__('Tags'), 'tagsdiv-post_tag'), but the oposite hapens. WIth the original code it worked perfect, with your code the tags are always hidden.

    Posted 1 year ago #
  10. weenie
    Member

    Sorry for any confusion, I now realize that my earlier post was not only vaguely stated but only half the solution for the problem that I had been experiencing which was:
    More-fields 1.2.10 or the 1.3 beta when used with WordPress 2.8 would not allow removal of the post tags check box from the screen options section of the post edit page. This is because as of WP 2.8 the label and input attributes of the post tags checkbox changed from "tagsdiv" to "tagsdiv-post_tag".
    So let it be noted the following fix only works with WP 2.8

    more-fields-object.php line 36 reads:
    array(__('Tags'), 'tagsdiv'),
    it should be changed to:
    array(__('Tags'), 'tagsdiv-post_tag'),

    more-fields-manage-object.php line 17 similarly reads:
    array(__('Tags'), 'tagsdiv'),
    and should also be changed to:
    array(__('Tags'), 'tagsdiv-post_tag'),

    @ Bram - What version of WordPress are you working with? I'm guessing that it's pre 2.8.

    Posted 1 year ago #
  11. blok
    Member

    I've had to downgrade my sites using More Fields back to 2.7.1 because of the issues with how WP has changed the JS stuff - which is kind of lose/win since I hate how 2.8 changed the plugin management.

    Any additional progress on this?

    Posted 1 year ago #
  12. jconroy
    Member

    I used weenies fix + jazbek's (http://labs.dagensskiva.com/forum/topic.php?id=152#post-483) and it seems to have fixed it

    Posted 1 year ago #
  13. jconroy
    Member

    Actually it has only fixed it for 'page' types. Anything based on 'posts' still not working properly

    Posted 1 year ago #
  14. emhr
    Member

    @jconroy what version of wordpress are you using? What were your issues before you applied the edits to the 1.3beta. Could you describe " fixed it" and "not working properly" in some more detail.

    emhr AKA weenie - the dual personna while cross posting between wp support forums and this one was getting confusing so im leaving weenie behind, although is does lighten up a serious discussion to see weenie every now and again.

    Posted 1 year ago #
  15. jconroy
    Member

    Fresh install WordPress 2.8.1
    Fresh install More Fields 1.3 beta

    Problem - The jquery minimise and expand feature on all edit pages/posts was not working as described above.

    Added emhr/weenies fixes - this fixes the expand/collapse for posts and any new "post" types

    Added Jazbek's fix on top of weenies - fixes the expand collapse for new posts/pages and "page" types but breaks for new "post" types

    Posted 1 year ago #
  16. micharo
    Member

    Hi,

    I am using WP 2.8.1 and more fields 1.3 beta

    I have several post types based on post. When I click on one of these post types in the side bar it first shows as if I clicked post and then changes to the chosen post type. There is about a half second delay between showing first the regular post and the chosen post type.

    Why is this delay?

    Posted 1 year ago #
  17. samantha09
    Member

    Hello,

    wp 2.8 + MF 1.3b

    bug showing so far:
    1. Seeing one column in the edit/new post even though '2' is selected in the options.

    This is a basic setup. No custom post/page types.

    Thank you.

    Posted 1 year ago #
  18. apam
    Member

    WP 2.8 with MF 1.3beta
    Migrating my site from local to remote I lost all my boxes and post-types.
    I still find the values in the db (migrated copying all wp installation files, changed wp-config values and imported db)
    Works like a charm locally but online nothing...can't figure out what I'm doing wrong..
    Any ideas?
    Thanks!
    Adam

    Posted 1 year ago #
  19. federicopalumbo
    Member

    Hallo,
    Is possible to know changes in the latest release? Expecially to know bug solved and new functions.

    Bye
    Federico

    Posted 1 year ago #
  20. Wouter
    Member

    Hi guys/gals,

    I saw this issue that Kal posted:

    "New issue:
    The checkbox option seems broken.

    The correct values is not shown if I use a post type with a checkbox. And nothing gets saved when I use them."

    Which are 2 issues actually:
    1) Correct value is not showing.
    Solution -> Line#320 change:
    $checkbox->html_item = "...code.... %title%</label>";
    TO
    $checkbox->html_item = "...code.... %value%</label>";

    2) Nothing gets saved.
    Does anyone have a solution for this problem?

    Posted 1 year ago #
  21. Wouter
    Member

    Update,

    In the postmeta table there is this line:

    "20346 13756 devicetypes on"

    Which is ofcourse not enough since 'devicetypes' is my checkbox name and not the value. I actually have 3 checkboxes that need to be saved.

    Posted 1 year ago #
  22. smurkas
    Member

    Actually you were in the right place the first time.
    You want line#320 to be $checkbox->html_item = "<label class='mf_check'><input class='%class%' type='checkbox' id='%key%' name='%key%' %selected% value='%value%'> %title%</label>";
    so the value goes inside the checkbox tag and not as the label. Then set $checkbox->values = true; on line#324 and you should be good to go.

    Posted 11 months ago #
  23. klark
    Member

    Hi, More Fields is great. Thanks. Is it still being actively developed?

    Posted 11 months ago #
  24. manudias
    Member

    Hi, i am still having trouble figuring out the checkbox in morefields
    the checkbox does not display the key or the value.

    so i changed:
    line 322: $checkbox->html_item = "<label class='mf_check'><input class='%class%' type='checkbox' id='%key%' name='%key%' %selected%> %title%</label>";
    line 324: $checkbox->values = false;
    TO
    line 322: $checkbox->html_item = "<label class='mf_check'><input class='%class%' type='checkbox' id='%key%' name='%key%' %selected%> %value%</label>";
    line 324: $checkbox->values = true;

    managed to display the value.
    but doesnt seem to be saving any thing when i press update.
    then i changed the line as smurkas to

    line#322 to be $checkbox->html_item = "<label class='mf_check'><input class='%class%' type='checkbox' id='%key%' name='%key%' %selected% value='%value%'> %title%</label>
    this only allows me to select one checkbox and the key of each checkbox disappeared.

    how do i save multiple values in the check box?

    highly appreciate your help.

    also, how do i call the meta value/key of check box in a post?

    thank you

    Posted 7 months ago #
  25. kal
    Key Master

    manudlas: Could you use a new thread for your request. I'm closing this for support.

    Posted 7 months ago #

RSS feed for this topic

Reply

You must log in to post.