Not a developer? Go to MovableType.com

Plugin and Theme Directory

Two Dimensional Select v1.0

By Byrne Reese
Posted January 29, 2010, in Custom Fields.

Details

This plugin provides a new custom field type to Movable Type Pro users. This new field type, called a "two dimensional select" allows one to have a pull down menu, which when a selection is made, reveals a second pull down menu to further narrow down the user's choice. This is perfect for managing LARGE pull down menus for which the menu's content is easily categorized, e.g. states within regions, cities within states, etc.

Usage

  1. Create a new Custom Field.

  2. Select "Drop Down Menu (2-Dimensional)" as the field's type.

  3. In the Options text area that appears enter in data according to the following structure:

     { 
       "California" => [ "LA","San Francisco","San Diego" ],
       "Texas" => [ "Dallas","Houston","Austin" ],
       "Lousiana" => [ "New Orleans","Sliddel","Baton Rougue" ],
     }
    

    For those familiar with Perl, you will recognize this is a simple hash.

    Syntax is important here, so pay attention to placement of commas, and make sure all square and curly brackets are opened and closed properly.

Screenshots

The Edit Field Screen

The Custom Field in Action

Prerequisites

  • Movable Type Pro

Installation

To install this plugin follow the instructions found here:

http://tinyurl.com/easy-plugin-install

Compatibility

Movable Type versions: 4.3

License

Perl Artistic


Back

6 Comments

Sunil Shrestha

Sunil Shrestha on August 19, 2016, 2:24 p.m. Reply

Nice one. Can’t explain how important this is.

192.168.1.1

lunami

lunami on July 30, 2017, 10:44 p.m. Reply

Top quality article published here and that’s what I love to read the most. You are definitely helping in choosing the best essay writing service in the world right now and you keep proving that to us day after day and I just love that!

Victoria Bolton

Victoria Bolton on August 7, 2017, 11:49 a.m. Reply

The main segment would be an unordered rundown of players and the second segment would be the individual player data, that would change when a player name is clicked. Essay Writing Service | Essay Star would prefer not to page to reload, but instead simply stack all player data and progressively change when a name is clicked.

jams

jams on September 27, 2017, 8:23 a.m. Reply

Thanks for taking the time to discuss this, I feel strongly about it and love learning more on this topic. If possible, as you gain expertise, would you mind updating your blog with more information? It is extremely helpful for me. new futura 5 bedroom

jams

jams on September 27, 2017, 8:23 a.m. Reply

I’ve been searching for some decent stuff on the subject and haven’t had any luck up until this point, You just got a new biggest fan!.. new futura address

Leave a Comment

Byrne Reese

Byrne Reese was previously the Product Manager of Movable Type at Six Apart, where he had also held positions as the Manager of Platform Technology and Product Manager for TypePad. Byrne is a huge supporter of the Movable Type user and developer community. He dedicates much of his time to promoting and educating people about Movable Type as well as building the tools and plugins for Movable Type that are showcased on Majordojo. He contributes regularly to open source; and he is an advocate for open protocols and standards like Atom and OpenID.

Website: http://profile.typekey.com/byrnereese