<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
    <title>Movable Tips</title>
    <link rel="alternate" type="text/html" href="http://www.movabletips.com/" />
    <link rel="self" type="application/atom+xml" href="http://www.movabletips.com/atom.xml" />
    <id>tag:www.movabletips.com,2009-12-09://2</id>
    <updated>2010-09-02T14:41:00Z</updated>
    <subtitle>Tips, tricks and hints for all your Movable Type needs, shared by Maarten Schenk</subtitle>
    <generator uri="http://www.sixapart.com/movabletype/">Movable Type Pro 5.02</generator>

<entry>
    <title>Automatically Posting Movable Type Updates on Twitter and Facebook</title>
    <link rel="alternate" type="text/html" href="http://www.movabletips.com/2010/09/automatically-posting-movable-type-updates-on-twitter-and-facebook.html" />
    <id>tag:www.movabletips.com,2010://2.91</id>

    <published>2010-09-02T14:29:33Z</published>
    <updated>2010-09-02T14:41:00Z</updated>

    <summary><![CDATA[Mark Carey, the accomplished Movable Type plugin writer, has recently released two new ones: Twitter Tools and Facebook Tools. &nbsp;Both allow you to post your latest Movable Type entries to respectively Twitter and Facebook, all fully automatic. &nbsp;The Twitter version...]]></summary>
    <author>
        <name>Maarten Schenk</name>
        
    </author>
    
        <category term="Plugins" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="facebook" label="facebook" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="movabletype" label="movable type" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="plugin" label="plugin" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="twitter" label="twitter" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-us" xml:base="http://www.movabletips.com/">
        <![CDATA[<a href="http://mt-hacks.com">Mark Carey</a>, the <a href="http://www.movabletype.org/members/markcarey">accomplished Movable Type plugin writer</a>, has recently released two new ones: <a href="http://mt-hacks.com/20100826-autotweet-new-entries-to-twitter.html">Twitter Tools</a> and <a href="http://mt-hacks.com/20100826-automatically-post-new-entries-to-facebook.html">Facebook Tools</a>. &nbsp;Both allow you to post your latest Movable Type entries to respectively <a href="http://www.twitter.coml">Twitter</a> and <a href="http://www.facebook.com">Facebook</a>, all fully automatic. &nbsp;The Twitter version even comes with support for optional URL shortening and automatically using MT tags as Twitter hashtags. &nbsp;Neat!]]>
        
    </content>
</entry>

<entry>
    <title>The Movable Type 5.1 Presentation... in English</title>
    <link rel="alternate" type="text/html" href="http://www.movabletips.com/2010/08/the-movable-type-51-presentation-in-english.html" />
    <id>tag:www.movabletips.com,2010://2.90</id>

    <published>2010-08-03T20:13:50Z</published>
    <updated>2010-08-03T20:19:08Z</updated>

    <summary><![CDATA[Jun put up the English version of his MT 5.1 presentation. &nbsp;Looks like most of the things I spotted in the images will indeed be in MT 5.1. &nbsp;Nifty......]]></summary>
    <author>
        <name>Maarten Schenk</name>
        
    </author>
    
        <category term="Movable Type News" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="51" label="5.1" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="movabletype" label="movable type" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-us" xml:base="http://www.movabletips.com/">
        <![CDATA[Jun put up the English version of his <a href="http://www.movabletips.com/2010/08/first-sneak-peek-at-movable-type-51.html">MT 5.1 presentation</a>. &nbsp;Looks like most of the things I spotted in the images will indeed be in MT 5.1. &nbsp;Nifty...]]>
        <![CDATA[<div style="width:425px" id="__ss_4894326"><strong style="display:block;margin:12px 0 4px"><a href="http://www.slideshare.net/sakk/movable-type-51" title="Movable Type 5.1">Movable Type 5.1</a></strong><object id="__sse4894326" width="425" height="355"><param name="movie" value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=mtddc-2010-07-en-100803090425-phpapp01&stripped_title=movable-type-51" /><param name="allowFullScreen" value="true"/><param name="allowScriptAccess" value="always"/><embed name="__sse4894326" src="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=mtddc-2010-07-en-100803090425-phpapp01&stripped_title=movable-type-51" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="355"></embed></object><div style="padding:5px 0 12px">View more <a href="http://www.slideshare.net/">presentations</a> from <a href="http://www.slideshare.net/sakk">Six Apart KK</a>.</div></div>]]>
    </content>
</entry>

<entry>
    <title>First Sneak Peek at Movable Type 5.1</title>
    <link rel="alternate" type="text/html" href="http://www.movabletips.com/2010/08/first-sneak-peek-at-movable-type-51.html" />
    <id>tag:www.movabletips.com,2010://2.89</id>

    <published>2010-08-02T22:07:27Z</published>
    <updated>2010-08-02T22:25:31Z</updated>

    <summary><![CDATA[Last weekend there was a Movable Type Development and Design conference in Tokyo, organised by Six Apart Japan. &nbsp;Jun Kaneko, community manager for Movable Type, gave a presentation (in Japanese unfortunately) with slides. &nbsp;I hope he puts up a translation...]]></summary>
    <author>
        <name>Maarten Schenk</name>
        
    </author>
    
        <category term="Movable Type News" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="51" label="5.1" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="movabletype" label="movable type" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="mtddc" label="mtddc" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="preview" label="preview" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="sneakpeek" label="sneak peek" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-us" xml:base="http://www.movabletips.com/">
        <![CDATA[Last weekend there was a <a href="http://www.flickr.com/photos/dakiny/sets/72157624622712680/">Movable Type Development and Design conference in Tokyo</a>, organised by Six Apart Japan. &nbsp;Jun Kaneko, community manager for Movable Type, gave a presentation (in Japanese unfortunately) <a href="http://www.slideshare.net/sakk/movable-type-51-mtddc-july-31st-4876453">with slides</a>. &nbsp;I hope he puts up a translation soon... However, some words and pictures from the slideshow offer an intriguing glimpse of some new features expected in Movable Type 5.1.]]>
        <![CDATA[<b>Listing framework</b><div>It looks like there are going to be new options to customize the display of lists inside the application. &nbsp;Just like with the current Edit Entry or Edit Page screen you will be able to pick which fields will be displayed in the various tables in the application (entries, pages, categories...) and it also looks like you can sort by any column you like:</div><div><br /></div><div><a href="http://www.movabletips.com/assets_c/2010/08/listing1-168.html" onclick="window.open('http://www.movabletips.com/assets_c/2010/08/listing1-168.html','popup','width=592,height=429,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://www.movabletips.com/assets_c/2010/08/listing1-thumb-600x434-168.gif" width="600" height="434" alt="listing1.gif" class="mt-image-none" style="" /></a></div><div><br /></div><div><br /></div><div>Not only that, but filtering also seems to get a lot more powerful:</div><div><br /></div><div><a href="http://www.movabletips.com/assets_c/2010/08/listing2-171.html" onclick="window.open('http://www.movabletips.com/assets_c/2010/08/listing2-171.html','popup','width=587,height=411,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://www.movabletips.com/assets_c/2010/08/listing2-thumb-600x420-171.gif" width="600" height="420" alt="listing2.gif" class="mt-image-none" style="" /></a></div><div><br /></div><div><b>Category sorting</b></div><div><br /></div><div>From this screenshot it looks like MT users will finally be able to determine an order for the various categories of a blog, which will make it easier to display a list of category archives etc. in just the order you want:</div><div><br /></div><div><a href="http://www.movabletips.com/assets_c/2010/08/categorysorting-174.html" onclick="window.open('http://www.movabletips.com/assets_c/2010/08/categorysorting-174.html','popup','width=577,height=414,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://www.movabletips.com/assets_c/2010/08/categorysorting-thumb-600x430-174.gif" width="600" height="430" alt="categorysorting.gif" class="mt-image-none" style="" /></a></div><div><br /></div><div><b>System level</b></div><div>I'm not sure, but I think this screenshot means we will finally be able to manage (publish, delete...) entries from system level. &nbsp;If this also works for comments, it will be great news for moderators.</div><div><br /></div><div><a href="http://www.movabletips.com/assets_c/2010/08/system-177.html" onclick="window.open('http://www.movabletips.com/assets_c/2010/08/system-177.html','popup','width=590,height=472,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://www.movabletips.com/assets_c/2010/08/system-thumb-600x480-177.gif" width="600" height="480" alt="system.gif" class="mt-image-none" style="" /></a></div><div><br /></div><div><b>Include and Exclude</b></div><div>his screenshot seems to indicate that include_blogs and exclude_blogs arguments will finally be able to be used together. &nbsp;This will make creating custom search results pages for just a subset of your installation much easier I think.</div><div><br /></div><div><a href="http://www.movabletips.com/assets_c/2010/08/includeexclude-180.html" onclick="window.open('http://www.movabletips.com/assets_c/2010/08/includeexclude-180.html','popup','width=563,height=362,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://www.movabletips.com/assets_c/2010/08/includeexclude-thumb-600x385-180.gif" width="600" height="385" alt="includeexclude.gif" class="mt-image-none" style="" /></a></div><div><br /></div><div><br /></div>]]>
    </content>
</entry>

<entry>
    <title>Setting Display Options (and Custom Field Order) for all Users of a Movable Type Blog</title>
    <link rel="alternate" type="text/html" href="http://www.movabletips.com/2010/07/setting-display-options-and-custom-field-order-for-all-users-of-a-movable-type-blog.html" />
    <id>tag:www.movabletips.com,2010://2.88</id>

    <published>2010-07-15T10:30:42Z</published>
    <updated>2010-07-15T10:43:08Z</updated>

    <summary><![CDATA[The order and presence of various fields and elements on the Create Entry and Create Page screens of Movable Type can be easily changed, as I wrote about earlier. &nbsp;But you can do it only for the user that is...]]></summary>
    <author>
        <name>Maarten Schenk</name>
        
    </author>
    
        <category term="Plugins" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="Tricks and Workarounds" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="entrypreferences" label="entry preferences" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="entryprefsfixer" label="EntryPrefsFixer" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="japan" label="Japan" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="ordering" label="ordering" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="pagepreferences" label="page preferences" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="plugin" label="plugin" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-us" xml:base="http://www.movabletips.com/">
        <![CDATA[The order and presence of various fields and elements on the Create Entry and Create Page screens of Movable Type can be easily changed, as <a href="http://www.movabletips.com/2010/03/reorganising-the-create-entry-screen-in-movable-type.html">I wrote about earlier</a>. &nbsp;But you can do it only for the user that is currently logged in. &nbsp;What if you want to set these options for all users on a blog? &nbsp;With a smallish number of authors, you could contemplate doing it manually: logging in and out and rearranging things for each user separately.]]>
        <![CDATA[It would be a lot of (boring) work, but doable. &nbsp;But what if your blog has hundreds of users, and not all of them are as tech-savvy as you are? &nbsp;This is the question someone on the <a href="http://www.sixapart.com/pronet/">Six Apart ProNet</a> mailing list recentlly asked.<div><br /></div><div>A lot of discussion followed, until Jun Kaneko (Six Apart's MT Community Manager) pointed out this little gem of a plugin from Japan: <a href="http://junnama.alfasado.net/online/2010/05/09/EntryPrefsFixer.zip">EntryPrefsFixer</a>. &nbsp;(<a href="http://junnama.alfasado.net/online/2010/05/movable_type_9.html">Japanese blog entry about it here</a>). &nbsp;I haven't tested it yet, but a quick look at the code seems to indicate it should work for MT4 and MT5 (and has both English and Japanese text).</div>]]>
    </content>
</entry>

<entry>
    <title>New Documentation for Movable Type 5</title>
    <link rel="alternate" type="text/html" href="http://www.movabletips.com/2010/07/new-documentation-for-movable-type-5.html" />
    <id>tag:www.movabletips.com,2010://2.87</id>

    <published>2010-07-15T10:03:38Z</published>
    <updated>2010-07-15T10:28:53Z</updated>

    <summary><![CDATA[Japanese MT hacker Hajime Fujimoto wrote the PDF book "Designer's Guide to Movable Type 5" (part 1, part 2) some time ago but unfortunately he wrote it in Japanese. &nbsp;The good news is Six Apart agreed with him to have...]]></summary>
    <author>
        <name>Maarten Schenk</name>
        
    </author>
    
        <category term="Movable Type News" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="documentation" label="documentation" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="hajimefujimoto" label="Hajime Fujimoto" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="japan" label="Japan" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="movabletype5" label="Movable Type 5" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="sixapart" label="Six Apart" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-us" xml:base="http://www.movabletips.com/">
        <![CDATA[Japanese MT hacker <a href="http://www.h-fj.com/blog/">Hajime Fujimoto</a> wrote the PDF book "Designer's Guide to Movable Type 5" (<a href="http://www.h-fj.com/blog/mt5bookvol1/">part 1</a>, <a href="http://www.h-fj.com/blog/mt5bookvol2/">part 2</a>) some time ago but unfortunately he wrote it in Japanese. &nbsp;The good news is Six Apart agreed with him to have it translated and edited so it could be published on-line... for free! &nbsp;They asked me for help with the editing and the first result of these efforts is online <a href="http://bugs.movabletype.org/default.asp?W45">here</a>. &nbsp;More is to follow...]]>
        <![CDATA[The parts I've edited so far give some good information and tips on how to build websites in Movable Type 5. &nbsp;Especially since the concept of "websites" (potentially having one or more sub-blogs) is new to MT5 and one of the main differences with Movable Type 4. &nbsp;In this new structure it is vital to know which modules and templates to have at which level. &nbsp;Also important are the proper ways to include them on other levels without getting unexpected output.<div><br /></div><div>There are plenty of example images and code snippets to re-use too. &nbsp;<a href="http://bugs.movabletype.org/default.asp?W45">Go have a look</a> and check back often!</div>]]>
    </content>
</entry>

<entry>
    <title>Getting all Entries Linked to an Asset in Movable Type</title>
    <link rel="alternate" type="text/html" href="http://www.movabletips.com/2010/07/getting-all-entries-linked-to-an-asset-in-movable-type.html" />
    <id>tag:www.movabletips.com,2010://2.86</id>

    <published>2010-07-13T09:53:40Z</published>
    <updated>2010-07-13T10:07:22Z</updated>

    <summary><![CDATA[A while ago I needed to be able to display a list of images along with the blog entries in which they occurred. &nbsp;Movable Type has an &lt;mt:EntryAssets&gt; tag that makes it very easy to show a list of entries...]]></summary>
    <author>
        <name>Maarten Schenk</name>
        
    </author>
    
        <category term="Optimization" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="Plugins" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="Templates" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="Tricks and Workarounds" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="assetentries" label="assetentries" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="assets" label="assets" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="endevver" label="endevver" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="entries" label="entries" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="entryassets" label="entryassets" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="plugins" label="plugins" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-us" xml:base="http://www.movabletips.com/">
        <![CDATA[A while ago I needed to be able to display a list of images along with the blog entries in which they occurred. &nbsp;Movable Type has an &lt;mt:EntryAssets&gt; tag that makes it very easy to show a list of entries with the images in them, but the reverse tag (&lt;mt:AssetEntries&gt;) didn't exist, unfortunately.]]>
        <![CDATA[<b>My solution</b><div><br /></div><div>Back then, I solved this with a very convoluted workaround: first, dump all entries (or at least the 1000 most recent ones) using an &lt;mt:entries&gt; tag, then use the &lt;mt:entryassets&gt; tag to get the images in question. &nbsp;All this was then put into a large hash with the asset id as key, after which I looped over this hash by key and displayed the relevant entry information.</div><div><br /></div><div>This works fine, as long as the number of entries is not too large, and eventually it becomes slow.</div><div><br /></div><div>You'll also notice I don't provide a code example. &nbsp;Here is why:</div><div><br /></div><div><b>The better solution</b></div><div><br /></div><div><a href="http://www.majordojo.com/">Byrne Reese</a> of <a href="http://endevver.com">Endevver</a> recently released a plugin named <a href="http://github.com/byrnereese/mt-plugin-extratags">'ExtraTags'</a>. One of the extra tags this plugin adds to your Movable Type installation is... &lt;mt:AssetEntries&gt;. &nbsp; Thanks to Byrne, no more slow-publishing kludgy workaround templates are needed anymore to get the entries related to an asset. &nbsp;Which is nice.</div>]]>
    </content>
</entry>

<entry>
    <title>Discovering Preview Context in Movable Type Entry Templates</title>
    <link rel="alternate" type="text/html" href="http://www.movabletips.com/2010/07/discovering-preview-context-in-movable-type-entry-templates.html" />
    <id>tag:www.movabletips.com,2010://2.85</id>

    <published>2010-07-13T09:10:47Z</published>
    <updated>2010-07-13T09:26:23Z</updated>

    <summary><![CDATA[Recently someone on the&nbsp;Movable Type Open Source mailing list&nbsp;asked if there was an easy way to determine if an entry was being looked at in Movable Type's "preview" mode as opposed to being published "for real". &nbsp;This might be useful...]]></summary>
    <author>
        <name>Maarten Schenk</name>
        
    </author>
    
        <category term="Templates" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="Tricks and Workarounds" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="entry" label="entry" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="preview" label="preview" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="template" label="template" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-us" xml:base="http://www.movabletips.com/">
        <![CDATA[Recently someone on the&nbsp;<a href="http://www.movabletype.org/opensource/mailing-lists.html">Movable Type Open Source mailing list</a>&nbsp;asked if there was an easy way to determine if an entry was being looked at in Movable Type's "preview" mode as opposed to being published "for real". &nbsp;This might be useful to hide (for example) statistics tracking code, popups, automatic redirection scripts etc.]]>
        <![CDATA[Jay Allen of <a href="http://endevver.com/">Endevver</a> came up with this undocumented gem:<div><br /></div><div>&nbsp;&lt;mt:If name="preview_template"&gt;...&lt;/mt:if&gt;</div><div><br /></div><div>The documentation has since then been updated:&nbsp;<a href="http://movabletype.org/documentation/designer/archive-template-variables.html">http://movabletype.org/documentation/designer/archive-template-variables.html</a></div><div><br /></div>]]>
    </content>
</entry>

<entry>
    <title>Downloading Older Versions of Movable Type</title>
    <link rel="alternate" type="text/html" href="http://www.movabletips.com/2010/07/downloading-older-versions-of-movable-type.html" />
    <id>tag:www.movabletips.com,2010://2.84</id>

    <published>2010-07-08T13:31:19Z</published>
    <updated>2010-07-08T13:35:18Z</updated>

    <summary><![CDATA[If you ever need an older version of Movable Type (for example to resurrect an old database or to test an old plugin), bookmark this link:&nbsp;http://www.movabletype.org/downloads/archives/...]]></summary>
    <author>
        <name>Maarten Schenk</name>
        
    </author>
    
        <category term="Tricks and Workarounds" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en-us" xml:base="http://www.movabletips.com/">
        <![CDATA[If you ever need an older version of Movable Type (for example to resurrect an old database or to test an old plugin), bookmark this link:&nbsp;<a href="http://www.movabletype.org/downloads/archives/">http://www.movabletype.org/downloads/archives/</a>]]>
        
    </content>
</entry>

<entry>
    <title>TwitterCommenters Plugin and the &quot;Can&apos;t call method &apos;permalink&apos; on an undefined value&quot; Error</title>
    <link rel="alternate" type="text/html" href="http://www.movabletips.com/2010/06/twittercommenters-plugin-and-the-cant-call-method-permalink-on-an-undefined-value-error.html" />
    <id>tag:www.movabletips.com,2010://2.83</id>

    <published>2010-06-29T14:18:51Z</published>
    <updated>2010-06-29T14:34:09Z</updated>

    <summary><![CDATA[I have recently installed the TwitterCommenters plugin on this site, meaning you can now leave a comment using your Twitter username and password. &nbsp;However, if you just install this plugin on a plain Movable Type installation you are likely to...]]></summary>
    <author>
        <name>Maarten Schenk</name>
        
    </author>
    
        <category term="Plugins" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="Tricks and Workarounds" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="authentication" label="authentication" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="bug" label="bug" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="comments" label="comments" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="javascript" label="JavaScript" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="mtjs" label="mt.js" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="plugin" label="plugin" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="twitter" label="twitter" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="twittercommenters" label="TwitterCommenters" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-us" xml:base="http://www.movabletips.com/">
        <![CDATA[I have recently installed the <a href="http://mt-hacks.com/twittercommenters.html">TwitterCommenters plugin</a> on this site, meaning you can now leave a comment using your Twitter username and password. &nbsp;However, if you just install this plugin on a plain Movable Type installation you are likely to get an error message that reads "Can't call method 'permalink' on an undefined value", even if you followed the installation instructions to the letter.]]>
        <![CDATA[The solution to fixing this is found in <a href="http://mt-hacks.com/20090713-twitter-commenters-v21-oauth-bug-fixed.html#comment-341399">this comment</a> on the TwitterCommenters home page. &nbsp;Under 'Design &gt; Templates', open your 'JavaScript' template and look for the definition of the mtSignIn function. &nbsp;Then replace it with this definition and save/republish your blog:<div><br /></div><div><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: monospace; line-height: 16px; white-space: nowrap; "><span class="js-keyword" style="color: rgb(119, 0, 136); ">function&nbsp;</span><span class="js-variable" style="color: black; ">mtSignIn</span><span class="js-punctuation" style="color: rgb(102, 102, 102); ">(</span><span class="js-punctuation" style="color: rgb(102, 102, 102); ">)&nbsp;</span><span class="js-punctuation" style="color: rgb(102, 102, 102); ">{</span><br /><span class="whitespace">&nbsp; &nbsp;&nbsp;</span><span class="js-keyword" style="color: rgb(119, 0, 136); ">var&nbsp;</span><span class="js-variable" style="color: black; ">doc_url&nbsp;</span><span class="js-operator" style="color: rgb(102, 102, 102); ">=&nbsp;</span><span class="js-variable" style="color: black; ">document</span><span class="js-punctuation" style="color: rgb(102, 102, 102); ">.</span><span class="js-variable" style="color: black; ">URL</span><span class="js-punctuation" style="color: rgb(102, 102, 102); ">;</span><br /><span class="whitespace">&nbsp; &nbsp;&nbsp;</span><span class="js-variable" style="color: black; ">doc_url&nbsp;</span><span class="js-operator" style="color: rgb(102, 102, 102); ">=&nbsp;</span><span class="js-variable" style="color: black; ">doc_url</span><span class="js-punctuation" style="color: rgb(102, 102, 102); ">.</span><span class="js-property" style="color: black; ">replace</span><span class="js-punctuation" style="color: rgb(102, 102, 102); ">(</span><span class="js-string" style="color: rgb(170, 34, 34); ">/#.+/</span><span class="js-punctuation" style="color: rgb(102, 102, 102); ">,&nbsp;</span><span class="js-string" style="color: rgb(170, 34, 34); ">''</span><span class="js-punctuation" style="color: rgb(102, 102, 102); ">)</span><span class="js-punctuation" style="color: rgb(102, 102, 102); ">;</span><br /><span class="whitespace">&nbsp; &nbsp;&nbsp;</span><span class="js-keyword" style="color: rgb(119, 0, 136); ">var&nbsp;</span><span class="js-variabledef" style="color: rgb(0, 0, 255); ">url&nbsp;</span><span class="js-operator" style="color: rgb(102, 102, 102); ">=&nbsp;</span><span class="js-string" style="color: rgb(170, 34, 34); ">'&lt;$mt:SignInLink$&gt;'</span><span class="js-punctuation" style="color: rgb(102, 102, 102); ">;</span><br /><span class="whitespace">&nbsp; &nbsp;&nbsp;</span><span class="js-keyword" style="color: rgb(119, 0, 136); ">if&nbsp;</span><span class="js-punctuation" style="color: rgb(102, 102, 102); ">(</span><span class="js-variable" style="color: black; ">is_preview</span><span class="js-punctuation" style="color: rgb(102, 102, 102); ">)&nbsp;</span><span class="js-punctuation" style="color: rgb(102, 102, 102); ">{</span><br /><span class="whitespace">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</span><span class="js-keyword" style="color: rgb(119, 0, 136); ">if&nbsp;</span><span class="js-punctuation" style="color: rgb(102, 102, 102); ">(&nbsp;</span><span class="js-variable" style="color: black; ">document</span><span class="js-punctuation" style="color: rgb(102, 102, 102); ">[</span><span class="js-string" style="color: rgb(170, 34, 34); ">'comments_form'</span><span class="js-punctuation" style="color: rgb(102, 102, 102); ">]&nbsp;</span><span class="js-punctuation" style="color: rgb(102, 102, 102); ">)&nbsp;</span><span class="js-punctuation" style="color: rgb(102, 102, 102); ">{</span><br /><span class="whitespace">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</span><span class="js-keyword" style="color: rgb(119, 0, 136); ">var&nbsp;</span><span class="js-variabledef" style="color: rgb(0, 0, 255); ">entry_id&nbsp;</span><span class="js-operator" style="color: rgb(102, 102, 102); ">=&nbsp;</span><span class="js-variable" style="color: black; ">document</span><span class="js-punctuation" style="color: rgb(102, 102, 102); ">[</span><span class="js-string" style="color: rgb(170, 34, 34); ">'comments_form'</span><span class="js-punctuation" style="color: rgb(102, 102, 102); ">]</span><span class="js-punctuation" style="color: rgb(102, 102, 102); ">.</span><span class="js-property" style="color: black; ">entry_id</span><span class="js-punctuation" style="color: rgb(102, 102, 102); ">.</span><span class="js-property" style="color: black; ">value</span><span class="js-punctuation" style="color: rgb(102, 102, 102); ">;</span><br /><span class="whitespace">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</span><span class="js-localvariable" style="color: rgb(0, 68, 153); ">url&nbsp;</span><span class="js-operator" style="color: rgb(102, 102, 102); ">+=&nbsp;</span><span class="js-string" style="color: rgb(170, 34, 34); ">'&amp;entry_id='&nbsp;</span><span class="js-operator" style="color: rgb(102, 102, 102); ">+&nbsp;</span><span class="js-localvariable" style="color: rgb(0, 68, 153); ">entry_id</span><span class="js-punctuation" style="color: rgb(102, 102, 102); ">;</span><br /><span class="whitespace">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</span><span class="js-punctuation" style="color: rgb(102, 102, 102); ">}&nbsp;</span><span class="js-keyword" style="color: rgb(119, 0, 136); ">else&nbsp;</span><span class="js-punctuation" style="color: rgb(102, 102, 102); ">{</span><br /><span class="whitespace">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</span><span class="js-localvariable" style="color: rgb(0, 68, 153); ">url&nbsp;</span><span class="js-operator" style="color: rgb(102, 102, 102); ">+=&nbsp;</span><span class="js-string" style="color: rgb(170, 34, 34); ">'&amp;return_url=&lt;$mt:BlogURL encode_url="1"$&gt;'</span><span class="js-punctuation" style="color: rgb(102, 102, 102); ">;</span><br /><span class="whitespace">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</span><span class="js-punctuation" style="color: rgb(102, 102, 102); ">}</span><br /><span class="whitespace">&nbsp; &nbsp;&nbsp;</span><span class="js-punctuation" style="color: rgb(102, 102, 102); ">}&nbsp;</span><span class="js-keyword" style="color: rgb(119, 0, 136); ">else&nbsp;</span><span class="js-punctuation" style="color: rgb(102, 102, 102); ">{</span><br /><span class="js-keyword" style="color: rgb(119, 0, 136); ">if&nbsp;</span><span class="js-punctuation" style="color: rgb(102, 102, 102); ">(&nbsp;</span><span class="js-variable" style="color: black; ">document</span><span class="js-punctuation" style="color: rgb(102, 102, 102); ">[</span><span class="js-string" style="color: rgb(170, 34, 34); ">'comments_form'</span><span class="js-punctuation" style="color: rgb(102, 102, 102); ">]&nbsp;</span><span class="js-punctuation" style="color: rgb(102, 102, 102); ">)&nbsp;</span><span class="js-punctuation" style="color: rgb(102, 102, 102); ">{</span><br /><span class="js-keyword" style="color: rgb(119, 0, 136); ">var&nbsp;</span><span class="js-variabledef" style="color: rgb(0, 0, 255); ">entry_id&nbsp;</span><span class="js-operator" style="color: rgb(102, 102, 102); ">=&nbsp;</span><span class="js-variable" style="color: black; ">document</span><span class="js-punctuation" style="color: rgb(102, 102, 102); ">[</span><span class="js-string" style="color: rgb(170, 34, 34); ">'comments_form'</span><span class="js-punctuation" style="color: rgb(102, 102, 102); ">]</span><span class="js-punctuation" style="color: rgb(102, 102, 102); ">.</span><span class="js-property" style="color: black; ">entry_id</span><span class="js-punctuation" style="color: rgb(102, 102, 102); ">.</span><span class="js-property" style="color: black; ">value</span><span class="js-punctuation" style="color: rgb(102, 102, 102); ">;</span><br /><span class="js-localvariable" style="color: rgb(0, 68, 153); ">url&nbsp;</span><span class="js-operator" style="color: rgb(102, 102, 102); ">+=&nbsp;</span><span class="js-string" style="color: rgb(170, 34, 34); ">'&amp;entry_id='&nbsp;</span><span class="js-operator" style="color: rgb(102, 102, 102); ">+&nbsp;</span><span class="js-localvariable" style="color: rgb(0, 68, 153); ">entry_id</span><span class="js-punctuation" style="color: rgb(102, 102, 102); ">;</span><br /><span class="js-punctuation" style="color: rgb(102, 102, 102); ">}</span><br /><span class="js-localvariable" style="color: rgb(0, 68, 153); ">url&nbsp;</span><span class="js-operator" style="color: rgb(102, 102, 102); ">+=&nbsp;</span><span class="js-string" style="color: rgb(170, 34, 34); ">'&amp;return_url='&nbsp;</span><span class="js-operator" style="color: rgb(102, 102, 102); ">+&nbsp;</span><span class="js-variable" style="color: black; ">encodeURIComponent</span><span class="js-punctuation" style="color: rgb(102, 102, 102); ">(</span><span class="js-variable" style="color: black; ">doc_url&nbsp;</span><span class="js-operator" style="color: rgb(102, 102, 102); ">+&nbsp;</span><span class="js-string" style="color: rgb(170, 34, 34); ">'#commentform'</span><span class="js-punctuation" style="color: rgb(102, 102, 102); ">)</span><span class="js-punctuation" style="color: rgb(102, 102, 102); ">;&nbsp; &nbsp;&nbsp;</span><span class="js-punctuation" style="color: rgb(102, 102, 102); ">}</span><br /><span class="whitespace">&nbsp; &nbsp;&nbsp;</span><span class="js-variable" style="color: black; ">mtClearUser</span><span class="js-punctuation" style="color: rgb(102, 102, 102); ">(</span><span class="js-punctuation" style="color: rgb(102, 102, 102); ">)</span><span class="js-punctuation" style="color: rgb(102, 102, 102); ">;</span><br /><span class="whitespace">&nbsp; &nbsp;&nbsp;</span><span class="js-variable" style="color: black; ">location</span><span class="js-punctuation" style="color: rgb(102, 102, 102); ">.</span><span class="js-property" style="color: black; ">href&nbsp;</span><span class="js-operator" style="color: rgb(102, 102, 102); ">=&nbsp;</span><span class="js-localvariable" style="color: rgb(0, 68, 153); ">url</span><span class="js-punctuation" style="color: rgb(102, 102, 102); ">;</span><br /><span class="js-punctuation" style="color: rgb(102, 102, 102); ">}</span></span></div><div><br /></div><div>The actual reason for the error is that the 'old' mtSignIn wasn't passing on the entry_id of the entry a visitor was trying to sign in from, and the TwitterCommenters plugin needed this info to be able to load the entry and get its permalink so it could redirect the visitor back to it after logging in at Twitter.</div><div><br /></div><div>(I suspect this is because the plugin was probably developed for <a href="http://openmelody.org/">Melody, a fork of Movable Type</a>, which probably has a different default mtSignIn function.)</div>]]>
    </content>
</entry>

<entry>
    <title>Combining Tag Attributes, AND, OR and Variables in Movable Type</title>
    <link rel="alternate" type="text/html" href="http://www.movabletips.com/2010/06/combining-tag-attributes-and-or-and-variables-in-movable-type.html" />
    <id>tag:www.movabletips.com,2010://2.82</id>

    <published>2010-06-28T14:05:34Z</published>
    <updated>2010-06-28T14:18:54Z</updated>

    <summary><![CDATA[This forum posting asks the question if it is possible to do something like&nbsp;&lt;mt:entries tag="@sometag AND $somethingelse"&gt;...&lt;mt:entries&gt;to get all entries tagged with "@sometag" and some other tag (which is stored in the $somethingelse variable)....]]></summary>
    <author>
        <name>Maarten Schenk</name>
        
    </author>
    
        <category term="Templates" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="Tricks and Workarounds" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="and" label="AND" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="boolean" label="boolean" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="or" label="OR" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="tags" label="tags" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="variables" label="variables" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-us" xml:base="http://www.movabletips.com/">
        <![CDATA[<a href="http://forums.movabletype.org/2010/06/using-and-with-tags-eg-tagfoo-and-bar.html">This forum posting</a> asks the question if it is possible to do something like&nbsp;<div>&lt;mt:entries tag="@sometag AND $somethingelse"&gt;...&lt;mt:entries&gt;</div><div>to get all entries tagged with "@sometag" and some other tag (which is stored in the $somethingelse variable).</div>]]>
        <![CDATA[As it is written, the code will not work. &nbsp;Variable substitution in a tag argument will only work if the variable is the only thing in the argument.<div><br /></div><div>However, there is a workaround:</div><div><br /></div><div><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: monospace; line-height: 16px; white-space: nowrap; "><span class="mt-tag" style="color: rgb(170, 119, 0); ">&lt;mt:setvarblock name="myarg"&gt;</span><span class="xml-text" style="color: black; ">@sometag AND&nbsp;</span><span class="js-operator" style="color: rgb(102, 102, 102); ">&lt;</span><span class="js-variable" style="color: black; ">mt</span><span class="js-punctuation" style="color: rgb(102, 102, 102); ">:</span><span class="js-keyword" style="color: rgb(119, 0, 136); ">var&nbsp;</span><span class="js-variable" style="color: black; ">name</span><span class="js-operator" style="color: rgb(102, 102, 102); ">=</span><span class="js-string" style="color: rgb(170, 34, 34); ">"somethingelse"</span><span class="js-operator" style="color: rgb(102, 102, 102); ">&gt;&lt;</span><span class="js-string" style="color: rgb(170, 34, 34); ">/mt:setvarblock&gt;</span><br /><span class="mt-tag" style="color: rgb(170, 119, 0); ">&lt;mt:entries tag="$myarg&gt;</span><br /><font class="Apple-style-span" color="#000000">...<br /></font><span class="mt-tag" style="color: rgb(170, 119, 0); ">&lt;/mt:entries&gt;</span><span class="xml-text" style="color: black; ">​</span></span></div><div><br /></div><div>Simply use the 'setvarblock' tag to create a new variable ($myarg) that will hold the entire argument, tags, boolean operators, variables and all. Then use that new variable as the argument and presto... &nbsp;This should also work for other types of tags (categories, pages, authors...) and arguments (tags, categories, roles...).</div>]]>
    </content>
</entry>

<entry>
    <title>Displaying a Post Differently in Movable Type Depending on Asset Count</title>
    <link rel="alternate" type="text/html" href="http://www.movabletips.com/2010/06/displaying-a-post-differently-in-movable-type-depending-on-asset-count.html" />
    <id>tag:www.movabletips.com,2010://2.77</id>

    <published>2010-06-22T08:04:30Z</published>
    <updated>2010-06-21T19:38:14Z</updated>

    <summary><![CDATA[User Xtencil on the Movable Type Forum asks how he can show an entry in a different way depending on the number of assets present in the entry. &nbsp;For example, if there are no images vs. if there are one...]]></summary>
    <author>
        <name>Maarten Schenk</name>
        
    </author>
    
        <category term="Templates" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="Tricks and Workarounds" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="assetcount" label="asset count" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="assets" label="assets" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="counting" label="counting" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="entryassets" label="entryassets" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="images" label="images" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="loops" label="loops" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-us" xml:base="http://www.movabletips.com/">
        <![CDATA[User <a href="http://www.movabletype.org/members/smiguel">Xtencil</a> on the <a href="http://forum.movabletype.org/">Movable Type Forum</a> asks how he can show an entry in a different way depending on the number of assets present in the entry. &nbsp;For example, if there are no images vs. if there are one or more. &nbsp;He already attempted to use the EntryAssetsCount tag, which failed because this tag does not exist. &nbsp;But never fear...]]>
        <![CDATA[... with some template trickery we can go a long way, as usual:<div><br /></div><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: monospace; line-height: 16px; white-space: nowrap; "><span class="xml-punctuation" style="color: black; ">&lt;</span></span><span class="xml-tagname" style="color: rgb(170, 0, 187); ">ul</span><span class="xml-punctuation" style="color: black; ">&gt;</span></div><div><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: monospace; line-height: 16px; white-space: nowrap; "><span class="mt-tag" style="color: rgb(170, 119, 0); ">&lt;mt:entries&gt;</span></span></div><div><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: monospace; line-height: 16px; white-space: nowrap; "><span class="mt-tag" style="color: rgb(170, 119, 0); ">&lt;mt:var name="thecount" value="0"&gt;</span></span></div><div><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: monospace; line-height: 16px; white-space: nowrap; "><span class="mt-tag" style="color: rgb(170, 119, 0); ">&lt;mt:EntryAssets&gt;</span></span></div><div><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: monospace; line-height: 16px; white-space: nowrap; "><span class="whitespace">&nbsp; &nbsp;</span></span><span class="mt-tag" style="color: rgb(170, 119, 0); ">&lt;mt:setvarblock name="thecount"&gt;&lt;mt:var name="__counter__"&gt;&lt;/mt:setvarblock&gt;</span></div><div><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: monospace; line-height: 16px; white-space: nowrap; "><span class="mt-tag" style="color: rgb(170, 119, 0); ">&lt;/mt:EntryAssets&gt;</span></span></div><div><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: monospace; line-height: 16px; white-space: nowrap; "><span class="mt-tag" style="color: rgb(170, 119, 0); ">&lt;mt:if name="thecount" gt="1"&gt;</span></span></div><div><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: monospace; line-height: 16px; white-space: nowrap; "><span class="xml-punctuation" style="color: black; ">&lt;</span></span><span class="xml-tagname" style="color: rgb(170, 0, 187); ">li</span><span class="xml-punctuation" style="color: black; ">&gt;</span><span class="xml-text" style="color: black; ">Entry&nbsp;</span><span class="js-operator" style="color: rgb(102, 102, 102); ">&lt;</span><span class="js-variable" style="color: black; ">mt</span><span class="js-punctuation" style="color: rgb(102, 102, 102); ">:</span><span class="js-variable" style="color: black; ">entryid</span><span class="js-operator" style="color: rgb(102, 102, 102); ">&gt;&nbsp;</span><span class="js-variable" style="color: black; ">has&nbsp;</span><span class="js-variable" style="color: black; ">more&nbsp;</span><span class="js-variable" style="color: black; ">than&nbsp;</span><span class="js-variable" style="color: black; ">one&nbsp;</span><span class="js-variable" style="color: black; ">asset&nbsp;</span><span class="js-punctuation" style="color: rgb(102, 102, 102); ">(</span><span class="js-operator" style="color: rgb(102, 102, 102); ">&lt;</span><span class="js-variable" style="color: black; ">mt</span><span class="js-punctuation" style="color: rgb(102, 102, 102); ">:</span><span class="js-keyword" style="color: rgb(119, 0, 136); ">var&nbsp;</span><span class="js-variable" style="color: black; ">name</span><span class="js-operator" style="color: rgb(102, 102, 102); ">=</span><span class="js-string" style="color: rgb(170, 34, 34); ">"thecount"</span><span class="js-operator" style="color: rgb(102, 102, 102); ">&gt;</span><span class="js-punctuation" style="color: rgb(102, 102, 102); ">)</span><span class="js-operator" style="color: rgb(102, 102, 102); ">&lt;</span><span class="js-string" style="color: rgb(170, 34, 34); ">/li&gt;</span></div><div><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: monospace; line-height: 16px; white-space: nowrap; "><span class="mt-tag" style="color: rgb(170, 119, 0); ">&lt;mt:else&gt;</span></span></div><div><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: monospace; line-height: 16px; white-space: nowrap; "><span class="xml-punctuation" style="color: black; ">&lt;</span></span><span class="xml-tagname" style="color: rgb(170, 0, 187); ">li</span><span class="xml-punctuation" style="color: black; ">&gt;</span><span class="xml-text" style="color: black; ">Entry&nbsp;</span><span class="js-operator" style="color: rgb(102, 102, 102); ">&lt;</span><span class="js-variable" style="color: black; ">mt</span><span class="js-punctuation" style="color: rgb(102, 102, 102); ">:</span><span class="js-variable" style="color: black; ">entryid</span><span class="js-operator" style="color: rgb(102, 102, 102); ">&gt;&nbsp;</span><span class="js-variable" style="color: black; ">has&nbsp;</span><span class="js-variable" style="color: black; ">one&nbsp;</span><span class="js-variable" style="color: black; ">or&nbsp;</span><span class="js-variable" style="color: black; ">less&nbsp;</span><span class="js-variable" style="color: black; ">assets&nbsp;</span><span class="js-punctuation" style="color: rgb(102, 102, 102); ">(</span><span class="js-operator" style="color: rgb(102, 102, 102); ">&lt;</span><span class="js-variable" style="color: black; ">mt</span><span class="js-punctuation" style="color: rgb(102, 102, 102); ">:</span><span class="js-keyword" style="color: rgb(119, 0, 136); ">var&nbsp;</span><span class="js-variable" style="color: black; ">name</span><span class="js-operator" style="color: rgb(102, 102, 102); ">=</span><span class="js-string" style="color: rgb(170, 34, 34); ">"thecount"</span><span class="js-operator" style="color: rgb(102, 102, 102); ">&gt;</span><span class="js-punctuation" style="color: rgb(102, 102, 102); ">)</span><span class="js-operator" style="color: rgb(102, 102, 102); ">&lt;</span><span class="js-string" style="color: rgb(170, 34, 34); ">/li&gt;</span></div><div><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: monospace; line-height: 16px; white-space: nowrap; "><span class="mt-tag" style="color: rgb(170, 119, 0); ">&lt;/mt:if&gt;</span></span></div><div><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: monospace; line-height: 16px; white-space: nowrap; "><span class="mt-tag" style="color: rgb(170, 119, 0); ">&lt;/mt:entries&gt;</span></span></div><div><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: monospace; line-height: 16px; white-space: nowrap; "><span class="xml-punctuation" style="color: black; ">&lt;/</span></span><span class="xml-tagname xml-error" style="color: rgb(170, 0, 187); ">ul</span><span class="xml-punctuation" style="color: black; ">&gt;</span><span class="xml-text" style="color: black; ">​</span></div></blockquote><div><br /></div><div>This bit of code will produce following output:</div><div><br /></div><div><ul style="color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium; "><li>Entry 76 has one or less assets (1)</li><li>Entry 71 has more than one asset (6)</li><li>Entry 75 has one or less assets (1)</li><li>Entry 74 has one or less assets (1)</li><li>Entry 73 has one or less assets (1)</li><li>Entry 70 has more than one asset (6)</li><li>Entry 69 has one or less assets (1)</li><li>Entry 68 has one or less assets (1)</li><li>Entry 65 has more than one asset (4)</li><li>Entry 64 has more than one asset (2)</li></ul></div><div>As you can see, you can play with the number in the 'gt' argument, so you can test for any arbitrary number of assets.</div><div><br /></div><div>If your goal is simply to display the first asset for each post, if one is available, then use this code:</div><div><br /></div><div><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: monospace; line-height: 16px; white-space: nowrap; "><span class="xml-punctuation" style="color: black; ">&lt;</span><span class="xml-tagname" style="color: rgb(170, 0, 187); ">ul</span><span class="xml-punctuation" style="color: black; ">&gt;</span><br /><span class="mt-tag" style="color: rgb(170, 119, 0); ">&lt;mt:entries&gt;</span><br /><span class="mt-tag" style="color: rgb(170, 119, 0); ">&lt;mt:EntryAssets&gt;</span><br /><span class="mt-tag" style="color: rgb(170, 119, 0); ">&lt;mt:if name="__counter__" lt="2"&gt;</span><br /><span class="xml-punctuation" style="color: black; ">&lt;</span><span class="xml-tagname" style="color: rgb(170, 0, 187); ">li</span><span class="xml-punctuation" style="color: black; ">&gt;</span><span class="xml-text" style="color: black; ">First asset of entry&nbsp;</span><span class="js-operator" style="color: rgb(102, 102, 102); ">&lt;</span><span class="js-variable" style="color: black; ">mt</span><span class="js-punctuation" style="color: rgb(102, 102, 102); ">:</span><span class="js-variable" style="color: black; ">entryid</span><span class="js-operator" style="color: rgb(102, 102, 102); ">&gt;&nbsp;</span><span class="js-variable" style="color: black; ">is&nbsp;</span><span class="js-punctuation" style="color: rgb(102, 102, 102); ">:&nbsp;</span><span class="js-operator" style="color: rgb(102, 102, 102); ">&lt;</span><span class="js-variable" style="color: black; ">mt</span><span class="js-punctuation" style="color: rgb(102, 102, 102); ">:</span><span class="js-variable" style="color: black; ">asseturl</span><span class="js-operator" style="color: rgb(102, 102, 102); ">&gt;&lt;</span><span class="js-string" style="color: rgb(170, 34, 34); ">/li&gt;</span><br /><span class="mt-tag" style="color: rgb(170, 119, 0); ">&lt;/mt:if&gt;</span><br /><span class="mt-tag" style="color: rgb(170, 119, 0); ">&lt;/mt:EntryAssets&gt;</span><br /><span class="mt-tag" style="color: rgb(170, 119, 0); ">&lt;/mt:entries&gt;</span><br /><span class="xml-punctuation" style="color: black; ">&lt;/</span><span class="xml-tagname xml-error" style="color: rgb(170, 0, 187); ">ul</span><span class="xml-punctuation" style="color: black; ">&gt;</span><span class="xml-text" style="color: black; ">​</span></span></div><div><br /></div><div>Both snippets use the '__counter__' variable which is available inside almost any loop in MT and which indicates the number of times we have entered he loop so far. &nbsp;If it is less than two, it means we are going through the loop for the first time. The result would look like this:</div><div><br /></div><div><ul style="color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium; "><li>First asset of entry 76 is : http://www.movabletips.com/index.png</li><li>First asset of entry 71 is : http://www.movabletips.com/off.png</li><li>First asset of entry 75 is : http://www.movabletips.com/cup.gif</li><li>First asset of entry 74 is : http://www.movabletips.com/france.jpg</li><li>First asset of entry 73 is : http://www.movabletips.com/euroflag.png</li><li>First asset of entry 70 is : http://www.movabletips.com/ignore.jpg</li><li>First asset of entry 69 is : http://www.movabletips.com/cashregister.jpg</li><li>First asset of entry 68 is : http://www.movabletips.com/bug-pbmt-white.png</li><li>First asset of entry 65 is : http://www.movabletips.com/Cloud.png</li><li>First asset of entry 64 is : http://www.movabletips.com/moneybag.jpg</li></ul></div><div>Note: if there is no asset available for a particular entry, the EntryAssets loop will not display anything.</div><div><br /></div>]]>
    </content>
</entry>

<entry>
    <title>Sorting Entries Numerically by Custom Field in Movable Type</title>
    <link rel="alternate" type="text/html" href="http://www.movabletips.com/2010/06/sorting-entries-numerically-by-custom-field-in-movable-type.html" />
    <id>tag:www.movabletips.com,2010://2.81</id>

    <published>2010-06-21T20:19:01Z</published>
    <updated>2010-06-21T20:33:49Z</updated>

    <summary><![CDATA[For some time now you can sort entriesin Movable Type by the value of one of their custom fields, which is really neat and allows you to create your own arbitrary orderings. &nbsp;However, the sorting always happens alphabetically, which means...]]></summary>
    <author>
        <name>Maarten Schenk</name>
        
    </author>
    
        <category term="Templates" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="Tricks and Workarounds" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="customfields" label="custom fields" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="numeric" label="numeric" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="numerically" label="numerically" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="sorting" label="sorting" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-us" xml:base="http://www.movabletips.com/">
        <![CDATA[For some time now you can sort entriesin Movable Type by the value of one of their custom fields, which is really neat and allows you to create your own arbitrary orderings. &nbsp;However, the sorting always happens alphabetically, which means that '100' ends up before '11'. &nbsp;How to fix this?]]>
        <![CDATA[<b>The simple solution</b><div><br /></div><div>Zero-pad all numbers you put in a custom field that you intend to sort by: 001, 010, 100... will line up perfectly. &nbsp;Drawbacks are that you need to type a lot of extra zeroes and you better make sure you use enough places or you will end up with 1000 coming before 110...</div><div><br /></div><div><b>The template solution</b></div><div><br /></div><div>Compare the output of the first and last bit of template code in this example:</div><div><br /></div><div><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: monospace; line-height: 16px; white-space: nowrap; "><span class="mt-tag" style="color: rgb(170, 119, 0); ">&lt;mt:entries sort_by="field:order" sort_order="descend"&gt;</span><br /><span class="xml-punctuation" style="color: black; ">&lt;</span><span class="xml-tagname" style="color: rgb(170, 0, 187); ">li</span><span class="xml-punctuation" style="color: black; ">&gt;</span><span class="mt-tag" style="color: rgb(170, 119, 0); ">&lt;mt:entrytitle&gt;&nbsp;</span><span class="xml-text" style="color: black; ">-&nbsp;</span><span class="js-operator" style="color: rgb(102, 102, 102); ">&lt;</span><span class="js-variable" style="color: black; ">mt</span><span class="js-punctuation" style="color: rgb(102, 102, 102); ">:</span><span class="js-variable" style="color: black; ">entrydataorder</span><span class="js-operator" style="color: rgb(102, 102, 102); ">&gt;&lt;</span><span class="js-string" style="color: rgb(170, 34, 34); ">/li&gt;</span><br /><span class="mt-tag" style="color: rgb(170, 119, 0); ">&lt;mt:setvarblock name="thetitle"&gt;</span><span class="mt-tag" style="color: rgb(170, 119, 0); ">&lt;mt:entrytitle&gt;</span><span class="mt-tag" style="color: rgb(170, 119, 0); ">&lt;/mt:setvarblock&gt;</span><br /><span class="mt-tag" style="color: rgb(170, 119, 0); ">&lt;mt:setvarblock name="thelist{$thetitle}"&gt;</span><span class="mt-tag" style="color: rgb(170, 119, 0); ">&lt;mt:entrydataorder&gt;</span><span class="mt-tag" style="color: rgb(170, 119, 0); ">&lt;/mt:setvarblock&gt;</span><br /><span class="mt-tag" style="color: rgb(170, 119, 0); ">&lt;/mt:entries&gt;</span><br /><br /><span class="xml-punctuation" style="color: black; ">&lt;</span><span class="xml-tagname" style="color: rgb(170, 0, 187); ">hr</span><span class="xml-punctuation" style="color: black; ">&gt;</span><br /><br /><span class="mt-tag" style="color: rgb(170, 119, 0); ">&lt;mt:loop name="thelist" sort_by="value numeric reverse"&gt;</span><br /><span class="xml-punctuation" style="color: black; ">&lt;</span><span class="xml-tagname" style="color: rgb(170, 0, 187); ">li</span><span class="xml-punctuation" style="color: black; ">&gt;</span><span class="mt-tag" style="color: rgb(170, 119, 0); ">&lt;mt:var name="__key__"&gt;&nbsp;</span><span class="xml-text" style="color: black; ">-&nbsp;</span><span class="js-operator" style="color: rgb(102, 102, 102); ">&lt;</span><span class="js-variable" style="color: black; ">mt</span><span class="js-punctuation" style="color: rgb(102, 102, 102); ">:</span><span class="js-keyword" style="color: rgb(119, 0, 136); ">var&nbsp;</span><span class="js-variable" style="color: black; ">name</span><span class="js-operator" style="color: rgb(102, 102, 102); ">=</span><span class="js-string" style="color: rgb(170, 34, 34); ">"__value__"</span><span class="js-operator" style="color: rgb(102, 102, 102); ">&gt;</span><br /><span class="mt-tag" style="color: rgb(170, 119, 0); ">&lt;/mt:loop&gt;</span><span>​</span></span></div><div><br /></div><div>For three entries, titled 'One', 'Eleven' and 'Hundred' and with respectively 1, 11 and 100 in the 'EntryDataOrder custom field, the result is this:</div><div><br /></div><div><li style="color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium; ">Eleven - 11</li><li style="color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium; ">Hundred - 100</li><li style="color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium; ">One - 1</li><hr style="color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium; "><li style="color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium; ">Hundred - 100</li><li style="color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium; ">Eleven - 11</li><li style="color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium; ">One - 1</li></div><div><br /></div><div>The code makes use of the fact that the <a href="http://movabletype.org/documentation/appendices/tags/entries.html">mt:entries</a> tag does not have an option to force numeric sorting, but <a href="http://movabletype.org/documentation/appendices/tags/loop.html">mt:loop</a> does. &nbsp;By storing the entry titles and custom field values in a hash array and then sorting it on the 'value' but numerically we get the desired output.</div>]]>
    </content>
</entry>

<entry>
    <title>Creating a &apos;Tag Index&apos; on Movable Type</title>
    <link rel="alternate" type="text/html" href="http://www.movabletips.com/2010/06/creating-a-tag-index-on-movable-type.html" />
    <id>tag:www.movabletips.com,2010://2.76</id>

    <published>2010-06-21T08:38:00Z</published>
    <updated>2010-06-21T11:00:02Z</updated>

    <summary><![CDATA[Many paper books have an index of keywords at the end, listing for each keyword on which pages in the book they occur. &nbsp;Recently someone on the Six Apart ProNet mailing list wanted something similar for his blog: an alphabetical...]]></summary>
    <author>
        <name>Maarten Schenk</name>
        
    </author>
    
        <category term="Templates" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="index" label="index" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="movabletype" label="Movable Type" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="tagindex" label="tag index" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="tags" label="tags" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-us" xml:base="http://www.movabletips.com/">
        <![CDATA[Many paper books have an index of keywords at the end, listing for each keyword on which pages in the book they occur. &nbsp;Recently someone on the <a href="http://www.sixapart.com/pronet/">Six Apart ProNet</a> mailing list wanted something similar for his blog: an alphabetical listing of all tags along with the entry ID's of the entries that were tagged with each tag. <a href="http://www.penguinstorm.com/">Skot Nelson</a> stepped up with this bit of template code.]]>
        <![CDATA[<blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: monospace; line-height: 16px; white-space: nowrap; "><span class="xml-punctuation" style="color: black; ">&lt;</span></span><span class="xml-tagname" style="color: rgb(170, 0, 187); ">h2</span><span class="xml-punctuation" style="color: black; ">&gt;</span><span class="xml-text" style="color: black; ">Tag Index</span><span class="js-operator" style="color: rgb(102, 102, 102); ">&lt;</span><span class="js-string" style="color: rgb(170, 34, 34); ">/h2&gt;</span></div><div><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: monospace; line-height: 16px; white-space: nowrap; "><span class="xml-punctuation" style="color: black; ">&lt;</span></span><span class="xml-tagname" style="color: rgb(170, 0, 187); ">div&nbsp;</span><span class="xml-attname" style="color: rgb(0, 0, 255); ">ID</span><span class="xml-punctuation" style="color: black; ">=</span><span class="xml-attribute" style="color: rgb(34, 136, 17); ">"tagListing"</span><span class="xml-punctuation" style="color: black; ">&gt;</span></div><div><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: monospace; line-height: 16px; white-space: nowrap; "><span class="xml-punctuation" style="color: black; ">&lt;</span></span><span class="xml-tagname" style="color: rgb(170, 0, 187); ">MTTags</span><span class="xml-punctuation" style="color: black; ">&gt;</span></div><div><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: monospace; line-height: 16px; white-space: nowrap; "><br /></span></div><div><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: monospace; line-height: 16px; white-space: nowrap; "><span class="xml-punctuation" style="color: black; ">&lt;</span></span><span class="xml-tagname" style="color: rgb(170, 0, 187); ">a&nbsp;</span><span class="xml-attname" style="color: rgb(0, 0, 255); ">href</span><span class="xml-punctuation" style="color: black; ">=</span><span class="xml-attribute" style="color: rgb(34, 136, 17); ">"&lt;$MTTagSearchLink$&gt;"&nbsp;</span><span class="xml-attname" style="color: rgb(0, 0, 255); ">rel</span><span class="xml-punctuation" style="color: black; ">=</span><span class="xml-attribute" style="color: rgb(34, 136, 17); ">"nofollow"</span><span class="xml-punctuation" style="color: black; ">&gt;</span><span class="xml-punctuation" style="color: black; ">&lt;</span><span class="xml-tagname" style="color: rgb(170, 0, 187); ">span&nbsp;</span><span class="xml-attname" style="color: rgb(0, 0, 255); ">class</span><span class="xml-punctuation" style="color: black; ">=</span><span class="xml-attribute" style="color: rgb(34, 136, 17); ">"size&lt;$MTTagRank$&gt;"</span><span class="xml-punctuation" style="color: black; ">&gt;</span><span class="mt-tag" style="color: rgb(170, 119, 0); ">&lt;$MTTagName&gt;&lt;/span&gt;&lt;/a&gt;...&amp;nbsp;</span></div><div><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: monospace; line-height: 16px; white-space: nowrap; "><span class="mt-tag" style="color: rgb(170, 119, 0); ">&lt;MT:Entries glue=", "&gt;</span></span></div><div><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: monospace; line-height: 16px; white-space: nowrap; "><span class="mt-tag" style="color: rgb(170, 119, 0); ">&lt;a href="&lt;MT:EntryPermaLink&gt;"&gt;&lt;MT:EntryID&gt;&lt;/a&gt;</span></span></div><div><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: monospace; line-height: 16px; white-space: nowrap; "><span class="mt-tag" style="color: rgb(170, 119, 0); ">&lt;/MT:Entries&gt;&lt;br&gt;</span></span></div><div><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: monospace; line-height: 16px; white-space: nowrap; "><span class="mt-tag" style="color: rgb(170, 119, 0); ">&lt;/MTTags&gt;</span></span></div><div><span class="Apple-style-span" style="color: rgb(102, 102, 102); font-family: monospace; line-height: 16px; white-space: nowrap; "><span class="mt-tag" style="color: rgb(170, 119, 0); ">&lt;/div&gt;</span></span></div></blockquote><div><br /></div><div>It produces something like this:</div><div><br /></div><div><h2 style="color: rgb(0, 0, 0); font-size: medium; "><font class="Apple-style-span" style="font-size: 1.25em; "><font class="Apple-style-span" style="font-size: 1.25em; ">Tag Index</font></font></h2><div id="tagListing" style="color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium; "><a href="http://www.movabletips.com/cgi-bin/mt/mt-search.cgi?blog_id=2&amp;tag=5.02&amp;limit=20" rel="nofollow"><span class="size6">5.02</span></a>...&nbsp;&nbsp;<a href="http://www.movabletips.com/2010/05/movable-type-502-is-out.html">68</a>&nbsp;<br /><a href="http://www.movabletips.com/cgi-bin/mt/mt-search.cgi?blog_id=2&amp;tag=announcement&amp;limit=20" rel="nofollow"><span class="size6">announcement</span></a>...&nbsp;&nbsp;<a href="http://www.movabletips.com/2010/05/movable-type-502-is-out.html">68</a>&nbsp;<br /><a href="http://www.movabletips.com/cgi-bin/mt/mt-search.cgi?blog_id=2&amp;tag=author&amp;limit=20" rel="nofollow"><span class="size6">author</span></a>...&nbsp;&nbsp;<a href="http://www.movabletips.com/2010/05/changing-the-author-of-an-entry-in-movable-type.html">63</a>&nbsp;<br /><a href="http://www.movabletips.com/cgi-bin/mt/mt-search.cgi?blog_id=2&amp;tag=authorship&amp;limit=20" rel="nofollow"><span class="size6">authorship</span></a>...&nbsp;&nbsp;<a href="http://www.movabletips.com/2010/05/changing-the-author-of-an-entry-in-movable-type.html">63</a>&nbsp;<br /><a href="http://www.movabletips.com/cgi-bin/mt/mt-search.cgi?blog_id=2&amp;tag=cloud&amp;limit=20" rel="nofollow"><span class="size6">cloud</span></a>...&nbsp;&nbsp;<a href="http://www.movabletips.com/2010/05/the-importance-of-tag-cloud-maintenance-in-movable-type.html">65</a>&nbsp;<br /><a href="http://www.movabletips.com/cgi-bin/mt/mt-search.cgi?blog_id=2&amp;tag=contest&amp;limit=20" rel="nofollow"><span class="size6">contest</span></a>...&nbsp;&nbsp;<a href="http://www.movabletips.com/2010/06/movable-type-designers-wanted.html">75</a>&nbsp;<br /><a href="http://www.movabletips.com/cgi-bin/mt/mt-search.cgi?blog_id=2&amp;tag=design&amp;limit=20" rel="nofollow"><span class="size6">design</span></a>...&nbsp;&nbsp;<a href="http://www.movabletips.com/2010/06/movable-type-designers-wanted.html">75</a>&nbsp;</div></div><div>(...)</div><div><br /></div><div>Quite nice! &nbsp;And thanks to Skot for allowing me to share it here!</div>]]>
    </content>
</entry>

<entry>
    <title>How to Disable Zemanta on Movable Type 5</title>
    <link rel="alternate" type="text/html" href="http://www.movabletips.com/2010/06/how-to-disable-zemanta-on-movable-type-5.html" />
    <id>tag:www.movabletips.com,2010://2.71</id>

    <published>2010-06-18T08:22:43Z</published>
    <updated>2010-06-16T12:11:55Z</updated>

    <summary><![CDATA[Zemanta is a really cool plugin that comes bundled standard with Movable Type in the most recent versions available (both for MT 4.x and 5.x).&nbsp; While you are writing a blogpost, it automatically scans the contents for keywords and offers...]]></summary>
    <author>
        <name>Maarten Schenk</name>
        
    </author>
    
        <category term="Plugins" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="Tricks and Workarounds" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="disable" label="disable" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="disabling" label="disabling" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="movabletype" label="movable type" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="zemanta" label="zemanta" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-us" xml:base="http://www.movabletips.com/">
        <![CDATA[Zemanta is a really cool plugin that comes bundled standard with Movable Type in the most recent versions available (both for MT 4.x and 5.x).&nbsp; While you are writing a blogpost, it automatically scans the contents for keywords and offers you various recommendations of related content, like links, images or tags.&nbsp; With one click you can then add these to your post.&nbsp; However, Zemanta's controls can take up quite a bit of screen real estate and on slower computers with a bad internet connection it can also slow you down.&nbsp; This can be annoying, especially if you are not using any of its functions.<br />]]>
        <![CDATA[<a href="http://www.movabletips.com/assets_c/2010/06/zemanta1-145.html" onclick="window.open('http://www.movabletips.com/assets_c/2010/06/zemanta1-145.html','popup','width=1050,height=741,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://www.movabletips.com/assets_c/2010/06/zemanta1-thumb-600x423-145.jpg" alt="zemanta1.jpg" class="mt-image-none" style="" height="423" width="600" /></a><br /><i>(the coloured areas are added by Zemanta)</i><br /><br />Although the sidebar widget does have a 'close' link, it only closes it for the current entry.&nbsp; The next entry you start writing will bring the full widget and associated tags/links options right back.<br /><br />So what is the proper way to get rid of the Zemanta widget?&nbsp; It is easy if you know it: simply disable the Zemanta plugin from the system plugin settings screen.&nbsp; First, open the main menu (in MT5) and click 'System Overview'.<br /><br /><img alt="zemanta2.jpg" src="http://www.movabletips.com/zemanta2.jpg" class="mt-image-none" style="" height="346" width="294" /><br /><br />Then open the 'Tools' menu and click 'Plugins':<br /><br /><img alt="zemanta3.jpg" src="http://www.movabletips.com/zemanta3.jpg" class="mt-image-none" style="" height="358" width="164" /><br /><br />Finally, locate 'Zemanta' in the list of plugins:<br /><a href="http://www.movabletips.com/assets_c/2010/06/zemanta4-153.html" onclick="window.open('http://www.movabletips.com/assets_c/2010/06/zemanta4-153.html','popup','width=900,height=50,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://www.movabletips.com/assets_c/2010/06/zemanta4-thumb-600x33-153.jpg" alt="zemanta4.jpg" class="mt-image-none" style="" height="33" width="600" /></a><br /><br />Now hit the 'Disable' button, and you are done!<br /><a href="http://www.movabletips.com/assets_c/2010/06/zemanta5-156.html" onclick="window.open('http://www.movabletips.com/assets_c/2010/06/zemanta5-156.html','popup','width=910,height=60,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://www.movabletips.com/assets_c/2010/06/zemanta5-thumb-600x39-156.jpg" alt="zemanta5.jpg" class="mt-image-none" style="" height="39" width="600" /></a><br /><br />If you later want to re-enable Zemanta, simply click the 'Enable' button again.<br /><br /><b>Note:</b> this procedure will disable Zemanta for all blogs on your installation.&nbsp; There is no way to turn it on or off selectively for certain blogs as far as I know.&nbsp; If there is, don't hesitate to leave a comment!<br /><br /><br /><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div>]]>
    </content>
</entry>

<entry>
    <title>Movable Type Designers Wanted!</title>
    <link rel="alternate" type="text/html" href="http://www.movabletips.com/2010/06/movable-type-designers-wanted.html" />
    <id>tag:www.movabletips.com,2010://2.75</id>

    <published>2010-06-16T12:12:26Z</published>
    <updated>2010-06-16T12:18:28Z</updated>

    <summary><![CDATA[Six Apart has just announced a design contest for Movable Type, where you can win Adobe Creative Suite 5 Web Premium or an iPad for submitting the winning theme.&nbsp; As for myself, I'm not much of a designer due to...]]></summary>
    <author>
        <name>Maarten Schenk</name>
        
    </author>
    
        <category term="Movable Type News" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="contest" label="contest" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="design" label="design" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="movabletype" label="movable type" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="sixapart" label="Six Apart" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="theme" label="theme" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en-us" xml:base="http://www.movabletips.com/">
        <![CDATA[Six Apart has just <a href="http://www.movabletype.org/2010/06/movable_type_5_theme_contest.html">announced a design contest for Movable Type</a>, where you can win Adobe Creative Suite 5 Web Premium or an iPad for submitting the winning theme.&nbsp; As for myself, I'm not much of a designer due to lack of artistic talent, but if you are a design talent who just needs some help with the technical side of things, don't hesitate to drop me a line! ]]>
        
    </content>
</entry>

</feed>
