Movable Type Tips
Here are some of the tricks I have figured out so far with Movable Type:
- I needed to set the group id bit on the cgi scripts so they could write to the directories. This may or may not be a security issue.
I had to use
/mt-static(no trailing slash) to identify where the mt-static directory would be.I need to figure out exactly how to lock things down with htaccess for better security.
Use as a CMS
While I want part of my site to be a blog/journal/etc for posting periodic updates and thoughts, I want a large part of it to be more of a standard website.
To mimic this functionality with Movable Type, this is what I have discovered so far:
Decide on whether you like
foo-barorfoo_barand set the appropriate paths in the archive templates.Change archiving to
EntryDisable the index page for archiving by adding something extra to the path so that it doesn’t overwrite manual pages
Archive pages to the appropriate
folder/basename/index.htmlso that your pages create categoriesEnsure that your categories and Pages match
Now you can have a custom page, and posts can be assigned that category in order to appear in the appropriate directory
Cruft-free URLs
Good explanation for how to clean up the URLs:
What I did is remove the html extension, and then ensure that each page is
archive mapped to folder/page_basename/index so that the page doesn’t try to
overwrite the category folder. If you create a home page named index, you
can soft link index.html to index/index so that you don’t have to manually
copy the home page after each update.
Things to do
- Create template set to automate these changes
- Archive by date only entries without a category
- Create template for category page that lists pages in that category? Or a widget for the sidebar?
- Create widget that shows categories and links to index, but doesn’t count pages in it
- Create theme
- Need to not have home page show up in sidebar list of pages, especially if
published to
\index - check out this plugin: