[Zope-PTK] Topics? (CMF1.0beta)

Jeffrey P Shell jeffrey@Digicool.com
Wed, 07 Mar 2001 14:35:52 -0500


On 3/7/01 2:19 PM, "David Stenglein" <dave@sputnik7.com> wrote:

> When will topics work?  I've figured out some of the trouble.  Basically Topic
> doesn't define topic_edit (or topic_view) for that matter.  Instead the dtml
> is just hanging out in the skins/topic folder unreferenced.  By mirroring the
> discussion stuff in how they load external files, I'm able to get things to
> sort of work.
> 
> Is this an oversight?  Is this not really "beta"?  From what I can discern
> after a bit of looking, there is a framwork for skins available by subclassing
> PortalObjectBase, is this the goal for this product?
> 
> We are going to be forced to come up with an intranet here very quickly, and I
> definitely want to use CMF.
> 
> -Dave

Topics aren't installed into the main setup by default (yet).  This will be
fixed in the final release.  The main code to register with the Types Tool
and Skins Tool are there, but you have to do the final step of getting them
into a CMF Site instance.  The instructions for properly getting them into
the CMF are:
--
 1. In portal_types, add a new 'Factory-Based Type Information' object.
    In the drop down list there should be 'CMFTopic: Topic'.  Select
    this and click 'Add' after giving it the id of 'Topic'.

 2. In 'portal_skins', add a new "FileSystem Directory View' object.
    Select 'Products/CMFTopic/skins/topic' and give it an id of 'topic'.

 3. In the 'portal_skins' Properties view, on each skin setting, add
    in 'topic', preferably somewhere between 'custom' and 'content'.

Topic should then show up on the "Add content" screen.

(This information will be posted on the Dogbowl).

Jeffrey P Shell, jeffrey@Digicool.com
http://www.digicool.com/ | http://www.zope.org