Doing your whole site with MT

Matt Haughey has a great article on how he uses Movable Type to do it all (apparently, Kottke does too... can't wait to see his article).

Anyhow, I wanted to share a tidbit in that vein. I've just set this up recently, and I'm in the process of moving the rest of my static content to use it. What I did:

  1. Created a new Movable Type blog and named it "bradchoate.com: Static Content".
  2. Deleted all the Index templates.
  3. Deleted all the archive templates, except for the Individual archive template.
  4. Made sure individual archives were enabled.
  5. Made the archive path the root directory of my web site.
  6. Created categories for each directory I want to create content for (category name = directory name)
  7. Used the following for the Individual Entry Archive filename template (specified on the "Archiving" page of your weblog configuration). Produces: "category/entry_title.html":
    <$MTEntryCategory
        lower_case="1"$><MTIfNotEmpty
        var="EntryCategory">/</MTIfNotEmpty><$MTEntryTitle
        dirify="1"$>.html

So with this setup, instead of using your Index templates for your separate pages, they all become their own entry. This seems more appropriate to me. It also lets you use the excerpt and keywords field to store additional metadata about that particular page. So when you build, the individual file created for my "About" entry is named "about/index.php" since it has a category of "About" and an entry title "Index".

You can do your individual file archive template any number of ways. The technique above will rely on the category assignment to define what directory to put the file. Here are some alternatives:

  1. Category defines directory (ie: "About/Something"), entry title is the full filename including extension (ie: "summer_vacation.html"): Produces: "about/something/summer_vacation.html":
    <$MTEntryCategory
        lower_case="1"$><MTIfNotEmpty
        var="EntryCategory">/</MTIfNotEmpty><$MTEntryTitle$>
  2. Entry title is the full path and filename (ie: "about/something/summer_vacation.php"). Category isn't used to name the file at all. Produces: "about/something/summer_vacation.php":
    <$MTEntryTitle$>
  3. Category defines directory path (category label looks like "about/something/"). Entry title is descriptive (ie: "Summer Vacation"). Produces "about/something/summer_vacation.html":
    <$MTEntryCategory$><$MTEntryTitle
        dirify="1"$>.html

The "IfNotEmpty" tag (provided through the IfEmpty plugin) allows you to test for no category assignment. If a category is not defined, then the '/' prefix is left off the filename, so the file would go into the top directory of the weblog.

This benefits of all this are many. Because now I can use Textile formatting for any page of my web site. I can also make use of Movable Type's search feature to search any page of my site instead of just my weblog content. I can also enable comments, trackback or whatever for any page I'd like.

TrackBack

TrackBack URL for this entry:
http://bradchoate.com/mt/feedback/tb/719

Listed below are links to weblogs that reference Doing your whole site with MT:

» Beyond the Blog from A Whole Lotta Features
Powering an entire site with Movable Type [Read More]

» Beyond the Blog from A Whole Lotta Features
Powering an entire site with Movable Type [Read More]

» Using MT as CMS from LibraryPlanet.com
I have been something of an advocate of using Movable Type as a Content Management System. Surprisingly enough, I am... [Read More]

» Bubbling to the surface with MT from JayAllen - The Daily Journey
The web sure finds the strangest things interesting... Lately, as you know, I have been working...a lot. But this isn't [Read More]

» Bubbling to the surface with MT from JayAllen - The Daily Journey
The web sure finds the strangest things interesting... Lately, as you know, I have been working...a lot. But this isn't [Read More]

» Jabberings #6 from John's Jottings
I've had that image on the scanner for at least 9 months so I suppose Erin had just turned four when she drew it. She is a lot better at coloring between the lines now. I'd been too lazy to figure out what was wrong with the scanner but tonight when I... [Read More]

» Movable Type : More Than Just a Weblog Tool from sooz.com : notes
Last Fall when I started to tinker with the sometime-soon-it-will-officially-launch Exploit Boston! website, I wanted to try to use Movable... [Read More]

» Stylin' from Internal: Talking to Myself
Beyond the Blog: an excellent article about extended uses for Movable Type. Another addition: a smoother way to add static pages to your site. This is something I never thought of before. It's time to tear my site apart and... [Read More]

» Movable Type: More than a weblog tool from Benefitsblog
Rick Klau (here) and Erik Heels (here) have both written about how a weblog can become the "main publishing tool for any website." Matt Haughey provides an essay called "Beyond the Blog" about how Movable Type can be used to... [Read More]

» More MT expansion stuff from Growing Leaves
Douglas Bowman follows yesterday’s article from Matt Haughey about using Movable Type to build your whole site with MT with his own experience of redesigning his portfolio. Elsewhere, Brad Choate is doing the same and using MT to manage both his ... [Read More]

» Fun with MovableType from Full Speed
Until my first MT install last week, I had always thought that it was just a simple tool for blogging. I'm been learning rather quickly, however, that it's for more than that. Brad Choate runs his whole site on MT.... [Read More]

» Creating an Entire Site with Movable Type from Brainstorms and Raves
Several new insightful articles and posts have popped up recently with a common theme -- using Movable Type as a content management system to manage an entire website, not just a weblog. Here they are, along with my 2 cents along the way. Beyond the B... [Read More]

» Movable Type from KO
Mt Resources from all over the web: Basic: Starting a Blog (with MovableType) :: A basic guide on starting a blog. Moveabletype Support Forums :: Covers everything. MT Specific Sites: MT Extensions :: A collection of CGIs, plugins, hacks and... [Read More]

» How to manage Whole site with MT from Going My Way
This is how to manage whole your site using Movable Type. [Read More]

» How to Do Your Whole Site in Movable Type from WOIFM :: An Institute of Higher Learning
Ever think of doing more than just your weblog using Movable Type? These guys did:Douglas BowmanMatt HaugheyBrad ChoateCool stuff.... [Read More]

» Managing static content with Movable Type from Braintags
The buzz started with the redesign of Adaptive Path by [stop]design and Jay Allen. They used the Movable Type blogger software to produce a commercial site. And not only as a CMS to publish their 'Appearances', 'Essays' and 'News', but also to manage t... [Read More]

» Using MT as a CMS from padawan.info
Recent weblog frenzy about using MT as a Content Management System: Matt Haughey: Beyond the Blog Douglas Bowman: Rebuilding a... [Read More]

» More Smarty stuff from izzy|wizzy
After reading Matt’s latest feature Beyond The Blog, about extending MT’s functionality to manage more than just blog pages, and Brad’s recent post about using MT to do everything, for a moment I had second thoughts about my design. I... [Read More]

» MT for site design from Mercurial
Following the law of unintended consequences, Movable Type has been spotted being used for everything from publishing to site management... [Read More]

» More on Managing Static content from Braintags
After yesterdays post I started playing more with Movable Type. I decided to move some static content from my site to a separate weblog, as described by Brad Choate. At that moment, the only static content I had were the HTML error pages, displayed in ... [Read More]

» Movable Type as a CMS from X-infoModeL
Brad Choate’s recent post on constructing entire websites with Movable Type is one of a series of thoughts that’s appeared... [Read More]

» Old News from codepoetry
So, today Brad’s talking about something I did a long time ago as if it were news (using MT as a CMS). The blogging world is weird like that. Until some monkey with 10,000 readers gets a hold of an... [Read More]

» Old News from codepoetry
So, today Brad’s talking about something I did a long time ago as if it were news (using MT as a CMS). The blogging world is weird like that. Until some monkey with 10,000 readers gets a hold of an... [Read More]

» Mmm! Now With Tasty Static Pages! from Ten Reasons Why
Beyond the Blog is a brief tutorial from Matt Haughey, creator of Metafilter amongst other websites, on how to use Movable Type as a more complete site management system, not just a weblog authoring tool. Neat ideas that I may... [Read More]

» Photoblogging from Thinkless
I have started a photoblog. There's easier ways to do it, and anything photo-related, but I'll take the long way. [Read More]

» and again from About me
Brad Choate: Doing your whole site with MT... [Read More]

» New help files from Virtuelvis
A few days ago, Brad Choate posted a guide on how to run your entire site with Movable Type. This... [Read More]

» MT and beyond from RANTISSIMO
Reading up on the possibilities to extend MT. Great article on how to extend MT titled "Beyond the Blog" (with... [Read More]

» simple cms with MT from Gusher Hero
Slater had ranted about using MT as a simple CMS. Here's a tip on how to actually do it. The advantages of doing this is that you enable searches, comments and trackbacks for non-blog content as well, plus you can easily backup the entire site without ... [Read More]

» beheer je hele site met MT from bonsai bratwurst breiwerk
Brad Choate beschrijft hoe je eenvoudig je hele site kunt beheren met behulp van Movable Type: Brad Choate: Doing your... [Read More]

» http://www.eggscuseme.com/eggstras/archives/000089.php from eggstras

Doing your whole site with MT... [Read More]

» http://www.eggscuseme.com/eggstras/archives/000089.php from eggstras

Doing your whole site with MT... [Read More]

» About MT from Management by Chaos
Let me sidetrack for a little while before getting back to my "Copier". I just came across an excellent article about making use of Movable Type's database capability. I took up MT after using Blogger for over a year, primarily... [Read More]

» Converting Whole Site to Movable Type from John's Blog
Prompted by Brad Choate's article about doing his whole site with MT, I'm giving it a try. Eventually, my stuff will be available here, where it'll be fully managed by MT. Gone will be the days of editing a copy... [Read More]

» Movable Type from KO
Mt Resources from all over the web: Basic: Starting a Blog (with MovableType) :: A basic guide on starting a blog. Moveabletype Support Forums :: Covers everything. MT Specific Sites: MT Extensions :: A collection of CGIs, plugins, hacks and... [Read More]

» Doing your whole site with MT from DIENSTRAUM MediaMondo
Brad Choate: Doing your whole site with MT... [Read More]

» Blogging and the Classroom, Redux from Planned Obsolescence
A weekend post by Liz Lawley returned me to my recent thoughts about how to integrate a group-authored blog into my fall class on the Literary Machine. Liz has ingeniously leveraged MovableType's calendar-based entries as a replacement for those clunky... [Read More]

» Going all the way with MovableType from Martin Kelley, Ranter
I’m starting the process of putting my whole site onto MovableType, even the old static pages.... [Read More]

» http://14u.pe.kr/archives/cat_.html#000033 from new blog
Brad Choate: Welcome... [Read More]

» Is this a Firebird Problem or an MT problem? from TangleBones
So I spent about 3 hours yesterday messing with my brand spanking new MoveableType installation wondering what I was doing wrong. You see, I was following the directions included in the documentation, but I couldn't get to any of the... [Read More]

» Powered By MT from Digital NetGuide
I'm seriously considering of taking action and having nightvixen.com powered by MT. Since Richard Eriksson mentioned in his blog of making his domain powered by MT. With Instructions from Brad Choate, Matt Haughey and Adaptive Path I believe I could a... [Read More]

» Making MT into a CMS from Perfectionism - the quest for the impossible
I've been thinking I ought to give MovableType a fair trial before switching to a different tool, as many others seem to use it successfully. Here's a few articles I turned up: Beyond the Blog and other links on making MovableType a Content Managment S... [Read More]

» MT Stuff... from blog
Been reading some interesting stuff about Movable type over at BradChoate.com about using MT to handle your entire site, I think I'm going to try this out with a current project of mine and see how things go. If all... [Read More]

» Doing Website with MT from Fair and Balanced Procrastination
I like Brad Choate’s idea of using Movable Type to write the static parts of one’s website. I have been extremely lazy about developing the rest of my website and even my school web page is a few years old.... [Read More]

» Some changes in Deep Rhythms dot com from Deeprhythms.com test site
As you might have noticed, deeprhythms.com has changed a little. Most dramatic changes were made under the hood, our site now runs on Movable Type. Some changes were made to the structure of the site also, most ... [Read More]

» Beyond the Blog from qpalzm.org
A Whole Lotta Features is an article that details easy ways that you can move your static page content over into the moveabletype interface. Brad Choate talks about some of the advantages, such as being able to edit your static... [Read More]

» Blog Dentro De Blog En MT from Mat Tu Onda!
Cmo insertar un blog dentro de otro, utilizando Movable Type. [Read More]

» Blog Dentro De Blog En MT from Mat Tu Onda!
Cmo insertar un blog dentro de otro, utilizando Movable Type. [Read More]

» Blog Dentro De Blog En MT from Mat Tu Onda!
Cmo insertar un blog dentro de otro, utilizando Movable Type. [Read More]

» Blog Dentro De Blog En MT from Mat Tu Onda!
Cmo insertar un blog dentro de otro, utilizando Movable Type. [Read More]

» Building... from Kitsched
I mentioned yesterday that I'm working on the Movable Type templates and the rest of the site. Fact is I want to make as much of the site as I can manageable with MT. It's such a nice tool and... [Read More]

» Movable Type from KO
Mt Resources from all over the web: Basic: Starting a Blog (with MovableType) :: A basic guide on starting a blog. Moveabletype Support Forums :: Covers everything. MT Specific Sites: MT Extensions :: A collection of CGIs, plugins, hacks and... [Read More]

» Doing your whole site with MT from Too Much News
bradchoate.com: "A little mini-guide for using Movable Type as a mini-CMS for the rest of your web site." [Read More]

» Movable Type Conversion from brokenclay.org/journal
I've done my first conversion of a non-blog website over to using Movable Type. First I read up on it: Beyond the Blog Doing your whole site with MT Touch of Hope: A Technical Colophon Results first: Previous, non-MT version... [Read More]

» Movable Type CMS from Teldar Feed
Beyond the blog Stanford Law Brad Choate [more] Adaptive Path Stop design[more]... [Read More]

» updating the website.. from marius dot org
After reading Brad Choate’s article on rebuilding your entire website with MT, I’ve started rebuilding the static pages under MT as well. So, for the time being, they’ll be unavailable. (This includes the FreeBSD pages, my digital pho... [Read More]

» Feedable from Ex Cathedra
There are blogs out there without RSS feeds. Thanks to Roy Osheorve, us feed feeders don't need to be put off by that. Feedable (motto: "Creating the feeds that someone forgot") will take care of it for you. And Brad... [Read More]

» Under Re-construction from TheMcCaugheys.Net
I have a new toy and I have to try it out!... [Read More]

» Managing static content with Movable Type from Brain Tags
The buzz started with the redesign of Adaptive Path by [stop]design and Jay Allen. They used the Movable Type blogger software to produce a commercial site. And not only as a CMS to publish their 'Appearances', 'Essays' and 'News', but also to manage t... [Read More]

» Movable Type from KO
Mt Resources from all over the web: Basic: Starting a Blog (with MovableType) :: A basic guide on starting a blog. Moveabletype Support Forums :: Covers everything. MT Specific Sites: MT Extensions :: A collection of CGIs, plugins, hacks and... [Read More]

» Créer un site entier avec MovableType from Weblogger.ch
http://www.bradchoate.com/past/001656.php [en]... [Read More]

» MT as CMS from adobo.monkeyswithchopstix.com
Beyond the Blog and other links on making MovableType a Content Managment System - http://www.healyourchurchwebsite.com/archives/000913.shtml Adaptive Paths MT Setup - http://www.stopdesign.com/log/2003/07/11/adaptive_paths_mt_setup.html Relative Path... [Read More]

» MT as CMS from adobo.monkeyswithchopstix.com
Beyond the Blog and other links on making MovableType a Content Managment System - http://www.healyourchurchwebsite.com/archives/000913.shtml Adaptive Paths MT Setup - http://www.stopdesign.com/log/2003/07/11/adaptive_paths_mt_setup.html Relative Path... [Read More]

» Doing your whole site with MT from Looking Out
A little mini-guide for using Movable Type as a mini-CMS for the rest of your web site. - Brad Choate I think I just found the gold at the end of the rainbow. :) This is something I've been looking... [Read More]

» Movable Type from KO
Mt Resources from all over the web: Basic: Starting a Blog (with MovableType) :: A basic guide on starting a blog. Moveabletype Support Forums :: Covers everything. MT Specific Sites: MT Extensions :: A collection of CGIs, plugins, hacks and... [Read More]

» here and there from neurotwitch
The Greatest Album Covers That Never Were: an interesting collection of quite a bit of good art -- often with links to the artist's own website. Besides, it's fun. And from the above, I got... [Read More]

» Crer un site entier avec MT (test) from Weblogger.ch
Grer un site entier avec MovableType est trs facile. Imaginons de vouloir un site comme celui de Boxes and Arrows. Si on prend chaque article crit, nous pouvons observer que leur nom de fichier ne correspond pas au numro_du_billet.php (comme le fa... [Read More]

» More on Managing Static content from Brain Tags
After yesterdays post I started playing more with Movable Type. I decided to move some static content from my site to a separate section, as described by Brad Choate. At that moment, the only static content I had were the HTML error pages, displayed in... [Read More]

» Jumpin' In Head-First from Shawn's Weblog
I'm not quite sure I'm ready to turn the entire family site into a big ol' friggin' blog, and we'll see...... [Read More]

» http://www.mariwood.com/sideblog/previously/002578.html from Sideblog
Doing your whole site with MT... [Read More]

» DKR builds A Movable Type Intranet from dwh!{dezwozhere:blog}
D. Keith Robinson over at asterisk* explains in this post how he and his co-workers at his day job are working on a Movable Type solution for hospital's intranet. By providing them with not only a vehicle to update their... [Read More]

» サイト全部をMTで from Column@nak
スタティックコンテンツを含めたサイト全部をMovabletype(MT)で構築する話は誰でも考えることらしく、その手法についてはGOING MY WAY:自分のコンテンツすべてをMovable Typeで管理する方法 [Read More]

» MT als komplettes CMS from -tfs blogging experiments
MT’s Motor ist leistungsfhiger als man im Default Setup sehen kann. Die folgenden Links zeigen, wie man’s macht. Hier quasi als Bookmarks fr sptere Arbeiten versammelt: X X X X (oops, was anderes) X X Mal sehen was man damit... [Read More]

» MT als komplettes CMS from -tfs blogging experiments
MT’s Motor ist leistungsfhiger als man im Default Setup sehen kann. Die folgenden Links zeigen, wie man’s macht. Hier quasi als Bookmarks fr sptere Arbeiten versammelt: “Beyond the Blog “:http://a.wholelottanothing.org/featur... [Read More]

» Colophon from distant, early morning: static
colophon ( P ) Pronunciation Key (kl-fn, -fn) n. 1. An inscription placed usually at the end of a book, giving facts about its publication. 2. A publisher's emblem or trademark placed usually on the title page of a book.... [Read More]

» Colophon from distant, early morning: static
colophon ( P ) Pronunciation Key (kl-fn, -fn) n. 1. An inscription placed usually at the end of a book, giving facts about its publication. 2. A publisher's emblem or trademark placed usually on the title page of a... [Read More]

» Static Content from Hepatic Portal Vein
Spent part of the day working on migrating some of the stuff back onto my site using MT as a content management system. The first time I tried this a while back I couldn't get it to work, but this... [Read More]

» Static Content from Hepatic Portal Vein
Spent part of the day working on migrating some of the stuff back onto my site using MT as a content management system. The first time I tried this a while back I couldn't get it to work, but this... [Read More]

» MT as CMS from Life of Robert
Brad Choate has a great article on using MovableType as a CMS application. This would be perfect to use for the Church web site (FBC Redlands, in my case). All I have to do is convince the powers that be that if I leave, they will be able to fix... [Read More]

» MT as CMS from Life of Robert
Brad Choate has a great article on using MovableType as a CMS application. This would be perfect to use for the Church web site (FBC Redlands, in my case). All I have to do is convince the powers that be that if I leave, they will be able to fix... [Read More]

» Moving My Old Webpage to MovableType from MoonJihad's blog
I have started to move the content of my old webpage into MovableType using Brad Choate's article.... [Read More]

» Moving My Old Webpage to MovableType from MoonJihad's blog
I have started to move the content of my old webpage into MovableType using Brad Choate's article.... [Read More]

» Moving My Old Webpage to MovableType from MoonJihad's blog
I have started to move the content of my old webpage into MovableType using Brad Choate's article.... [Read More]

» Doing your whole site with MT from links
Brad Choate: Doing your whole site with MT... [Read More]

» Doing your whole site with MT from links
Brad Choate: Doing your whole site with MT... [Read More]

» Movable Type 10 000 visitors-checkup from The Veland Show
The lazy-web designers guide to tuning Movable Type (MT) to achieve blogging nirvana. Oh, and many tips work with other blogs too! Yay! [Read More]

» Movable Type 10 000 visitors-checkup from The Veland Show
The lazy-web designers guide to tuning Movable Type (MT) to achieve blogging nirvana. Oh, and many tips work with other blogs too! Yay! [Read More]

» Movable Type 10 000 visitors-checkup from The Veland Show
The lazy web-designers guide to tuning Movable Type (MT) to achieve blogging nirvana. Oh, and many tips work with other blogging-software too! Yay! [Read More]

» Movable Type 10 000 visitors-checkup from The Veland Show
The lazy web-designers guide to tuning Movable Type (MT) to achieve blogging nirvana. Oh, and many tips work with other blogging-software too! Yay! [Read More]

» whole site with mt from -:|:-kathy and joe-:|:- diary
Brad Choate: Doing your whole site with MT... [Read More]

» Doing your whole site with MT from links
Doing your whole site with MT: Brad Choate... [Read More]

» Getting there... from Acid
I've made some fairly significant progress on the new look and feel for Acid. And in part, shamelessly ripped off Michael Heilemann's look and feel at Binary Bonsai. I hope he doesn't mind too much (he is, after all, the... [Read More]

18 Comments

Sooz said:

Hey Brad, thanks for sharing this. I've been using the index templates but I'm going to try out your method on a couple of my websites.

I wonder how one would go about doing sub-categories...

/bigtopic
/bigtopic/moregranulartopicthatisstillunderbigtopic

Jason said:

Brad, this is awesome. I've always thought that this should be feasible, but have not sat down to map it out. You've saved me the trouble.

On a related note, with your Smarty tutorial, you pointed me down that path and now my entire site is Smarty templates.

Jay Allen said:

Brad, this is a novel approach to me and I like it very much. In my original post on stopdesign I talked about doing a static content blog with templates and template modules which is great, but lacks searchability.

One thing I will say is that I don't like the idea of having to create a category for every directory (or sub-directory) I want to write to especially for client work, since that is non-intuitive and frankly a pain in the butt. However, the alternative of having the client's main About page come up in the search with the title /about/index is just Plain Ugly.

I think that the way that I would do it would be to use the title for the proper page title and the EntryMore field for the whole path to the file. Sure it could be used for storage or something else, but it's not as semantically useful as say the keywords or excerpt fields....

Anyhow, thanks for putting this out there. I is a great idea.

robert said:

I have done this too -- takes me longer to document things and toot the horn -- that's why some people get more traffic. :)

I wanted to provide student organizations at my institution an easy way to manage their content. I set things up exactly in this manner last winter -- and am rolling it out to them this fall.

Mean Dean said:

Thanks again Brad! I already linked-up your 'colophon' article on my blog as part of a short summer reading list on how to move movabletype into a content manglement system.

Cool. Now I can add this! And thanks for all you do!

Great! You can even use bookmarklets to blog on "Static Content". =D

Mean Dean said:

Jay Allen raises some good points, however, I would suggest instead of the Entry More field, use the Keywords field of Movable Type. Something like this:

field1=foobar
field2=the quick brown fox

You can then either apply some nifty MTPerl (thanks to Brad), or you can do what I do and throw the fields around the title, the header, the meta tags, various points of navigation or wherever you need it.

I discuss the PHP solution to some degree on my own blog, though the code is very Perl-ish.

Dude, that's pretty much exactly what I've been wanting to do for a while. I was looking for some way to do static content within MT so I didn't have to use two different applications and keep templates syncronised between them. In the end, I just decided to write the static content as regular entries in MT.

I'll give this a spin, though.

athena said:

THANK YOU SO MUCH!!! I really appreciate this because I have all of my pages as index files, but of course, the search engine is using none of them except for my blog/main index page. I have been searching for a way to do just this! *whew* Im not savvy enough yet to quite understand how these content programs work, so I'm grateful you're sharing your wisdom! :)

Ernie said:

Argh, that's a great idea - why didn't I think of that? I am developing a site with static and dynamic content, and I thought I was being incredibly clever putting all my static data in the MT templates and then using some kind of google search function to search parts of the entire site. This handles it a million times better. Thanks a mill.

Adam Knight said:

Hmm. Did this a while ago on Eloquent Apathy ( http://www.eloquentapathy.com/ ) and I know Not So Soft ( http://www.notsosoft.com/ ) did this before then as well.

Not so new. :( Though, here's what I did that's a little different.

My content is both static and bloggish. In other words, while using so-called static content like an about page, I allow comments on everything so that people can basically leave whatever comments about that page they like. On my about page, though no one has done it because I'm low-traffic, someone could ask a life question or something and I could answer there. Just a variation.

Also, I use categories for sections/directories and category indexes for the index.php page. Thus a summary of that category. It's in-between static and dynamic, really, but it's zero-maintenance.

Some pointers. :)

Jeremy Kidd said:

I am integrating static content by using the blog descriptions. The blog description is displayed on the top of each blog page above the entries (or there are no entries - just the static description).

I have a large number of content managers who don't even want to look at the MovableType admin screens so I've made something that looks like a Bookmarklet that brings up the blog description, allows users to edit it, and rebuilds the site on saving changes. Then they can refresh the page and voila! - the changes they just made to the static content are instantly published.

The only catch to this is that searches on the site only work across blog entries, so all the static content is ignored. Does someone have a nifty hack to have the search run across entries and descriptions? (I've posted to the MT support tips & tricks forum on this issue too... http://www.movabletype.org/support/index.php?act=ST&f=14&t=24344 )

Dawn said:

Hello! I've been tinkering with macros for a bit now, and I'm finding it difficult to make multiple <MTMacroDefine> tags inside a single MT module. I'm using MT 2.64--it seems to choke when there's more than one macro defined in a single module.

My module looks like:

<MTMacroDefine name="smile1" string=": )"><img src="<$MTBlogURL$>static/emoticons/smile.gif" width="15" height="15" alt="[image: emoticon-smile]" /></MTMacroDefine><MTMacroDefine name="smile2" string=": -)">
And so on and so forth. I deleted all newlines and blank lines so that it's just a big blog of text. But it seems that if there's more than one <MTMacroDefine> in a single module, MT won't successfully rebuild the template(s). If I delete all but one MTMacroDefine, it works perfectly. I don't want to have to include a bunch of modules just so that I have the ten or so emoticons I have ready for my journal. Can you possibly help me?

I also referenced http://www.thegirliematters.com/tips/archives/0209/smilies_with_mtmacro.php as I tinkered, who seems to be able to have all her emoticons in one module, whereas I cannot. Puzzling..

I'm using the default MT template, the emoticon module is the only augmentation. I use apply_macros="1" within the MTEntryBody and MTEntryMore tags. Is there something else I need to include?

Thank you so much for a really interesting script. :)

Dawn said:

Aww, poo, wrong forum. I'm sorry about that.

Matt Powell said:

Hey, thanks for a great article. One small problem I have with this approach: on the individual archive pages, the MTPrevious and MTNext tags point to the previous and next entries in any category, which is a pain -- I'd like to get them pointing to other entries in the same category if I can. Do you know of any way of doing this? I looked at CatEntries and your Supplemental Category Tags plugin, but neither of these seems to do what I need.

Any help in this regard would be greatly appreciated :)

Thanks,
Matt

Elaine said:

I did it! Or rather, I made two test static pages using your directions, though I only used

.html

on the archiving page. I currently keep my static content in flat files that get wrapped in a format via Perl scripts so I should be able to create an input file to load into Movable Type.

Thanks for documenting this method.

David said:

For some reason I cannot get my head around MT 2.64 since setting it up a few weeks in regards to my purpose. I want to set up a static front page that, of course, utilizes some dynamic information from the MT blogs. I want to set up a community directory for my small town that utilizes a separately named sub-domain for each category i.e. entertainment.my-hometown.com or events.my-hometown.com. In fact, 50 sub-domains for each category.

I want the static index page in the root directory to contain every link to the index page of each sub-domain. It is THERE in each sub-domain that blogs are posted and searched. Yep, 50 blogs, so far, each posted by pre-selected clients who log-in with password protection. Latest news, specials, sales, changes of schedule, public announcements.

I have read the "Doing your whole site in MT" info on deleting index templates, and almost all the archive templates, etc. Brad, given my desired scenario, is there anything to add or modify about your instructions? Any caveats?

And does managing this many sub-domain blogs sound gargantuan?

Feeling mighty Lost and mighty MT

About

This article was published on July 15, 2003 12:30 PM.

The article previously posted was Thither MT-Textile 2 (beta).

The next article is Simple Template.

Many more can be found on the home page or by looking through the archives.

Powered by Movable Type