Six Apart Developer Center

Developer Center Home » Product Documentation » Movable Type » Plugins »

Widget Manager Hack #1 - Inserting WidgetManager tags

Posted by Byrne Reese on July 26, 2006

Brad shared with me this cool Widget Manager hack that surfaces a drop down menu in the template editing interface allowing developers to easily insert the template tags necessary to insert a collection of widgets into their blog.

wm-hack-1.png

Of course I use the term "hack" loosely here because there is nothing hackish about it - the technique utilizes completely kosher plugin API calls introduced in Movable Type 3.3.

To install this hack, insert the following code in your plugins/WidgetManager/WidgetManager.pl file:

And insert this at the bottom of the same file:

TrackBack

TrackBack URL for this entry:
https://app.sixapart.com/cgi-bin/mt/mt-tb.cgi/3190

Comments

That is REALLY cool and needed. Loved, I’m going to apply right now!

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)

Related Categories

Six Apart
Makers of weblog software and services for individuals, organizations and businesses.
This website is powered by Movable Type.