symbolic links or invisible objects..?
Zopistas: Am working on a simple content management system for about 6 sites, and so far, so good. It's my first medium-sized Zope project and Zope has been wonderful to work with so far. However, I've been tasked with the project of creating the simplest possible interface for some very non-technical content managers. So the first thing I did was abstract out the content from some fairly complex formatting. This was easy, and now I have a site where all the content that theae people need to touch always lives in an object called page_content. Objeects by this name now exist at many points in the site. Aparently the fact that a number of other non-content objects are visible at the same level of heirarchy in the site is a problem. So my question is this: Is there any way to make zope understand something like a UNIX symbolic link? If so, I could easily create a single directory with a symlinks to all the appropriate objects in the site. Content managers would then have access only to this dir and would therefor see all appropriate objects. Or perhaps there is a way to make other objects invisable to those w/out the necessary permission to use them? I've played with Zope permissions a but, and haven't yet found a way to do this. Or is the some other way entirely to look at this problem? TIA for any help on this. //glw
On Tue, 29 Aug 2000, Geoffrey L. Wright wrote:
Aparently the fact that a number of other non-content objects are visible at the same level of heirarchy in the site is a problem. So my question is this:
Is there any way to make zope understand something like a UNIX symbolic link? If so, I could easily create a single directory with a symlinks to all the appropriate objects in the site. Content managers would then have access only to this dir and would therefor see all appropriate objects.
Or perhaps there is a way to make other objects invisable to those w/out the necessary permission to use them? I've played with Zope permissions a but, and haven't yet found a way to do this.
Or is the some other way entirely to look at this problem?
How about creating a custom management page that just lists the objects they need to change? You could do this by hand if the object list is static. If, as is more likely, it changes, you could create a Catalog that indexes meta_type or (if body_content is not a specialized class) id, and thereby be able to pull up a list of all body_content objects and list them on the custom management page using dtml-in. You can even use dtml-in batching to keep the page size down if there are lots of these things. --RDM
"R. David Murray" wrote:
Is there any way to make zope understand something like a UNIX symbolic link?
There was some discussion on this a while back on zope-dev. Check the archives...
How about creating a custom management page that just lists the objects they need to change?
Or just filtering the listing so objects they can edit show up? cheers, Chris
participants (3)
-
Chris Withers -
Geoffrey L. Wright -
R. David Murray