Hi all, First of all, thanks to all with their great support and help. At the end of last week I found out about Zope. It looked really interesting, so I wanted to give it a try. Monday after several problems and with lots of help I could manage to enter Zope. Not from Apache as I would like, but from the HTTPServer. Next I wanted to attach Zope with my PostGresSQL demo database. Boy, did it gave me some problems (and all because of my lack in knowledge of Linux). But again several people helped me and today it is solved! Yep, it is done, the hard work can begin. Now, I've to convince other people that Zope is the way to follow. At first blink, Zope is a really nice and great product. I hope it will get the attention it diserves. Still, some work on the documentation, although they already did a great job! Most thingies are written down. Kind Regards, Tom. Now some questions: 1. Have you used CSS-sheets in Zope and how did you use them? Did you incorporated them into Zope or not? Have you got a little sample?
Now some questions:
1. Have you used CSS-sheets in Zope and how did you use them? Did you incorporated them into Zope or not? Have you got a little sample?
In Zope, this is pretty easy. Create a property at your top level of type 'lines' and called 'css' (you can also create a DTML document/method if you like). Populate it with good CSS things like (this is from the Zope site itself actually). <STYLE TYPE="text/css"><!-- .clean { font: 10pt Verdana, Geneva, Arial, sans-serif } .clean dt { text-decoration: underline } th.clean { font-weight: bold; } .headbottomrow td { border-bottom: 2px solid #936 } .header { color: #004488; font-weight: bold; font-size: 14pt; font-family: sans-serif } .smallclean { font: 9pt Verdana, Geneva, Arial, sans-serif } .smallclean dt { text-decoration: underline } H1, H2, H3, H4{ font-weight: bold; color: #000000; font-family: Verdana, Helvetica, sans-serif; } H1{ font-size: 16pt;} H2{ font-size: 14pt;} H3{ font-size: 12pt;} H4{ font-size: 10pt;} /* end hiding content from old browsers */ --> </STYLE> In standard_html_header you put something like <HTML><HEAD><TITLE><!--#var title_or_id--> </TITLE> <!--#var css--> </HEAD><BODY BGCOLOR="#FFFFFF"> and you're away... You may want to change standard_html_header so it doesn't crash if css is not present. <HTML><HEAD><TITLE><!--#var title_or_id--> </TITLE> <!--#if css--> <!--#var css--> <!--#/if --> </HEAD><BODY BGCOLOR="#FFFFFF"> Now where it starts to get really cool is that all your documents *below* the top level get the CSS information by acquisition, but you can change CSS information in folders by creating a new CSS property or document within that folder. Tres Neat. hth tone ------ Dr Tony McDonald, FMCC, Networked Learning Environments Project The Medical School, Newcastle University Tel: +44 191 222 5888 Fingerprint: 3450 876D FA41 B926 D3DD F8C3 F2D0 C3B9 8B38 18A2
I just installed Zope on a Netscape Enterprise Server (3.6). I compiled and installed the nscgiauth plugin, and all seems to run OK, except for one thing: When I try to add items to the site through the manage screen, I get: Not Found The requested object does not exist on this server. The link you followed is either outdated, inaccurate, or the server has been instructed not to let you have it. Please inform the site administrator of the referring page. When I open the frame into a new window, I see that the URL looks something like: http://www.foo.bar.net/Zope/GATE/manage/.?%3Amethod=manage_addDTMLDocumentFo... When I edit the URL by hand to remove the "." http://www.foo.bar.net/Zope/GATE/manage/?%3Amethod=manage_addDTMLDocumentFor... It works fine. What is going on here, and what do I need to do to change it? I plan on having other people from other departments access resourses on Zope to create their own objects, and I need this to work right out of the box. Thanks in advance for any help. Tim Hawes tim.hawes@ncmail.net
participants (3)
-
Tim Hawes -
Tom Deprez -
Tony McDonald