[Zope-dev] Using index.htm(l) files like index_html

2003-03-21 Thread David Cain
How can I customize my Zope server to treat index.html and index.htm
files like index_html files?

Thanks

David Cain
Senior Web Developer, Information Systems Department 
Syracuse University Library
Syracuse, New York 13244-2010
(315) 443-5923
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]


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


[Zope-dev] Zope Template Newbie question

2003-03-11 Thread David Cain
I'm trying to pull in another file with the following markup:

Level2banner content goes
here

And it does pull the file in, but it quotes the entire HTML in that file
so that my browser doesn't interpret it:
   <img src="/images/page2leftbottom-blank.jpg" width="331"
height="39" border="0" class="banner" alt="Category">

This is not what I want.  What am I doing wrong, or how to I prevent the
quoting?

David Cain
Senior Web Developer, Information Systems Department 
Syracuse University Library
Syracuse, New York 13244-2010
(315) 443-5923
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]


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


[Zope-dev] Stupid dtml-if comparision

2003-03-06 Thread David Cain
I'm trying to compare two number, or at least I think they're numbers.

If I do:
   
   
   
 Equal block
   
I and J print out the same, but do not compare to be equal since "Equal
block" string doesn't print.

I must be doing something wrong.  

Please, suggestions before I pull out all my hair.


David Cain
Senior Web Developer, Information Systems Department 
Syracuse University Library
Syracuse, New York 13244-2010
(315) 443-5923
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]


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


[Zope-dev] Multiple author and reviewer roles in Zope CMF

2003-02-12 Thread David Cain
I would like to apply Zope CMF to our organization which is made up of
numerous departments.  Each department has one or more managers
(reviewers) and content providers.  Also, some managers cross
departments, as well as content providers.

How can I create several Zope CMF roles (reviewer and author) for each
department so that reviewers for that department will only see content
created by authors in that department?  

David Cain
Senior Web Developer, Information Systems Department 
Syracuse University Library
Syracuse, New York 13244-2010
(315) 443-5923
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]


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



[Zope-dev] Tools for creation and management of structured, HTML, or textual content

2003-02-10 Thread David Cain
My organization is full of non-techie types and HTML guru wanna-bees who
need to supply content to my Zope CMF server.  I'm looking for any kind
of tools designed for the creation and management of structured, HTML or
textual content.

I'm currently looking at Silva, but what else is out there?

Thanks in advance.

David Cain
Senior Web Developer, Information Systems Department 
Syracuse University Library
Syracuse, New York 13244-2010
(315) 443-5923
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]


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



[Zope-dev] Making private documents viewable by members in CMF

2003-02-06 Thread David Cain
CMF comes with a default workflow with three states: private, pending,
and published. When an object is in the private state, only the user who
created it and site managers can view and change it.

How do I change the roles or security to allow Members to view each
others private documents without making them managers?

David Cain
Senior Web Developer, Information Systems Department 
Syracuse University Library
Syracuse, New York 13244-2010
(315) 443-5923
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]


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



[Zope-dev] Can't import

2003-01-22 Thread David Cain
I have a simple python script that tries to do the following:
from AccessControl import ClassSecurityInfo

And produces the following error:
Error Type: ImportError
Error Value: import of "ClassSecurityInfo" from "AccessControl"
is unauthorized. You are not allowed to access ClassSecurityInfo in this
context

I think all other from...import statements cause the same.

Can anyone tell me what this is caused by, and how to work around it?

(Zope 2.6.0 (binary release, python 2.1, linux2-x86), python 2.1.3,
linux2)

David Cain
Senior Web Developer, Information Systems Department 
Syracuse University Library
Syracuse, New York 13244-2010
(315) 443-5923
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]


___
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 )



[Zope-dev] Newbie security development question

2003-01-22 Thread David Cain
Running Zope 2.6.0 (binary release, python 2.1, linux2-x86

I would like to import the ClassSecurityInfo class from a Python script
and the examples don't seem to work:

If I try for the examples:
from AccessControl import ClassSecurityInfo
It doesn't work so when I try:
from AccessControl.SecurityInfo import ClassSecurityInfo
I get password challenged, and no username/password pair works (not even
admin, or the emergency user).

Can anyone tell me what I'm doing wrong here?

Ultimately I want to change the default permission on an uploaded file
to not be viewable by anonymous, until a manager approves this and sets
it viewable.

David Cain
Senior Web Developer, Information Systems Department 
Syracuse University Library
Syracuse, New York 13244-2010
(315) 443-5923
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]


___
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 )