FAQ: MTCategoryArchiveLink causes error
Question
I just installed Movable Type. After having created my first entry, the »Rebuild Site« will produce the following error message.
Build error in template 'Main Index': Error in tag: <$MTCategoryArchiveLink$> can be used only if you have enabled Category archives.
What might be wrong?
Answer
I do not know the reason, but the installation procedure will not enable the category archives by default. You have to manually perform the following steps.
- Enter the Movable Type project.
- Select »Templates« from the left navigation bar.
- A list of templates will appear. It is structured into the following groups: Index Templates, Archive Templates, Special Templates, and Template Modules.
- At the end of the Archive Templates, there is a link »Edit Archive File Options«. Click this link.
- Among other details, the following dialog shows whether an archive is activated or not.
- Select the checkbox in front of »Category«.
- Click »Save Changes«.
- Click »Rebuild Site«.
From then on, the category archives are enabled. The MTCategoryArchiveLink tag, which is coded into the Main Index Template, will be valid.
mgs
Feedback is welcome!
What do you think about this entry? Was it interesting or boring? I would like to hear your comments. If the text was helpful, please consider setting a link to http://www.movable-type-weblog.com/.
No spam please!
For protecting this weblog I have installed the MT-Approval Plugin. You have to view a new comment in preview mode, before it is saved on the server. Moreover, I will view your comment manually, before it is published. You can find more information on the subject in the entry Weblog Spamming Basics.
With an active TypeKey session, your comment will be published immediately.
Post a new comment
TypeKey has temporarily been disabled at this location. Please create your comment without using TypeKey or log in from the preview dialog.

