user-pic

Missing widgets in "community forum" template set?

Vote 0 Votes

I'm trying to work out if I've missed something.

As I understand it, the "community forum" replicates the behaviour of forums.movabletype.org

I notice their is no "category-groups widget" and in the default templates, nothing is displayed in "beta" above the rss logo. Is there not a widget with clever category management that displays the forums as cat/subcat ?

Also, the archives page remains empty even once the forum starts to fill up.

Before I write my own category-based solution to recreate the cross-forum listings and look in detail at the archive index I just wanted to check whether this was intentional or it's just bit of code that missed the build?

All the best, Dug

Reported on Movable Type 4.2

4 Replies

| Add a Reply
  • [Resolved] Silly me, once you create subcategories, the whole shebang kicks in and the sidebar and archives are populated.

    Exactly how remains a mystery (there is no call from within "beta" so not sure how that content gets in there--presumably from the "var" tag) so if someone clever wants to explain how this works I'd appreciate it!

  • Glad you resolved the issue with the forum categories.

    Regarding how the Category Groups widget is placed into the sidebar... If you look in the sidebar template for the Forum Template set you'll see the following:

    <div id="beta">
        <div id="beta-inner">
            <$mt:Var name="profile_widgets"$>
            <$mt:WidgetSet name="Category Groups"$>
            <$mt:WidgetSet name="Default Widgets"$>
        </div>
    </div>
    

    The widget set "Category Groups" should contain one widget... but you are right, when you view Design > Widgets there is not "Category Groups" widget.

    If you search templates for "category", you'll find the template in the list of results.

    I just looked over the code that creates the widget and I found what I believe is the error, the widget set and the widget have the same id. It is not apparent that these would conflict, but apparently this is the case.

    Quick fix is to update the id of the widget set in the config file for the community template set and then Refresh Templates/

    1. Add "set" to the end of the line 465 of MTHOME/addons/Community.pack/config.yaml

      Such that

      category_groups:
      

      becomes

      category_groups_set:
      
    2. Navigate to Design > Templates and click "Refresh Blog Templates" under Actions in the sidebar. Follow the steps to refresh templates. If you have not customized the templates there is no need to back up your templates.

    Also from this point forward new blogs created with the Community Forum template set will be correctly created.

    A fix can also be made without refreshing templates using custom SQL statements in the database.

    I have filed a case on this issue: http://bugs.movabletype.org/default.asp?81318 (may not be visible because MTCS cases are still in a private area in FogBugz)

  • Thanks Beau, it's nice to know one isn't crazy!

  • Hello this is jock.I just looked over the code that creates the widget and I found what I believe is the error, the widget set and the widget have the same id. It is not apparent that these would conflict, but apparently this is the case.

    jockben http://fsbo.fastrealestate.net

Add a Reply

Forum Groups

151 405

Last Topic: MT Interface Missing by Sherri on Nov 10, 2008

36 144

Last Topic: Installation can't finish by Drazend on Nov 10, 2008

34 93

Last Topic: Creating your own Plug-in by jondauz on Nov 5, 2008

10 33

Last Topic: new licensing confusion by Neil Epstein on Aug 14, 2008

code.sixapart.com

62 226

Last Topic: Callback after blog publishing. by Tomato Interactive on Oct 27, 2008

34 98

Last Topic: Ajax Rating Plugin by kiran on Oct 17, 2008