[Zope-PTK] Re: [Zope] PTK issues
Kevin Dangoor
kid@kendermedia.com
Fri, 3 Mar 2000 09:51:11 -0500
----- Original Message -----
From: "Nolan Darilek" <nolan_d@bigfoot.com>
To: <zope-ptk@zope.org>
Sent: Friday, March 03, 2000 1:16 AM
Subject: [Zope-PTK] Re: [Zope] PTK issues
> >> So, am I supposed to edit that each time a new, newsworthy item
> >> is created by a member? I thought that, by approving news
> >> items, they would be displayed on the main page, or is this
> >> only on the "Breaking News" link?
>
> Bill> You can do like I do, and return the results of a ZCatalog
> Bill> search. Or you can do it the old fashioned way ;)
>
> Anyone have an example of how I might do this?
I believe there is an Advanced ZCatalog searching how-to that's worth
checking out (http://www.zope.org/Members/Zen/howto/AdvZCatalogSearching).
You can specify a range of datetimes to show only the most recent articles.
For KM|Net News, I made the articles have a "top" property that determines
if it is a top story, making for a really simple search. (I may release
KM|Net News 1.1 today which will be easier to get running, because it
configures its own Catalog).
> Also, I have another question. If anyone could point me to any basic
> DTML-coding tutorials (if any exist) I'd be helped greatly, since I'm
> not afraid of R'ing TFM, so to speak. :) My site is similar, in a
> sense, to zope.org. What I'd like to do is to grant users personal
> workspaces under members/, in which they can edit news items, etc. I'd
> also like to create projects/, which hold pages similar to those under
> members/, but which allow any number of users to edit them. It's
> basically a sourceforge-ish setup in that I can register a project and
> receive a folder beneath projects/. From there, I can then grant write
> privilages to any number of existing users. How difficult might
> something like this be to implement?
I believe this is straightforward using local roles. Here's a how-to on
that:
http://www.zope.org/Members/anthony/owner_role
Zope security is quite flexible, so you should be able to find a mechanism
that will work for you.
> One final implementation question. Is it possible to plug pre-existing
> products into a PTK site? What I mean is, could I plug any of the
> existing chat/web discussion products into a portal and allow it to
> use the user's login name and such, instead of prompting for a
> separate login?
When LoginManager is ready for prime time, this will be possible.
LoginManager will be a separate Product that is usable without the rest of
the PTK.
Kevin