<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
    <title>geekmum {movable cafe archives}</title>
    <link rel="alternate" type="text/html" href="http://geekmum.com/" />
    <link rel="self" type="application/atom+xml" href="http://geekmum.com/atom.xml" />
    <id>tag:geekmum.com,2010-01-19://2</id>
    <updated>2010-01-20T03:13:30Z</updated>
    <subtitle>Movable Type Tricks, Tips, Tweaks...</subtitle>
    <generator uri="http://www.sixapart.com/movabletype/">Movable Type Pro 5.01</generator>

<entry>
    <title>Commence Archives</title>
    <link rel="alternate" type="text/html" href="http://geekmum.com/2010/01/commence-archives" />
    <id>tag:geekmum.com,2010://2.75</id>

    <published>2010-01-01T18:30:31Z</published>
    <updated>2010-01-20T03:13:30Z</updated>

    <summary>Geekmum.com {Movable Cafe} blog is retiring and shall henceforth be solely an archival site. I had fun tweaking and hacking Movable Type back in the day, but much of the content here is deprecated now due to extensive and ongoing...</summary>
    <author>
        <name>Kate</name>
        
    </author>
    
        <category term="Note to Self" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en" xml:base="http://geekmum.com/">
        <![CDATA[<p>Geekmum.com {Movable Cafe} blog is retiring and shall henceforth be solely an archival site. I had fun tweaking and hacking Movable Type back in the day, but much of the content here is deprecated now due to extensive and ongoing feature improvements in MT. (As it should be!) Some content might still be found useful, thus the archives. Completely obsolete content has been removed and commenting is disabled globally. Questions may be directed via email to kate at this domain.</p>

<p>Thank you to my enthusiastic readership (all three of you! {wink}) for the last 7+ years of MT fun and encouragement.</p>

<p>Kate<br />
Movable Cafe {Movable Type Tricks, Tips, Tweaks and Hacks}</p>]]>
        
    </content>
</entry>

<entry>
    <title>The Tweet Heard Round the World</title>
    <link rel="alternate" type="text/html" href="http://geekmum.com/2009/05/the-tweet-heard-round-the-world" />
    <id>tag:geekmum.com,2009://2.74</id>

    <published>2009-05-13T14:12:47Z</published>
    <updated>2010-01-20T03:13:30Z</updated>

    <summary>Or... Never Underestimate the Backlash of a &quot;Small Settings Update&quot; Yesterday Twitter made an unexpected, unwelcome and vastly unappreciated change to the way &quot;@reply&quot; tweets are delivered to users. Until yesterday, I could view my Twitter friends&apos; replies to users...</summary>
    <author>
        <name>Kate</name>
        
    </author>
    
        <category term="Twitter" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="fixreplies" label="#fixreplies" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="twitterfail" label="#twitterfail" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="socialmedia" label="socialmedia" 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" xml:base="http://geekmum.com/">
        <![CDATA[<p><strong>Or... Never Underestimate the Backlash of a "<a href="http://blog.twitter.com/2009/05/small-settings-update.html">Small Settings Update</a>"</strong></p>

<p>Yesterday Twitter made an unexpected, unwelcome and vastly unappreciated change to the way "@reply" tweets are delivered to users. Until yesterday, I could view my Twitter friends' replies to users we don't mutually follow. Until yesterday, I could turn that feature option on or off in my user settings. Today, however, I have no choice in the matter. Twitter killed the option, calling it "undesirable and confusing".</p>

<p>I find their reasoning curious, since (if I remember correctly) the user settings had this feature turned off by default. For those Twitter users who turned the option <strong>on</strong>, it was <strong>desirable</strong> and <strong>useful</strong>, and <strong>made perfect sense</strong>. Twitter has shot themselves, along with their claim to value the "importance of discovery", in the foot.</p>

<p>In a "real life" scenario, it would be like going to my favorite cafe for a meetup with a common-interest group, some folks with whom I am acquainted and others with whom I am not. Throughout the conversations are dead spots... any time someone I know replies to someone I don't know I find myself unable to hear my friend speak. I would love to get to know the friends of my friends, but I am not allowed to hear their conversations. Now that is what I would consider "undesirable and confusing"!</p>

<p>Many Twitter users have already discovered and implemented a (kludgy, but do-able) workaround by prepending a single character to the @reply in their tweets. This will work to allow @reply tweets to be seen by all friends, but the loss now will be for the users who once disabled @replies to non-friends. They will have to choose between enduring these tweets or unfollowing their friends. Not only that, these @replies will truly be "one-sided fragments" because there will be no refering link to the original tweet. Nobody wins.</p>

<p><strong>The Value of Discovery</strong></p>

<p>The ability to discover new Twitter users to follow is, for me, among the most highly valued Twitter features. Seeing my Twitter friends' interesting replies to users I have not yet met allows me the option of learning more about those users and potentially making new connections. This method of discovery has afforded me some wonderful Twitter friends and contacts I would surely have never met otherwise. The result is a richer community experience.</p>

<p>I am extremely disappointed in the decision of the Twitter powers that be to make this change without, it would seem, becoming better informed as to the potential impact on its users. Not only did they act in a short-sighted way, they acted with presumption that they know better than their users what their users want. I only hope they will hear and honor the many users who have made Twitter the great social media community that it is and return this feature quickly until they are ready to implement a better alternative that serves everyone.</p>

<p>Related Twitter Searches: <a href="http://search.twitter.com/search?q=#fixreplies">#fixreplies</a> <a href="http://search.twitter.com/search?q=#twitterfail">#twitterfail</a></p>

<p>[Twitter Responds: <a href="http://blog.twitter.com/2009/05/whoa-feedback.html">Whoa, Feedback!</a> / <a href="http://blog.twitter.com/2009/05/we-learned-lot.html">We Learned A Lot</a>]</p>

<p><strong>Update:</strong> Thank you, Twitter Team, for hearing your users' feedback. Even so, I would have liked to see you kick the integrity up a notch by foregoing the <abbr title="cover your bAckside">CYA</abbr> campaign and just being transparent from the start. While I am not completely thrilled with your interim solution, I am grateful for it and looking forward to your promised feature improvements which will hopefully satisfy everyone.</p>]]>
        
    </content>
</entry>

<entry>
    <title>Pink for October 2008</title>
    <link rel="alternate" type="text/html" href="http://geekmum.com/2008/10/pink-for-october-2008" />
    <id>tag:geekmum.com,2008://2.69</id>

    <published>2008-10-05T10:50:35Z</published>
    <updated>2010-01-20T03:13:29Z</updated>

    <summary>I thank God that my mom is a breast cancer survivor. In honor of her and so many other women (and men) who have experienced breast cancer, I&apos;ve gone Pink for October!! Please visit PinkforOctober.org, American Cancer Society, Susan G...</summary>
    <author>
        <name>Kate</name>
        
    </author>
    
        <category term="General" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="breastcancer" label="breast cancer" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="pinkforoctober" label="pink for october" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://geekmum.com/">
        <![CDATA[<p>I thank God that my mom is a breast cancer survivor.  In honor of her and so many other women (and <a href="http://www.google.com/search?q=men+breast+cancer">men</a>) who have experienced breast cancer, I've gone <a href="http://pinkforoctober.org">Pink for October</a>!!</p>

<p>Please visit <a href="http://pinkforoctober.org">PinkforOctober.org</a>, <a href="http://cancer.org">American Cancer Society</a>, <a href="http://komen.org">Susan G Komen for the Cure</a>, or <a href="http://www.google.com/search?q=breast+cancer+awareness">other sites</a> to learn about breast cancer symptoms, early detection, and treatments.  AND please consider a donation to a reputable organization to support much needed breast cancer research!</p>]]>
        <![CDATA[<p>Update: Since October is past, here's a screencap... </p>

<p><a href="http://geekmum.com/images/geekmum-pink-for-october-2008.png"><img src="http://geekmum.com/images/geekmum-pink-for-october-2008-thumb-200x385.png" width="200" height="385" alt="geekmum-pink-for-october-2008.png"/></a></p>]]>
    </content>
</entry>

<entry>
    <title>Twitter Search Command for Ubiquity</title>
    <link rel="alternate" type="text/html" href="http://geekmum.com/2008/08/twitter-search-command-for-ubiquity" />
    <id>tag:geekmum.com,2008://2.68</id>

    <published>2008-08-29T01:00:54Z</published>
    <updated>2010-01-20T03:13:29Z</updated>

    <summary>Ubiquity is an amazing and extremely useful command line tool/UI for Firefox, currently in alpha. Since it didn&apos;t come packaged with a command to search Twitter and I couldn&apos;t find one elsewhere, I tweaked a simple command together that does...</summary>
    <author>
        <name>Kate</name>
        
    </author>
    
        <category term="Firefox" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="command" label="command" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="firefox" label="firefox" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="search" label="search" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="summize" label="summize" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="twitter" label="twitter" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="twittersearch" label="twittersearch" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="ubiquity" label="ubiquity" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://geekmum.com/">
        <![CDATA[<p><a href="http://labs.mozilla.com/2008/08/introducing-ubiquity/">Ubiquity</a> is an amazing and extremely useful command line tool/UI for Firefox, currently in alpha. Since it didn't come packaged with a command to <a href="http://search.twitter.com">search</a> <a href="http://twitter.com">Twitter</a> and I couldn't find one elsewhere, I tweaked a simple command together that does the job... <strong>"twittersearch"</strong>. You can copy the code below and add it to Ubiquity's command editor yourself (and have it instantly usable) <strong>or</strong> you can subscribe directly to the command on my <a href="http://geekmum.com/ubiquity">Ubiquity page</a> (subscribing will require FF restart). If you haven't tried Ubiquity for Firefox, check it out at <a href="http://labs.mozilla.com/2008/08/introducing-ubiquity/">Mozilla Labs</a>. No need for me to blog about it; enough is already being said <a href="http://ajaxian.com/archives/ubiquity-quicksilver-of-the-firefox-browser">here</a>, <a href="http://lifehacker.com/5042312/ubiquity-prototype-offers-a-natural-language-web-command-line">there</a> and <a href="http://search.twitter.com/search?q=ubiquity">everywhere</a>.</p>

<p>As always, your mileage may vary, use at your own risk, the usual suspects. Enjoy!</p>

<div class="code-box">
makeSearchCommand({<br />
&#160;&#160;name: "twittersearch",<br />
&#160;&#160;url: "http://search.twitter.com/search?q={QUERY}",<br />
&#160;&#160;icon: "http://assets3.twitter.com/images/favicon.ico",<br />
&#160;&#160;description: "Searches &lt;a href=\"http://search.twitter.com\"&gt;Twitter&lt;/a&gt; for tweets matching your words.",<br />
&#160;&#160;preview: function(pBlock, directObj) {<br />
&#160;&#160;&#160;&#160;if (directObj.text)<br />
&#160;&#160;&#160;&#160;&#160;&#160;pBlock.innerHtml = "Searches Twitter for " + directObj.text;<br />
&#160;&#160;&#160;&#160;else<br />
&#160;&#160;&#160;&#160;&#160;&#160;pBlock.innerHTML = "Searches Twitter for tweets matching yourwords.";<br />
&#160;&#160;}<br />
});<br />
</div>]]>
        
    </content>
</entry>

<entry>
    <title>Lightbox Notes</title>
    <link rel="alternate" type="text/html" href="http://geekmum.com/2008/07/lightbox-notes" />
    <id>tag:geekmum.com,2008://2.66</id>

    <published>2008-07-04T01:26:01Z</published>
    <updated>2010-01-20T03:13:29Z</updated>

    <summary>Installing Lightbox with intention of converting existing photoblog to more of a typical gallery. Because I store Lightbox&apos;s files in their own /lightbox directory, I had to edit /js/lightbox.js around lines 49,50 thus: fileLoadingImage: &apos;/lightbox_dir/images/loading.gif&apos;, fileBottomNavCloseImage: &apos;/lightbox_dir/images/closelabel.gif&apos;, Edit is necessary...</summary>
    <author>
        <name>Kate</name>
        
    </author>
    
        <category term="Note to Self" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="edit" label="edit" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="install" label="install" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="lightbox" label="lightbox" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="tweak" label="tweak" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://geekmum.com/">
        <![CDATA[<p>Installing Lightbox with intention of converting existing photoblog to more of a typical gallery. </p>

<p>Because I store Lightbox's files in their own /lightbox directory, I had to edit /js/lightbox.js around lines 49,50 thus:</p>

<p>    fileLoadingImage:        '/lightbox_dir/images/loading.gif',     <br />
    fileBottomNavCloseImage: '/lightbox_dir/images/closelabel.gif',</p>

<p>Edit is necessary to display "Close button" and "loading" images.</p>

<p>Just didn't want to forget this.</p>]]>
        
    </content>
</entry>

<entry>
    <title>Resolved</title>
    <link rel="alternate" type="text/html" href="http://geekmum.com/2008/06/resolved" />
    <id>tag:geekmum.com,2008://2.65</id>

    <published>2008-06-21T05:02:35Z</published>
    <updated>2010-01-20T03:13:29Z</updated>

    <summary>I know not how, but my dynamic archive funk seems to be resolved. In thinking particularly about why (1) new entries would display as expected, but old entries wouldn&apos;t and (2) archive mapping had to be changed from original in...</summary>
    <author>
        <name>Kate</name>
        
    </author>
    
        <category term="Headaches" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="MT4" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="troubleshooting" label="troubleshooting" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="whydoitorturemyself" label="why do I torture myself" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://geekmum.com/">
        <![CDATA[<p>I know not how, but my dynamic archive funk seems to be resolved. In thinking particularly about why (1) new entries would display as expected, but old entries wouldn't and (2) archive mapping had to be changed from original in order to work, I wondered if the backup templates could have anything to do with the problem (causing some kind of conflict? I don't know).  Well, I deleted every last one of them (200 or so) and voila! it's all good now.</p>

<p>Wonders never cease.</p>]]>
        
    </content>
</entry>

<entry>
    <title>Testing Post-Upgrade Entry</title>
    <link rel="alternate" type="text/html" href="http://geekmum.com/2008/06/testing-post-upgrade-entry" />
    <id>tag:geekmum.com,2008://2.64</id>

    <published>2008-06-20T17:49:55Z</published>
    <updated>2010-01-20T03:13:29Z</updated>

    <summary>This is what I think is happening... If I use the regular static publishing profile, the MT monster is happy and everything (indexes, archives, etc.) displays as expected. If I use the dynamic archives publishing profile, the MT monster is...</summary>
    <author>
        <name>Kate</name>
        
    </author>
    
        <category term="Headaches" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="MT4" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="troubleshooting" label="troubleshooting" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="whydoitorturemyself" label="why do I torture myself" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://geekmum.com/">
        <![CDATA[<p>This is what I think is happening... </p>

<p>If I use the regular static publishing profile, the MT monster is happy and everything (indexes, archives, etc.) displays as expected.</p>

<p>If I use the dynamic archives publishing profile, the MT monster is mysteriously provoked into the following behavior:  <br />
<ul><br />
	<li>Static pages display as expected</li><br />
	<li>New entry archives, category archives for newly created categories, and newly created pages display as expected. (Newly created = created after upgrade to 4.2)</li><br />
	<li>Archives for entries, categories, and pages created before the 4.2 upgrade do not display as expected. They are apparently missing the header, footer and other modules.  Why?!</li><br />
</ul></p>

<p>FWIW, I have tried batch editing/(re)saving the old entries - and - editing old entries and saving, in hopes of any change in display, alas to no avail.</p>

<p>What on earth could cause this behavior? Clearly a bug, right?</p>

<p>MT history of this blog:<br />
Started out on MT2.x, upgraded numerous times through MT3.x, exported entries and moved to clean install of MT4.1, (upgraded to MT4.15? or exported entries to fresh install of 4.15? can't remember), upgraded to MT4.2rc2. That's when all the fun began.</p>]]>
        
    </content>
</entry>

<entry>
    <title>Testing 20080618 1</title>
    <link rel="alternate" type="text/html" href="http://geekmum.com/2008/06/testing-20080618-1" />
    <id>tag:geekmum.com,2008://2.63</id>

    <published>2008-06-18T19:08:04Z</published>
    <updated>2010-01-20T03:13:29Z</updated>

    <summary>Archive mapping (or js? or something else? probably so) is not working. I am using the dynamic archives publishing profile. I have refreshed templates Design/Templates/Refresh Templates When I have (dynamic) entry archives mapped to %-c/%-b/ (category/sub-category/base-name/) they are displaying WITHOUT...</summary>
    <author>
        <name>Kate</name>
        
    </author>
    
        <category term="Headaches" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="MT4" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="troubleshooting" label="troubleshooting" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="whydoitorturemyself" label="why do I torture myself" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://geekmum.com/">
        <![CDATA[<p>Archive mapping (or js? or something else? probably so) is not working.  </p>

<p>I am using the dynamic archives publishing profile.  I have refreshed templates Design/Templates/Refresh Templates</p>

<p>When I have (dynamic) entry archives mapped to %-c/%-b/ (category/sub-category/base-name/) they are displaying WITHOUT including the actual entry AND unstyled.</p>

<p>I followed (the exact same?) process on PajamaLabs' dynamic blog and that's working fine.</p>

<p>What the heck is up with that?  And now it's time for me to head out of here so I will probably forget exactly where I am in the troubleshooting process and have to start all over. :-p</p>]]>
        
    </content>
</entry>

<entry>
    <title>Movable Type 4.1</title>
    <link rel="alternate" type="text/html" href="http://geekmum.com/2008/02/movable-type-41" />
    <id>tag:geekmum.com,2008://2.67</id>

    <published>2008-02-07T15:08:02Z</published>
    <updated>2010-01-20T03:13:29Z</updated>

    <summary>[Bad News] I just installed and upgraded in a flash. Now I&apos;m stumped. After refreshing templates from System Overview|Blogs and republishing, I am perplexed... where is my sidebar content?????? I have resaved and republished, checked settings and more, but to...</summary>
    <author>
        <name>Kate</name>
        
    </author>
    
        <category term="MT4" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="installing" label="installing" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="mt41" label="mt4.1" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="upgrading" label="upgrading" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="whydoitorturemyself" label="why do I torture myself" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://geekmum.com/">
        <![CDATA[<p><strong>[Bad News]</strong> I just installed and upgraded in a flash. Now I'm stumped. After refreshing templates from System Overview|Blogs and republishing, I am perplexed... where is my sidebar content?????? I have resaved and republished, checked settings and more, but to no avail. No sidebar love for upgraded blog. (Though not a problem with newly created blogs.)</p>

<p><strong>[Good News]</strong> Update: Refreshing templates from Blog|Design|Templates and subsequent republish was successful. This is a change from previous versions where refreshing did not work in blog context and had to be done at system level. Is that by design? Hmmm.</p>

<p><strong>[More Good News]</strong> Anyway, I love, love, love the fresh, new features and the continuing improvements to "vintage" MT features, as well.</p>]]>
        
    </content>
</entry>

<entry>
    <title>Rework, Revive and Reboot</title>
    <link rel="alternate" type="text/html" href="http://geekmum.com/2006/11/rework-revive-and-reboot" />
    <id>tag:geekmum.com,2006://2.43</id>

    <published>2006-11-28T00:22:16Z</published>
    <updated>2010-01-20T03:13:29Z</updated>

    <summary>This poor neglected blog, long in need of some love, is undergoing a makeover in every sense of the word. I hold the undefeated title for &quot;World&apos;s Greatest Procrastinator&quot; so I dare not predict exactly when this rebirth will occur......</summary>
    <author>
        <name>Kate</name>
        
    </author>
    
        <category term="General" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en" xml:base="http://geekmum.com/">
        <![CDATA[<p>This poor neglected blog, long in need of some love, is undergoing a makeover in every sense of the word.  I hold the undefeated title for "World's Greatest Procrastinator" so I dare not predict exactly when this rebirth will occur... soon, I hope.  I'm taking it back to default "everything" for now.  Not pretty.  Or creative.  But it's a step towards the goal, nonetheless.</p>

<p>Until then, hope your holidays are blessed!  Merry Christmas and Happy New Year!  :-)</p>]]>
        
    </content>
</entry>

<entry>
    <title>Alternating Comment Styles with Smarty</title>
    <link rel="alternate" type="text/html" href="http://geekmum.com/2005/10/alternating-comment-background-smarty" />
    <id>tag:geekmum.com,2005://2.42</id>

    <published>2005-10-10T09:53:47Z</published>
    <updated>2010-01-20T03:13:29Z</updated>

    <summary>[TESTING] So you want to create alternating background colors for your (dynamically published) comments? I just came across a sweet little *gem in Hacking Movable Type about Smarty&apos;s &quot;cycle&quot; function... worth the price of the book, IMO. But, I digress....</summary>
    <author>
        <name>Kate</name>
        
    </author>
    
        <category term="MT Style Tweaks" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en" xml:base="http://geekmum.com/">
        <![CDATA[<p>[TESTING]</p>

<p>So you want to create alternating background colors for your (dynamically published) comments?  I just came across a sweet little *gem in <a href="http://www.amazon.com/exec/obidos/ASIN/076457499X/geekmum-20?dev-t=1SR23K99T3DTXQR5Z9G2%26camp=2025%26link_code=xm2/ref=nosim/">Hacking Movable Type</a> about Smarty's "cycle" function... worth the price of the book, IMO. But, I digress. :-)</p>

<p>If you are using dynamic publishing for your individual entry archives, you can very simply edit your template to create alternating comment background colors (or any alternating style) with <a href="http://smarty.php.net/">Smarty's</a> <a href="http://smarty.php.net/manual/en/language.function.cycle.php">"cycle" function</a>.</p>

<p>The "cycle" funtion will, as the name implies, cycle through a list of values each time it is used within a loop. This is a perfect little solution for the task at hand.  An added bonus is that it can cycle through more than two values, allowing you to alternate two, three or more styles. In MT's dynamic archives templates, the smarty cycle tag is written with double brackets <span class="code-bit">{{cycle values="x,y,z"}}</span>, using whatever values you want (numerals, words, etc).   Here is one way to use it in your (MT3.2) individual entry archive template:</p>]]>
        <![CDATA[<div class="code-box">
                           &lt;MTComments&gt;
                           &lt;MTCommentsHeader&gt;&lt;h3 class="comments-header"&gt;Comments&lt;/h3&gt;&lt;/MTCommentsHeader&gt;
&lt;div class="commentbg-{{cycle values="x,y,z"}}"&gt;
                           &lt;a id="c&lt;$MTCommentID pad="1"$&gt;"&gt;&lt;/a&gt;
                           &lt;div class="comment" id="comment-&lt;$MTCommentID$&gt;"&gt;
                              &lt;div class="comment-content"&gt;
                                 &lt;$MTCommentBody$&gt;
                              &lt;/div&gt;
                              &lt;p class="comment-footer"&gt;
                                 Posted by:
                                 &lt;$MTCommentAuthorLink default_name="Anonymous"$&gt; &lt;$MTCommentAuthorIdentity$&gt; |
                                 &lt;a href="#comment-&lt;$MTCommentID$&gt;"&gt;&lt;$MTCommentDate$&gt;&lt;/a&gt;
                              &lt;/p&gt;
                           &lt;/div&gt;
&lt;/div&gt;
                           &lt;/MTComments&gt;
</div>

<p>The template code outputs an alternating class around each comment, in this case: commentbg-x, commentbg-y, and commentbg-z.  This is then easily styled with CSS.</p>

<p>The following sample style is a little overdone (read: ugly), but that is just to show the variety of ways in which the alternating styles can be tweaked beyond background and border colors.</p>

<div class="code-box">
.comments-content .commentbg-x {
	background-color: #d8e6e7;
	border: solid 1px #76afba;
	padding: 5px 15px;
	margin-bottom: 1px;
	font-family: Verdana, Helvetica, Arial, sans-serif;
	font-size: x-small;
	}
.comments-content .commentbg-y {
	background-color: #fdefec;
	border: solid 1px #ec94a0;
	padding: 5px 15px;
	margin-bottom: 1px;
	font-family: Verdana, Helvetica, Arial, sans-serif;
	font-size: x-small;
	}
.comments-content .commentbg-z {
	background-color: #dce7de;
	border: solid 1px #9dbba4;
	padding: 5px 15px;
	margin-bottom: 1px;
	font-family: Verdana, Helvetica, Arial, sans-serif;
	font-size: x-small;
	}
</div>

<p>FYI, you can also use Smarty's "cycle" function inside PHPSimplecomments,  instead of that plugin's SimpleCommentOrder tag which is limited to only two values - "odd" and "even".</p>

<p>*I just ran into this same info online in a <a href="http://www.sixapart.com/pronet/articles/dynamic_publish.html">ProNet article</a> that I know I read several times when it came out. I guess it never jumped out at me before... even so, <a href="http://www.amazon.com/exec/obidos/ASIN/076457499X/geekmum-20?dev-t=1SR23K99T3DTXQR5Z9G2%26camp=2025%26link_code=xm2/ref=nosim/">Hacking MT</a> is VERY MUCH worth owning - I highly recommend it. ;-)</p>]]>
    </content>
</entry>

<entry>
    <title>Happy 4th Birthday to Movable Type!</title>
    <link rel="alternate" type="text/html" href="http://geekmum.com/2005/10/happy-4th-birthday-to-movable-type" />
    <id>tag:geekmum.com,2005://2.41</id>

    <published>2005-10-08T09:18:41Z</published>
    <updated>2010-01-20T03:13:29Z</updated>

    <summary>Congratulations to Ben, Mena and the 6A team AND to the awesome Movable Type user community. The blogging world is a richer place thanks to your efforts! I became an MT convert about three years ago and will always fondly...</summary>
    <author>
        <name>Kate</name>
        
    </author>
    
        <category term="Fun Stuff" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en" xml:base="http://geekmum.com/">
        <![CDATA[<p>Congratulations to Ben, Mena and the 6A team AND to the awesome Movable Type user community. The blogging world is a richer place thanks to your efforts!</p>

<p>I became an MT convert about three years ago and will always fondly remember my first installation (pathetic, I know) -- once I finally decided to take the leap to MT, it took another three days just making the decision to install it myself. Sweating bullets (on a cold winter night!), I proceeded with fear and trepidation through the installation process.  Although the installation was straightforward, I entered into it with a deficit of knowledge and experience in such matters.  Thus ensued a bit of bumbling, a fair amount of googling and finally... victory triumphant!  I had a shiny new blog powered by Movable Type v2.51 and my first introduction to the mysterious <a href="http://www.sixapart.com/movabletype/kb/about/who_is_melody_n.html">Melody Nelson</a>. ;-)</p>

<p>Since then Movable Type has become a family affair here, with each of my daughters, my son-in-law and my grandbabies (with their mama's help) now blogging with MT on their own sites... sharing their stories, photos, hobbies, and passions.  I even use MT as part of our homeschooling studies with my teenage girls... teaching them some basic html, css, and MT template tweaking skills, as well as giving them a medium for practicing their writing and communication skills.  My personal favorite MT project is an online "journal" created for a volunteer group of young historic interpreters who portray 18th century Virginians at local historic sites (such as the childhood home of George Washington, etc).  Although sprinkled with some factual details, the journal entries are the fictional accounts of the kids' 18th century personas. I am presently working on redesigning their entire site to be powered by MT, so that these young historic preservationists can easily manage their own website.  I will also say that, in addition to my own blogging, learning the inner workings of Movable Type over the past few years has been a therapeutic pursuit and a (mostly! LOL) healthy diversion through some challenging personal times, occasional obsessing over tweaks and hacks notwithstanding. ;-)</p>

<p>Again, congrats to SixApart for a wonderful product and for cultivating an equally great community of users. I look forward to celebrating many more MT "birthdays" with you!</p>]]>
        
    </content>
</entry>

<entry>
    <title>Movable Type 3.2 goes LIVE! Huzzah!</title>
    <link rel="alternate" type="text/html" href="http://geekmum.com/2005/08/movable-type-32-goes-live-huzzah" />
    <id>tag:geekmum.com,2005://2.39</id>

    <published>2005-08-25T22:22:41Z</published>
    <updated>2010-01-20T03:13:29Z</updated>

    <summary>Movable Type puts the BLING in BLoggING! ;-) Movable Type 3.2 finally made its official debut today. Six undeclared favorite things notwithstanding ;-), MT&apos;s newest release was definitely worth the wait. The beta process was thorough (and thoroughly fun!) and...</summary>
    <author>
        <name>Kate</name>
        
    </author>
    
        <category term="General" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="MT Installation" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en" xml:base="http://geekmum.com/">
        <![CDATA[<p>Movable Type puts the <b>BLING</b> in <b>BL</b>ogg<b>ING</b>!  ;-)  </p><p>Movable Type 3.2 finally made its official debut today.  Six undeclared <a href="http://www.sixapart.com/movabletype/news/2005/06/movable_type_32_is_comin.html" target="_self" title="MT3.2 - Our 32 Favorite Things">favorite things</a> notwithstanding ;-), MT's newest release was definitely worth the wait. The beta process was thorough (and thoroughly fun!) and the public aspect of the beta testing presumably yielded a wide variety of installation and publishing configurations, resulting in more bugs exposed and eliminated. In addition to a generous list of cool new features, MT's licensing is expanding to UNLIMITED weblogs for ALL licenses, including the personal free version. If that isn't enough, SixApart is discounting (through September) the Personal Basic and Personal Unlimited versions $30 less the regular price (that's 30% to 40% off!!). And, of course, updates are free for licensed users of MT3.x. I could go on about my own list of favorites for too long. Just to get started, there is the new categorized and fully searchable <a href="http://www.sixapart.com/movabletype/docs/3.2/">Movable Type 3.2 User Manual</a>. Conveniently included in the manual are Known Issues and Errata, as well as a running list of five &quot;Top Support Issues&quot; in the sidebar. Although a little overwhelming at first glance, I quickly came to appreciate the smart new templating system. Along with that is the new <a href="http://www.sixapart.com/movabletype/styles/library">Movable Type Style Library</a> with downloadable and style sets for MT3.2.  If you want to tweak the default style, head on over to Arvind's  brilliant <a href="http://www.movalog.com/archives/announcements/movable-type-style-generator">Movable Type Style Generator</a>! (please consider a donation for his work while you're there) One of the things I'm really enjoying is the vastly improved user interface with so many user-friendly conveniences... a system overview that lets you manage blogs across the installation from one location, including mass entries and comments; expanded features in the blog management interface; improved organization of blog management; plugin management; etc. Much thanks and many congratulations to the SixApart team and the Movable Type community (another awesome feature! wink) for an excellent product. Like I said, I could go on and on... just go get <a href="http://www.sixapart.com/movabletype/">MT3.2</a> and see for yourself. :) </p>]]>
        
    </content>
</entry>

<entry>
    <title>MT3.2 Default Templates</title>
    <link rel="alternate" type="text/html" href="http://geekmum.com/2005/08/mt32-default-templates" />
    <id>tag:geekmum.com,2005://2.38</id>

    <published>2005-08-18T17:21:49Z</published>
    <updated>2010-01-20T03:13:28Z</updated>

    <summary>One very exciting new feature in MT3.2 is the new handling of the default templating system. Instead of one consolidated file tucked away in the source code, the default templates have been created individually and are stored in the default_templates...</summary>
    <author>
        <name>Kate</name>
        
    </author>
    
        <category term="MT3.2beta" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en" xml:base="http://geekmum.com/">
        <![CDATA[<p>One <strong>very</strong> exciting new feature in MT3.2 is the new handling of the default templating system.  Instead of one consolidated file tucked away in the source code, the default  templates have been created individually and are stored in the default_templates folder in the MT directory.  Customizations are much simpler now - no more hacks -  just edit a default template right from the folder. Thanks to the new TemplateRefresh feature (a plugin included in the MT installation), there is great ease in applying default templates for use across your entire installation, both for existing AND newly created blogs.  All it takes now is one simple action to selectively (or corporately) apply MT3.2's newly designed index, archive and system templates to existing blogs.  The new templates are created and backups are written for your old templates.</p>

<p>With a tiny bit of hacking, you can also create your own "default" templates that can be created/ refreshed along with MT's default templates. This could be especially useful for "about" pages, includes, etc., that you would want to use across multiple blogs. For example, I prefer to have my banner code separate from my other templates and call it in as an include.   Because I typically use the same banner code and a generically named image in my banners (banner.gif or whatever), I can use the same code in every blog.  I created a default template with my banner code, named it banner.tmpl, and dropped it in the default_templates folder.  Next, I did a teeny hack to lib/MT/default_templates.pl by inserting the following under any other code snippet in the list :</p>

<div class="code-box">
          {
            'outfile' => 'inx/banner.inc',
            'name' => 'Banner',
            'type' => 'index',
            'rebuild_me' => '1'
          },
</div>

<p>(where rebuild_me 0 = don't rebuild with indexes and 1 = do rebuild with indexes)</p>

<p>Finally, I edited all the default templates where I wanted to replace the banner code, using instead a php include:</p>

<p><span class="code-bit">&lt;?php include ("inx/banner.inc"); ?&gt;</span></p>

<p>(Regarding banners, the beauty of using an include is that I can change the banner code in just ONE place rather than in every index and archive template.)</p>

<p>I refreshed the templates for my blog(s) and a rebuild of all files finished the job. Note that when TemplateRefresh will be creating <strong>new</strong> templates, you must do this action through the System Overview/Weblogs menu.  Refreshing through Main Menu/Weblogs/Templates will only refresh <strong>existing</strong> templates. I haven't tested this out in different situations so no guarantees. These are just examples of things that work for me within my particular templates, etc. Please note that this was done most recently with MT3.2b5... I will test it again when the public release comes out.</p>

<p>As always... please BACKUP your stuff before tweaking, hacking or customizing. ;-)</p>]]>
        <![CDATA[<p>Note to self: use<a href="http://www.sixapart.com/movabletype/docs/3.2/a_template_tag_reference/utility.html">MTInclude</a> or <a href="http://www.nonplus.net/software/mt/MTIncludePlus.htm">MTIncludePlus</a> (instead of php include) for Comment Preview, Comment Error and Comment Pending templates!</p>]]>
    </content>
</entry>

<entry>
    <title>MediaManager beta4</title>
    <link rel="alternate" type="text/html" href="http://geekmum.com/2005/07/mediamanager" />
    <id>tag:geekmum.com,2005://2.36</id>

    <published>2005-07-24T04:42:59Z</published>
    <updated>2010-01-20T03:13:28Z</updated>

    <summary>Byrne Reese has released MediaManager beta4... an updated, overhauled, &quot;new and improved&quot; MT32-friendly replacement for BookQueueToo, as well as MTAmazon32v1.0 (repackaged and updated MTAmazon). Very cool! Check out the screenshots for a walk-through and you&apos;ll be impressed, too. Installation (on...</summary>
    <author>
        <name>Kate</name>
        
    </author>
    
        <category term="MT Plugin Solutions" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en" xml:base="http://geekmum.com/">
        <![CDATA[<p>Byrne Reese has released <a href="http://www.majordojo.com/projects/MediaManager/">MediaManager beta4</a>... an updated, overhauled, "new and improved" MT32-friendly replacement for <a href="http://www.majordojo.com/projects/BookQueueToo/">BookQueueToo</a>, as well as MTAmazon32v1.0 (repackaged and updated MTAmazon).  Very cool!  Check out the <a href="http://www.majordojo.com/projects/MediaManager/screenshots/">screenshots</a> for a walk-through and you'll be impressed, too.</p>

<p>Installation (on MT32b2) was not too difficult. First, I edited mt-config.cgi to specify my mt-static path (even though I do have it in the default location). Then I uploaded MTAmazon32.pl and MediaManager into my plugins directory (making sure to CHMOD 755 mmanager.cgi). In System Overview/Plugins I configured MTAmazon32 with my Amazon subscriber ID and cache location. Then I configured MTAmazon32's Amazon associate ID through each blog's plugin settings. </p>

<p>Oh, I forgot about MediaManager's static folder. Rename it mmanager and move it to your mt-static directory.</p>

<p>I think that did it. Hope I didn't forget anything... oh yeah, the cache folder... I actually forgot to create one and there's been no fussing about it.  Is it not required with MTAmazon32? (I have gone ahead and created it.)</p>

<p>Anyway, the awesome new "Review" feature looks... well.. awesome!! Byrne brilliantly incorporated the Amazon image hacks that he had described previously on his site. I finally figured out how to use it.  After you create your review (I had to do it as a draft), go to your entries and edit it by selecting a new Text Formatting option: "MediaManager: Layout1", select Publish, then save.  You will have a very cool and nicely formatted review entry.  Unfortunately, this plugin does not (yet!) have a php counterpart, so the review entries will not work with dynamic archives. :-(</p>

<p>FYI, MediaManager beta4 results are in the <a href="http://geekmum.com/mojo">"books"</a> section on my beta blog as well as in the left sidebar on this blog.</p>]]>
        
    </content>
</entry>

</feed>
