Help - Search - Members - Calendar
Full Version: Two Archive pages
Movable Type Community Forum > Additional Resources > Tips and Tricks
ramnathr
Hi,

I've searched through the forums and I'm unable to come up with the answer I seek. I basically have a website that has a main blog and an event section (silly example: barbeque on Friday). Now I would like an archive of the events, but I would like it on a separate page. I was wondering exactly how I would go about doing this.
mcroft
All the "Events" are in the main blog? If you set up an "Events" Category, you can use a category archive template for this. Just hard-code the link to /archives/cat_Events if you don't want to see any of the other categories...
ramnathr
Thanks for the reply. Unfortunately, I either don't understand you or I'm not being clear.

So basically, the main website will have a blog that people will post to. Also, the "main author" will be able to post some events that will take place. A few of the most recent events will be listed on the side of the blog on the main page.

Also, a link to the rest of the events (including old events) will be provided. This events archive page will be separate from the one that lists the blog.

Ex.
www.example.com/index.html - main page; blog and recent event listings
www.example.com/events.html - archive of event listings
www.example.com/archives.html - archive of the blog


Now I'm not sure what the easiest way to go about this. Do I create two separate blogs (main and events) and use some plugin to put the blogs in the same page? Or do I create multiple categories?

If I use two different blogs, how do I prevent the author from having to edit and save the events blog and then rebuild the main blog?

But if I use different categories how do I get the output of the events archive page to show up on events.html?

Thanks in advance.
mcroft
You can set up an additional index page that displays only the single category 'Events'. It can be a copy of your index page, but change the MTEntries tag to:
CODE
<MTEntries category="Events" lastn="10006">

That will give you the last 10,006 entries that are in the category Events. This new template should create "Events.html"
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.