NumericCustomFields, adding a numeric type field to MT's cutom field

| No Comments | No TrackBacks

Did you want to use numeric characters in your MT's custom field?

Movable Type's default custom field hasn't numeric type options.

In MT5, there are these type fields.

  • Sinle-Line Text
  • Multi-Line Text
  • Checkbox
  • URL
  • Date and Time
  • Drop Dwon Menu
  • Radio Buttons
  • Embed Object
  • Asset
  • Audio
  • Image
  • Video

default_custom_field

 

If you use a plugin named "NumericCustomFields", you can choose for another "Integer" and "Float" type of fields.

numeric_custom_field

If you want to sort entries or pages by numeric custom field, you write a code like this.

<mt:Entries sort_by="field:number1" sort_order="ascend">
  foo bar
</mt:Entries>

"NumericCustomFields" is developed and provided by Hajime Fujimoto, one of the most famous Japanese MT hacker.

This plugin is effetive both MT4 and MT5.You can download this plugin at this page.
http://www.h-fj.com/blog/archives/2009/02/21-145227.php

Direct link
http://www.h-fj.com/mt_plugin/NumericCustomFields_1_00.zip

*Caution

Hajime said that we cannot sort by a numeric fields in archive templates earlier MT4.261 version. This is attributed to MT's bug.

No TrackBacks

TrackBack URL: http://www.mt-j.info/mt/mt-tb.cgi/42

Leave a comment

About this Entry

This page contains a single entry by nick published on February 19, 2010 10:00 PM.

CMSContext -customize your MT dashboard without Perl programming- was the previous entry in this blog.

"ParentalInclude" plugin, which can includes a parent's module without tags is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.