-----Original Message----- From: happyrhino@usa.net <happyrhino@usa.net> To: zope@zope.org <zope@zope.org> Date: Saturday, August 28, 1999 5:29 AM Subject: [Zope] (no subject)
#1. The default standard_html_footer has this inside <p><!--#var ZopeAttributionButton--></p> Where is ZopeAttributionButton defined ? I can not find the image object anywhere. Also, where is the variable URL1 defined in the default index_html ? Sorry, I know these are stupid questions and not very important.
These get added to the namespace within Zope somewhere. If you grep through the source files, you'll probably find it. (I'm guessing it happens in ZPublisher... But I haven't looked through that code to see exactly what's happening.)
#2. I want to put all of my images in a folder called "images". If I read the documents right, I can access the contents of a folder using <dtml-with foldername> <dthml-var imagename> </dtml-with> But that is not working. If I place that code inside the root index_html after the standard_html_header then view the page, I get a "save as" popup as if the content type is wrong !
Hmm... this should work <dtml-with images> <dtml-var imagename> </dtml-with> Should result in the creation of an <img> tag pointing to that image. Did you upload your images as "Image" objects or as "File" objects?
Also, how would I access the contents of subfolders of subfolders ? <dtml-with foldername/subfolder> or <dtml-with foldername.subfolder> ?
You could do: <dtml-with foldername> <dtml-with subfolder> </dtml-with> </dtml-with> Or, I believe, <dtml-with "foldername.subfolder"> (Note the ""s. Those are important)
#4. Before I try to install Zope on my Solaris workstation, I need to know whether uninstallation will involve simply deleting the folder ?
I'm not running it under Solaris, but I'm guessing that this is the case. If you're using Apache, then you would need to change your rewriterules, etc... but if you're just using ZServer, I don't think you would need to do anything but delete the directory.
#5. How do you add Javascript events to images ? For example, for rollovers ?
Zope doesn't have anything specifically for creating rollovers... you just put the Javascript within your HTML the same as you would elsewhere. You could possibly write some DTML methods to make it easier on you, though. Kevin