Hi
I've been using MT for blogging for about 4.5 years, and I'm just in the process of moving my existing blog plus my regular web content into MT 5.01.
I have pretty much everything set up how I want it, down to replicating my old site's navigation (using MT template tags and variables), but one thing is proving hard to sort out: the home page. The default Main Index setup shows only blog entries, and seems to be intended to be entirely automated, whereas I want it to have "normal" content written by me, in addition to automated content.
I have moved the "recent blog entries" widget to a custom sidebar, but I can't see how to customise the rest of the page, short of putting my static text into a template, which is contrary to the CMS way of doing things. I'd like the home page to be (or at least include) a "normal" Page like the rest of my site, so I can quickly and easily edit it rather than poking around in templates.
I naively tried creating a Page 'index.html' in the root folder, but of course that gets overridden by Main Index. I then tried disabling publication of Main Index but it still appears as the home page, even after copying the mt and mt-static directories from the beta site to the real site and republishing everything (FWIW, site Page archives are dynamically published, whilst the blog is static).
Any ideas on how to do this?
Reported on Movable Type 5
I had something like this once. My trick was to create a page archive with the header/footer stuff stripped out, and then place it on the homepage as an SSI include.
Hi, Anne Lyle
How about this?
*1 use main index
Republish your main_index templates and publish your index.html with that again.
*2 give a "secret tag" to the page you want to use as a top page
Give a secret tag "@top" or "@index" to your page data. Insert that to a "tag" form.
The tag beginning from "@" can be used as a discriminate tag, and it won't be displayed in your published page.
*3 insert a code to your main_index template like this
in this code, only tagged by "@top" will be selected from pages and displayed in your main_index template.
Please give it a shot.
----------------------------------
MTJ
Information of MovableType and MTOS from Japan
http://www.mt-j.info
----------------------------------
Thanks, Nick - your suggestion #3 does exactly what I wanted (except I'm omitting the title, since I don't need one on my homepage).
Much appreciated!
>Anne,
You're welcome!
I'm glad my advise is effective for you.
----------------------------------
MTJ
Information of MovableType and MTOS from Japan
http://www.mt-j.info
----------------------------------