On Fri, 5 Oct 2001, marc lindahl wrote:

We have schools, research groups, students, and administration that we
deal with. A school may create a news document about a new professor which
they would wish to display for 6 weeks. The administration offices may
only wish to display the story for 1 week.

The display dates for the news documents are properties of the documents.

So I really need two different instances of the same property one for the
school and one for the administration. However the administration probably
has no permission other than View on the schools News Document so
something like this would not work.

We want to avoid maintaining two copies of the same story at all costs.

The system I came up with was to let the administration create a
reference to the schools news object where they could add their own
properties or override the values of existing ones.

If there is an editable record where an object could be
cataloged and then the meta date for a cataloged object could be changed
by the owner of the catalog it would provide the same functionality. I
could just give each group a catalog and some methods of adding news to
the catalog. They could then edit the meta_data in the catalog to change
the display periods, priority, etc. And the display routine could use the
meta_data in each groups catalog when displaying the object rather than
the objects properties.

Can this be done with Plugable Brains?

If you have any other suggestions/hints/tips let me know.

--Brian

> Why not use the Catalog for this?
>
> e.g. in the CMF, there's 'Topic' which does basically that.
>
> > From: "brian.r.brinegar.1" <[EMAIL PROTECTED]>
> > Date: Fri, 5 Oct 2001 16:04:36 -0500 (EST)
> > To: <[EMAIL PROTECTED]>
> > Subject: [Zope-dev] Product Icon
> >
> >
> > I am currently working on a product which has the sole purpose of
> > referencing other objects. One of the properties is the path to
> > another Zope object. Then methods are defined like getObject(),
> > getPath(). We use it as a way to manage news and events that show
> > on several sites that opperate on our Zope server. It allows one
> > group to add a news document in their folder and if another group
> > would like that news item to show on their site they can create a
> > reference to it.
> >
> > Anyway, what happens from time to time is an object is referencing
> > another object when it gets deleted/renamed/moved and that breaks the
> > reference. The product handles this gracefully, however I would like
> > to have the icon change from our standard icon to a broken icon.
> >
> > Any hints?
> >
> > --Brian Brinegar
> > ECN Web Technician
> > MSEE 104 A 494-3106
> > http://www.geeksoft.net/
> >
> >
> >
> > _______________________________________________
> > Zope-Dev maillist  -  [EMAIL PROTECTED]
> > http://lists.zope.org/mailman/listinfo/zope-dev
> > **  No cross posts or HTML encoding!  **
> > (Related lists -
> > http://lists.zope.org/mailman/listinfo/zope-announce
> > http://lists.zope.org/mailman/listinfo/zope )
>
>

--Brian Brinegar
  ECN Web Technician
  MSEE 104 A 494-3106
  http://www.geeksoft.net/



_______________________________________________
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )

Reply via email to