[Zope-CMF] Topics Help
seb bacon
seb@jamkit.com
Mon, 2 Jul 2001 13:23:05 +0100
* Norman Khine <khine@btinternet.com> [010702 12:11]:
> Hello,
> Can someone please, show me how to display the topics objects on the index
> page for the cmf. similarly like the current cmf.zope.org site.
>
> I am having great difficulties in understanding the structure, so far my
> understanding is that --
>
> topics can be added by authorised users.
> these topics should be placed in the root folder of the user.
yes
>
> how do you associate a document type to a topic, I can see you can set these
> perhaps in the criteria, is this correct?
i think so (don't have a cmf w/ topics in front of me)
> how do you call a topics object?
from a url, like:
http://www.yousite.com/portal/topic
and the 'view' action is called automatically. The method for this
action is in CMFTopic/skins/topic/topic_view.dtml.
If you want to add topics to the site 'home page', you need to add
code based on topic_view to index_html. As Chris says, it's just a
normal Catalog query.
seb