[Zope-CMF] Various newbie questions.

Ivan Cornell icornell@yahoo.com
Wed, 18 Apr 2001 09:16:16 +0100 (BST)


I've only been playing with the CMF for a week, but I'll have a go at
answering your Q's:

> Here are some random building questions: 1) I've seen the news box in
> action on the dogbowl site, but I don't see that news items are
> discussable, actually I haven't been able to find a discussable content
> example via search.  Is discussable items a work in progress, or am I
> just missing it? 2) How does one make news type items discussable?
Look in the portal_types at the root of your site. There should be an
entry for each content type & at the bottom of the page for each one a
checkbox 'Discussable'. Turn this on et voila!

> How would one restrict the choices available to a logged-in user to one
> of three inputs: a form submission, a sub-folder or a discussion
> attached to a form submission?
Also in portal_types, call up the Folder entry, chose to filter types &
select the content you want to limit to.

> 3) ...and restrict access to a single
> directory tree that is common to all users?
Or is that 4? You can create portal folders 'outside' of the Member tree
by going in to zope management & going Add -> CMF Core Content -> Portal
Folder. You can then enter the new folder & set the permissions on it for
your members on the Security tab, eg 'Add Portal Content', etc. I can't
recall exactly what to set - read the source!
HTH,

Ivan

____________________________________________________________
Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie