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.....
Theme stylesheet
application tar file
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....