Magic Fields 1.5 Release Candidate

A few weeks ago we released a beta version of the new Magic fields 1.5,  well, we give to this release a big space for be testing because this new version come with a lot of changes and improvements.

Now if all is works fine in  the next few days  we are going to release this version as stable.

Here the changelog:

GENERAL

  • Related Field Types: Extra selections are now available ‘All Posts AND Pages’ and ‘All Posts AND Pages with Write Panel’.
  • Added extra CSS class to Write Panel main menus, based on the sanitized write panel name. E.g. the Menu item for panel named ‘Home Page’ will get the
  • extra class ‘mf-menu-home-page’. Ths allows alternative menu images to be attached to the write panel. Currently this is only possible by having
  • an admin CSS file added through a WordPress ‘admin_head’ filter function in your functions.php, e.g.:
function my_admin_css() {

echo '';

}

if (is_admin()) {
add_filter('admin_head', 'my_admin_css');
}

This feature will be improved in a future version, support for custom post types is avaliable

  • New Hat and Wand Icon for the Magic Fields left menu item
  • Added caching feature to support mostly used functions like get() and get_group();
  • Count down feature for inputs and textareas showing characters left in twitter style.
  • Now displaying Categories in hierarchy in the Write Pannel.
  • Issue 34 fixed
  • Issue 53 Fixed
  • Issue 50 Fixed
  • New way to sort the order of the fields in the write panel

New Template API Functions

  • gen_image_for: Gets a generated image for a field value that’s already known, as is the case for values from the “get_group” function.
  • get_group_with_options: a function that allows certain options to be passed in to make front end code a bit cleaner. Refer to code comments for more details.
  • get_group_with_prefix, get_flat_group, get_flat_group_with_prefix: alias preset convenience functions for get_group_with_options.

View Write Panel:

  • Renamed ‘Name’ Header to ‘Label’ in the field list
  • Added ‘Name (order)’ column to the grid, which displays the code-friendly name of the field followed by the field order number in brackets

Write Panels Listing:

  • Added (Order) number display to the Write Panel Listing

Add / Edit Field:

  • Group name is now displayed in the header (if a parent group exists)
  • When CREATING a field, Magic Fields now suggests an appropriate name for the field after the label is entered or changes. This is based on removing all special characters, converting to lowercase, and converting spaces to underscores. Also, if the field is part of a group, the (singularized) group name is appended to the beginning, which ensures it is unique across the set of fields. For example, if we have a group named “Image Assets” and label a new field “File”, Magic Fields will suggest the field name should be “image_asset_file”.
  • When CHANGING a field, magic fields can suggest a field name based on the rules above by clicking the “suggest” button.
  • The label and field name have been flipped around to support the suggestion features listed above. (i.e. you now fill in the label FIRST) This is now also consistent with the list view.

Edit Page/Post:

  • Major overhaul to the Magic Fields UI with a collapsible panel interface for magic field groups.
  • Tidied up the user interface for (expanded) magic fields groups, which now includes nicer bevels for field groups, better spacing, and nicer icons from the Fugue collection by Yusuke Kamiyamane ( http://p.yusukekamiyamane.com/ )
  • The terminology for “Duplicating” magic fields groups has been changed to “Add Another [Item]”, or “Remove [Item]”.
  • Enhanced the toolbar at the bottom of groups, with a better numerical indicator, and a “grip handle” to indicate the movable section.
  • “Add Another [Item]” link is always moved to the bottom group as groups are added or removed
  • MAJOR FEATURE: Collapsible fields feature, where magic fields groups are collapsed down into a compact read-only group summary. Clicking group summaries will expand the group for editing. By default, any field groups and data that already exist will be loaded as a summary, meaning that pages and posts edit screens are generally MUCH shorter than before. This also makes it far easier to re-order items within each group, since the group summaries are always only about 150 pixels high.
  • Group summaries make use of the jScrollPane plug-in from Kevin Luck ( http://jscrollpane.kelvinluck.com/ ) to provide a much neater horizontal scrollbar for long group summaries. These are much smaller and tidier than the native OS widgets.
  • MAJOR FEATURE: A new “Magic Fields” attributes panel is now available that allows you to change the write panel for a given page/post.
  • MAJOR FEATURE: Added an alternative AJAX file uploader that supports drag and drop, adds an ajax progress spinner, and provides a more consistent file upload UI across all browsers based on Valum’s AJAX uploader ( http://valums.com/ajax-upload/ ). This uploader also improves performance DRAMATICALLY for large numbers of fields, since it does not use an iframe for every file-based field.
  • AJAX Uploader no longer adds a timestamp prefix to uploaded files, instead saving the file to the server as a lowercase sanitized version of the original file name.
  • Enhanced the layout of file upload controls, audio controls, image controls for the new uploader.
  • TinyMCE initilisation has been deferred until the user expands a group summary, to improve load performance.
  • Enhanced the form validation routines to be more robust, and work correctly with the group summaries. Any fields with errors will have their group summary expanded automatically so that the user can see the errors. Also added a little warning box inside the “Publish” panel when there are validation errors so that it’s easier to see that fields are missing (since they might be scrolled out of view at the bottom).
  • Added a save warning for when any field is changed within a magic fields
  • group, which reminds the user that they must publish or update before changes will be saved.
  • Added a much improved color picker by Stefan Petre ( http://www.eyecon.ro/colorpicker/ ) which uses a Photoshop-style color picker allowing you to select many more colors than before. This has been slightly customised to work better in the context of magic fields.
  • Added a “loading data” spinner for the initial load of a group summary.

You can test this Release candidate here:

Download Magic Fields 1.5-RC

A TON of thanks to Traversal without him this  release  couldn’t be possible

Be Sociable, Share!

28 responses to “Magic Fields 1.5 Release Candidate”

  1. Marc says:

    Good job guys. Still having trouble with the .po & .mo files though. Keep up the good work and thanks a lot!!!

  2. Paul says:

    Hey guys,
    Great improvements. Just spotted a bug with the javascript when apostrophes are used for parent titles of write panels. Posted it as an issue over on Github, but otherwise love your work!!!
    Thanks!
    pk

  3. janr says:

    the backend is great but i cannot use any get() function right now. any idea when the final 1.5 release is comming?

  4. Maria says:

    Hey again,
    One more suggestion would be to separate the ‘Remove’ & ‘Collapse’ option a bit further from one another. The upper left corner is perfect for both of these but just not together as it’s super easy to hit ‘Remove’ on accident. Perhaps, ‘Collapse’ could go next to the number instead? Just throwing it out there.

    Also, again, amazing job.

  5. Traversal says:

    Hey Maria,

    Thanks for the comments, really appreciate the thought you’re putting into your feedback. I’m a bit puzzled about the remove/collapse thing, they’re never really that close together are they? Collapse next to the number doesn’t quite sit right with me, as the number sits in the footer of the group, and it seems a bit weird that the group would collapse upward, if you know what I mean :)

    In any case, I’ve added a javascript confirm on the Remove operation in my fork on github, as I also thought it was a bit easy to delete a big chunk of data, especially if your groups are quite detailed.

  6. Jesse Kade says:

    Hey, how about custom taxonomies…any plans for that in the near future?

  7. Mark says:

    Having a few problems with 1.5! I upgraded to 1.5 by simply replacing the “magic-fields” folder with the one from 1.5 – I’m guessing this is the right way to upgrade?

    When uploading a file, clicking delete doesn’t remove the file.

    Also, is it possible to change the upload file limit size in 1.5? It appears to be hardcoded, and I’ve changed it everywhere I can see it, but to no avail – I’m needing to upload large sizes. I’ve reverted back to 1.45 for the time being (no restrictions), but would like to use 1.5 as it looks so much better!

    Cheers!

  8. […] the original post: Magic Fields 1.5 Release Candidate | Magic Fields Tags: custom_fields, custom_posts, custom_post_type, […]