user-pic

Primary Category templates only?

Vote 0 Votes

I’m trying to create an archive mapping but can’t seem to find out how to get it so that it will only create a file for that category if it’s a primary category and not a sub-category.

For example, I have this category list:

Category 1 - north - south Category 2 - west - north Category 3 - south

I want to create this file: http://www.mysite.com/category1/index.php but it also creates: http://www.mysite.com/north/index.php

Any idea how I can avoid subcategory files to be created from that template?

8 Replies

| Add a Reply

Add a Reply

If you need to share template code, replace all the "<" signs with "&lt;" or use this utility.

Forum Groups

64 196

Last Topic: movable type 5 custom fields by kljx on Mar 17, 2010

1006 3225

Last Topic: When will MT v5.02 be Released? by Jim S. on Mar 18, 2010

483 1985

Last Topic: I have upgraded and I cant login! by Aleksandar on Mar 18, 2010

19 69

Last Topic: Custom main index page by Richard on Feb 7, 2010

11 22

Last Topic: Monthly Calendars Help Needed by joe leblanc on Jan 19, 2010

91 326

Last Topic: SpamLookup Keyword Filter 2.1 not work by b.n09 on Nov 17, 2009

55 206

Last Topic: URL Problems by NoSnaiL on Mar 17, 2010

code.sixapart.com

129 449

Last Topic: Action Stream for Google Buzz by jack lail on Feb 16, 2010