Sitecore Field Types Update

1

September 28, 2010 by Alistair Deneys

Today I created a new release of the Sitecore shared source Field Types project. You can download the new “drop 3” release from http://trac.sitecore.net/FieldTypes/browser/tags/drop-3/data/packages/Outercore.Fieldtypes.zip?format=raw or visit the trac page at http://trac.sitecore.net/FieldTypes to view the documentation.

Not a great deal of updates to the module for this release. I added an interval property to the slider field to allow specifying the interval the slider should “click” between the minimum and maximum values. To use the new property simply add it to the data source of the field definition.

So to have the slider field allow selection of values between 7 and 23 in increments of 0.25, set the following data source on the field definition.

Min=7&Max=23&Interval=0.25

Here’s how the field definition should look:

Slider field configuration

And the resulting field on an item:

Slider Field

 

Checking the subversion log there would also appear to be some updates on the Visual List field made by Paul Martin. These updates allow setting the width and height of the images shown in the field in the content editor. Simply supply the “w” or “h” parameters in the data source for width and height respectively. So to set the images to appear as 40 x 30 thumbnails specify the data source as follows:

w=40&h=30

And this would cause the thumbnails to follow that dimension.

Visual List Field with custom dimension thumbnails

Advertisements

One thought on “Sitecore Field Types Update

  1. Alistair,

    Thanks for putting the release out, great to see you doing this.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Categories

The views expressed on this blog are solely my own and do not necessarily reflect the views of my employer.
%d bloggers like this: