# Changelog

### 0.3.8

- New: mm_requireFields - makes fields required. Originally by tobyl. Modified to take advantage of recent improvements / changes to MM, and to add a visual indication of required fields
- Bugfix: Prevent double encoding of HTML entities (thanks David Andrews)
- Bugfix: TV's section is broken when there's a URL TV (thanks Jean-Christophe Brebion / Mikko Lammi)
- Various minor bugfixes
- Minor documentation updates

### 0.3.7

- New: If all templates for a category are hidden, the category is removed from the templates dropdown
- Various other minor bugfixes

### 0.3.6

- Bugfix: Could not hide content field
- Bugfix: Couldn't create tabs under certain circumstances
- mm_rules.inc.php is now empty by default
- Documentation updates

### 0.3.5

- Bugfix: Fix clash with Content History plugin (thanks TobyL)
- Bugfix: Tweak to handling spaces in tag widget
- Bugfix: Check boxes can now be moved to new tabs
- Bugfix: When no template variables are left in the TV section, its header is now hidden properly
- New: mm_default now supports content_type
- New: synch fields now works with text areas

### 0.3.4

- Improved configuration - now uses plugin GUI
- You can now specify TV names with or without the TV prefix. If there is a clash with one of the default internal fieldnames, the internal field will take priority.
- You can no longer hide or rename the preview tab, as it is now a button
- You can no longer hide or rename the docsettings sections, as it no longer exists
- Bugfix: Many many changes for compatibility with Evolution 1.0 (more testing needed) - this version is no longer compatible with ModX versions < 1.0.0
- New: Option to remove deprecated TV types now does something!
- Add support for Resource Type field (1.0.1)
- Added ability to hide/rename access permissions tab (1.0.1)
- You can no longer hide or rename the meta tab, as it has been deprecated (1.0.1)
- You can no longer hide or rename the access permissions section, as it is now a tab (1.0.1)

### 0.3.2

- Bugfix: Problem with Tag widget paths on new documents
- Bugfix: TV section is now renamed / hidden correctly on weblinks (thanks Metaller)
- Bugfix: Hiding preview tab when manager role disallows access to meta/keywords now works properly (thanks netProphET)
- Bugfix: Based on above, renaming preview tab when manager role disallows access to meta/keywords now works properly
- New: Add weblink field to list of available fields (thanks Metaller)
- New: AccessDenied widget - prevents access to specific document IDs (thanks Metaller)
- New: When is_richtext has an mm_default of false, which_editor is also set

### 0.3.1

- Bugfix: error when creating documents and using showimagestvs (thanks Rasc)
- Bugfix: tags / colours fail when Modx is installed in a subdir (thanks smiley)
- Bugfix: showimagetvs would give a Javascript error on pages with no image if it was applied in a rule
- New: Better error handling

### 0.3

- New: Tag entry is now in the TV definition form, settable on field from there.
- New: Removed deprecated TV types from the TV definition form
- New: Color picker widget (using Farbtastic picker)
- New: Image preview widget (emulates showimagestvs plugin on image fields)
- New: Documentation improved and made easier to navigate!
- New: Externalise widgets' code, so they can be easily added to
- New: New widget template, if other developers want to add widgets
- New: Rules files are separated - either to a chunk OR external file
- New: Alert if showimagestvs is also installed (it clashes with MM) - workaround is to use the MM version
- Bugfix: hiding some fields wasn't working
- Bugfix: fix tag chooser layout in IE
- Bugfix: tags not always being saved
- Bugfix: javascript error when widget requested on template without that field
- Bugfix: pub/unpub date were not updated if moved to a different tab (thanks Perrine)
- Bugfix: Moved TVs were hiding until tab refresh in IE7 (thanks Dimmy)
- Change: Various Javascript and PHP optimisations
- Change: Split functions out into separate files, so they're easier to deal with / modify

### 0.2.8

- Bugfix: hiding templates now works in Opera
- Bugfix: typo in mm_hideTemplates
- New: Uses Google AJAX libraries API (in the absence of a local copy of jQuery)

### 0.2.7

- New: You can now hide and rename sections of the doc editing page (the bits labelled "Access Permissions", "Document Settings" etc) (based on suggestion by Metaller)
- New: You can now set a default value via mm_default for searchable (thanks stefan) and other page settings (container; rich text; log visit; published; cacheable; clear cache)
- New: Hide templates from the templates dropdown with mm_hideTemplates (thanks Metaller)
- New: Template variables can be hidden with mm_hideFields
- Bugfix: Fix bug with tag widget in IE6
- Bugfix: Fix bug with template names containing quotes
- Bugfix: Incorrectly define current template if templates changed in dropdown list and page is reloaded (thanks Metaller)
- Bugfix: Fix JS error with tag editor (thanks ProWebscape)

### 0.2.6

- Added first extra widget - tag selection widget
- Bug fix on mm_default
- mm_default now supports default values for show/hide in menu
- Bug fix so roles and templates are properly shown for reference when editing ManagerManager plugin
- Small code optimisations

### 0.2.5

- Make more compatible with PHP5
- Reorganisation of files
- Various bug and documentation fixes

### 0.2.4.1

- Fix typos in plugin.txt

### 0.2.4

- Fix typo in mm_renameTab()

### 0.2.3

- Customise jquery location, and use jquery.com if none available locally
- Renamed mm_hideField to mm_hideFields to more accurately reflect its function and be consistent
- Renamed mm_hideTab to mm_hideTabs to more accurately reflect its function and be consistent
- When editing the plugin text (to create rules) a new tab is added which details all the IDs of the roles and templates in the site - hopefully a timesaver