Help - Search - Members - Calendar
Full Version: Thinking of switching my site back to MT
Movable Type Community Forum > Additional Resources > Tips and Tricks
Foo Fighter
I'm thinking of going back to Movabletype for my web site. Right now I'm using a content management system called Mambo, which I'm not satisfied with.

But there are a few content layout customizations I would like to make which I'n not sure can be done with MT. For example, I would like to structure my Reviews section to be organized like this:

Example

The Articles section will be setup in the same way.

On the News section, I would like it to look something like this:

Example

Is this possible, and if so...how? Do I need to create separate templates for each section of the site?

Any advice would be much appreciated.
Foo Fighter
Anyone? sad.gif
Kolibri
It's not possible using the standard archive templates - but it's certainly possible if you create new index file. With an index file you can easily do what you need.
Foo Fighter
Not quiite sure what you mean. With a new index file?
Kolibri
Normally you would use archive templates for displaying category archives - however there is only one template for all categories, so it wouldn't work for you.

What you want to do is create new index template for each of your categories - or maybe just for the ones that you want to look different.

So the answer for you original question:
QUOTE
Do I need to create separate templates for each section of the site?

Is yes (assuming that your sections correspond to categories).

The answer to how is something like this... in your new "news" index template have something like this:
CODE
<MTEntries  category="News">
<a href="<$MTEntryPermalink$>"><$MTEntryTitle$></a> (<MTEntryDate format="%d/%m/%y">)<br />
</MTEntries>

Or whatever it is that you want to display there.

Hope this helps.
Foo Fighter
Thanks. That doesn't completely answer my question...but it's a start. smile.gif
Foo Fighter
In case anyone is interested in seeing my custom content layout and archiving, take a look at my site: Pocketfactory

In particular, have a look at the news, articles, and reviews sections.

Not bad, if I do say so myself. wink.gif
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.