user-pic

Categories vs. Sub-categories in an MT Forum

Vote 0 Votes

I have this same forum software running on a server, and I have most of it customized, but one last thing is irking me. When you start a topic, you have Topic and Body fields. But if you create Categories inside your Forum admin, it’ll show them in a select list.

Here’s my example: http://takezer0.com/forum/start-topic.html

Unfortunately it looks like you have to select a sub-category. How can I make it so it’ll let the user select top-level categories so I don’t have to create sub-categories?

Thanks!

Reported on Movable Type 4.2

2 Replies

| Add a Reply
  • Sorry, Clifton -- the template set is designed to use top-level categories for grouping forums together. You can do what you want, but it will require some significant customizations to the template set. The "Entry Form" template is one of those, where it currently outputs the top-level category with an 'optgroup' tag, which is an un-selectable item. Something like going from THIS (as it is now):




    ">

    ">



    To this:




    ">

    Other changes may be necessary to fix navigation so those top-level categories are linked to their archive pages, etc. It may be easier to just create a "General" top-level category that has all your topic categories under that.

  • Thanks, Brad. That makes sense. I appreciate the response.

Add a Reply

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

Forum Groups

1248 4091

Last Topic: Hiding Index Templates In MT by indieangler on Mar 12, 2010

61 187

Last Topic: MT5 documentation by Gautam Patel on Mar 9, 2010

1001 3192

Last Topic: Parse Atom XML with PHP by benthomas on Mar 12, 2010

477 1949

Last Topic: Error publishing with MT5 help please by horsegal on Mar 10, 2010

102 353

Last Topic: Saving an entry...what is happening by jdbeast00 on Mar 12, 2010

19 69

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

43 171

Last Topic: by MG on Feb 20, 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

54 199

Last Topic: Publishing error in MT 5 by mikemontesa on Feb 17, 2010

code.sixapart.com

129 448

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