MySource Matrix Developer

Main Content

MySource Matrix Developer Newsletter Issue 50
Friday 18th November 2005

covers versions 3.4.7 stable, 3.6.2 stable, 3.7.0 development

News

Link Tree Now Using Stored Procedure

The createLink() method of the asset manager now uses a stored procedure to determine the next treeid to use for inserts. This is a fairly major core change so if anyone notices anything todo with linking in a 3.7.x system that seems odd, please report the problem ASAP.

New Features

Numeric Sorting In Listings

Added to: 3.7.0 development

Listings already had the ability to sort by the value of an asset attribute, but sorting was only done on strings and not numerically. So if you were sorting based on a numeric value such as a rating, the sorting would not work as expected. New functionality has now been developed to allow for true numeric sorting on INT and FLOAT attributes of assets.

The Search Fields screen now allows you to determine whether: 1) you want to search for an exact value as before 2) you want to search on a range of values specified by the user; or 3) you want to provide a drop-down list of ranges defined in the back-end for the user to search with

Keywords for 1) and 3) are as before. In the case of 2) and will still work but it's recommended to use new "sub-field" keywords and (and similar for the query terms field, and ) so you can place the upper and lower bound fields separately.

Numeric sorting also can handle the case were one of the bounds are left empty, in which case there is no boundary used for the empty bound.

Image Variety Resize On Largest Dimension

A new option has been added to image varieties that allows the resizing of the image based on the largest dimension. For example, entering a value of 100px will ensure that neither dimension of the image is greater than 100px. So if the original height was 400px and the width was 200px, the height would become 100px and the width 50px. Previously, you had to select which side of the image was used for constraining proportions but this new option allows that side to be determined dynamically.

Set Metadata Value Trigger Action

Added to: 3.7.0 development

A new trigger action has been created to allow you to set the value of a metadata field for an asset when an event is fired. This trigger action could be used, for example, to auto-populate a metadata field with a value based on where an asset is created or what the asset's status is.

Asset Accessed Trigger Event

Added to: 3.7.0 development

A new trigger event has been added that will fire whenever an asset is viewed on the frontend. It should be obvious that this trigger will fire very frequently, so no triggers should listen for this event unless they really need to.

Planned Development

Asset Map Support For Large Asset Lists

To be added to : 3.7.0 development
Estimated start date: already in development
Estimated end date : 1st December 2005

When there are a large number of assets on the same level, the asset map takes a while to load all of them and the list becomes too long to browse through. The asset map will soon be changed to only load and show a set number of assets on the one level. Buttons will be provided to show the next and previous asset in the list and to navigate to the top or bottom of the list.

Bulk Email Management

To be added to : 3.7.0 development
Estimated start date: already in development
Estimated end date : 1st December 2005

Upgrading

3.7.0 Development

Run step_02.php: yes
Run step_03.php: yes
Run compile_locale.php: yes

Additional queries: No additional queries are required for upgrades.

Additional comments: No additional upgrade steps are required.

New Bugs Added To Bug Tracker

Bug ID 3.4.x 3.6.x Dev Description
1007 N Y N Asset Listing doesnt sort on inherited attribute
1009 N Y Y What s new multiple root nodes broken
1010 N Y Y Preview should use _nocache
1012 N Y Y When using thumbnail design area alt and title attributes are set to asset id
1014 N N N Lexicon thesaurus pop up in metadata does not allow scrolling not confirmed
1016 N Y Y Listing Engine does not always replace asset_assetid field
Notes:

Bug #966 (Cloning not working on Custom Forms) was submitted by davent on the 11th of October 2005 but has been marked as Can Not Replicate after two developers could not replicate the problem and the bug poster did not respond to any comments on the bug report.

Bug #1004 (Pasting from word doc into WYSIWYG generates PHP parse error) was submitted by bendy on the 11th of November 2005 but has been marked as not being a bug because HTMLTidy is required to enable MySource Matrix to clean MS Word documents and this was not enabled on the bug poster's system.

Bug #1015 (Asset Listing user type formats not accessing asset attributes) was submitted by Anthony Barnes but was marked as Can Not Replicate after two developers could not replicate the bug on either the 3.6.x or 3.7.x branch.

New Feature Requests Added To Bug Tracker

Bug ID Description
1008 Functionality boost for image variety keywords
1011 Another image variety constraint type
1013 Unable to access varieties of thumbnails in an asset listing

Bugs Fixed In The Bug Tracker

Bug ID 3.4.x 3.6.x Dev Description
1003 N N Y Asset Listing default root node doesn t work
1006 N N Y Metadata keywords no longer work in calendar pages
1007 N Y N Asset Listing doesnt sort on inherited attribute
1009 N Y Y What s new multiple root nodes broken
1010 N Y Y Preview should use _nocache
1012 N Y Y When using thumbnail design area alt and title attributes are set to asset id
1016 N Y Y Listing Engine does not always replace asset_assetid field

Add a Comment

You must click here to log in before posting comments.

View Comments

There are currently no comments for this newsletter.