Adding Topics to the CMF 1.0 Beta
The code for CMFTopics are in the CMF 1.0 Beta, but getting your portal to recognize them takes some extra work. Here's how to do it.
CMFTopic has gone through a massive update to be CMF 1.0 savvy. This includes being properly skinnable and TypesTool aware. However, Topics don't get set up by default in the CMF Site building script that builds new sites. This document talks about how to enable Topics in new and existing CMF sites.
To enable CMFTopic in existing CMF sites, you need to follow the following steps in the Zope Management Interface:
- In portal_types, add a new
Factory-Based Type Information
object. In the drop down list there should beCMFTopic: Topic
. Select this and clickAdd
after giving it the id ofTopic
. - In
portal_skins
, add a new "FileSystem Directory View' object. SelectProducts/CMFTopic/skins/topic
and give it an id oftopic
. - In the
portal_skins
Properties view, on each skin setting, add intopic
, preferably somewhere betweencustom
andcontent
.
Topic should then show up on the "Add content" screen.