Menu

#71 Categorised Forum

open
nobody
None
5
2006-04-13
2006-04-13
No

New application that extends forum to enable forums
to be assigned to navigation categories.

Once loaded, this application adds a new category
assignment tab for forum administrators, and adds
navigation category path and category menu components
to all forum pages.

Category assignment follows the model used for
category assignment in cms authoring. By default, the
domains available for assignment are those mapped to
the parent application (eg ccm/portal if forum is
created from homepage). Once a forum is created, it
may be mapped to domains in the terms admin screen
and these domains override the default ones.

Additional components appear because the Initializer
class registers pagebuilders with the forum that
override the basic pagebuilders packaged up with ccm-
forum. As a consequence, once this application is
loaded, the extra compoenents will always appear
until the application is unloaded and the Initializer
removed from the inits database table.

Dependent on previous forum patches. I have also
included stylesheet we use in our theme.

Chris.....

Discussion

  • chris gilbert

    chris gilbert - 2006-04-13

    Theme stylesheet

     
  • chris gilbert

    chris gilbert - 2006-04-13

    application tar file

     
  • chris gilbert

    chris gilbert - 2006-04-18

    Logged In: YES
    user_id=1069385

    Forgot to add, if you want forums listed on your
    navigation pages, you will need another object list in
    your navigation jsp page.

    eg.

    <define:component name="applicationList"
    classname="com.arsdigita.london.navigation.ui.object.Simple
    ObjectList"/>

    <jsp:scriptlet>

    ((com.arsdigita.london.navigation.ui.object.SimpleObjectLis
    t) applicationList).setDefinition(new
    DataCollectionDefinition());

    ((com.arsdigita.london.navigation.ui.object.SimpleObjectLis
    t) applicationList).setRenderer(new DataCollectionRenderer
    ());

    ((com.arsdigita.london.navigation.ui.object.SimpleObjectLis
    t) applicationList).getDefinition().setObjectType
    ("com.arsdigita.web.Application");

    ((com.arsdigita.london.navigation.ui.object.SimpleObjectLis
    t) applicationList).getDefinition().setCheckPermissions
    (true);

    ((com.arsdigita.london.navigation.ui.object.SimpleObjectLis
    t) applicationList).getRenderer().addAttribute("title");
    </jsp:scriptlet>

    Either this extra list can be added to the default
    navigation page in ccm-ldn-navigation in the trunk code,
    or you can use a custom navigation.jsp and specify it
    using the com.arsdigita.london.navigation.default_template
    config parameter

    Chris....

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.