[Zope-dev] CatalogAware

Chris Withers chrisw@nipltd.com
Mon, 08 Jan 2001 10:08:35 +0000


Michael Bernstein wrote:
> 
> > that's definitely a 'bad' thing :-(
> 
> Why is that bad? A custom object management UI ('Postings'
> and 'Moderation' tabs) seems appropriate for Squishdot. I
> wouldn't want to manage postings from the standard
> management interface.

Hmmm... it does mean you can't cut, copy or paste postings though, which
can be a pain sometimes :-S

> No, I'm creating two different applications, an image
> archive and a book catalog. Both need to handle large
> numbers of items. The standard management interface does not
> scale to the number of objects involved from a usability
> perspective.

Look at Shane Hathaway's BTree Folder :-)

> I'd like to know how to prevent the objects being listed in
> the 'Contents' tab, while still allowing other objects (like
> DTML methods) to be added there.

Well, all the postings are actually stored in SquishSite.data, so
they're not actually 'contained' in the SquishSite object, hence they
don't show up in the contents tab. A bit of magic in
SquishSite.__getitem__ makes the postings URL traversable.

cheers,

Chris