I got the zope book this last week, and this is my
first introduction to using zope. I downloaded the latest version of zope
on my Windows machine. I have it all working, and have been happy with it
for a few days now. I made it through the zope tutorial, and the first few
chapters in the book with no problem.
In chapter four, I had one change that I figured
out. In a Script(Python) "hasVisitedZoo", to use the cookies, REQUEST has
to be set to container.REQUEST. I am guessing this must be something new
in the later release or something.
Anyways, I am now in chapter 5, and there is a
navigation DTML method that is supposed to print links to the various
folders. In my index_html, also it is supposed to print the folder name
rather than the DTML Document name (index_html) from the figures. Did
something change to make it where I have to specify what to use? I didn't
find how to set a variable to the folder to be used yet, or I would have figured
what should have been written.
The interesting thing was that earlier in chapter
4, I had a <dtml-var title> in a file, and it put the folder name even
though the document also had a title. (Feedbags if you know the
book).
While writing this email, I figured it out. I
decided index_html would be a DTML Document rather than a Method. This
difference was not pointed out in the book (at least the print version), if it
is not in the online one with comments, I will add the comment myself. :-)
It does say to create a DTML Method in the folder called index_html, I just
started adding it, and thought to myself, this is document. Anyways, I
needlessly spent hours trying to solve this. On with life.
Thanks,
-walter