Hey there folks.  I've just downloaded and installed these Products into
my Zope instance.  I'd talk to any of the support groups / lists / etc for
these Products, but I can't find anythign aside from the author link, and
a few small hints on the download page.

I -think- I'm setting up an Album properly.  Here are the steps, someone
please tell me if this is not correct (There's an error that happens that
I'll report in a moment...)

1) Install all the packages
2) Import ZPhotoAlbum via the Control panel
3) Go to whatever directory I want to run from
4) Add a ZPhotoAlbum object (we'll call it 'abc' for now)
5) go into 'abc' folder
        (note the only thing in it right now is 'Vocabulary'
6) Add a ZAlbumPage (calling it 'page1')
7) go into 'page1' folder
8) Add a ZPhoto

Okay, here's where it gets fuzzy.  My initial impression is "okay, tha'ts
it.  Just keep adding ZPhotos to populate the album".  But when going to
url.url.com/abc/ I just get the default 'index.html'. 

Tinkering, I found the 'Restore DTML' button up on the toolbar for the

So I click that, and get a lot more content in the folder in the
management screen.

Now when I go to url.url.com/abc/, I see my index, the AlbumPage, and
the ZPhoto that I added.

Here's where the problem happens.  There are 2 buttons at the bottom of
the page called 'fancy view' and 'explore view'.  They should allow
different views of the indexes.  But when I click on one, I get:

Zope Error

Zope has encountered an error while publishing this resource.

Error Type: NameError
Error Value: defined_views

here's the traceback:

Traceback (innermost last):
  File /home/shevett/zope/lib/python/ZPublisher/Publish.py, line 222, in
  File /home/shevett/zope/lib/python/ZPublisher/Publish.py, line 187, in
  File /home/shevett/zope/lib/python/Zope/__init__.py, line 221, in
    (Object: CatalogAware)
  File /home/shevett/zope/lib/python/ZPublisher/Publish.py, line 171, in
  File /home/shevett/zope/lib/python/ZPublisher/mapply.py, line 160, in
    (Object: switch_view)
  File /home/shevett/zope/lib/python/ZPublisher/Publish.py, line 112, in
    (Object: switch_view)
  File /home/shevett/zope/lib/python/OFS/DTMLMethod.py, line 172, in
    (Object: switch_view)
  File /home/shevett/zope/lib/python/DocumentTemplate/DT_String.py, line
528, in __call__
    (Object: switch_view)
  File /home/shevett/zope/lib/python/DocumentTemplate/DT_Util.py, line
337, in eval
    (Object: view not in defined_views or not view_id)
    (Info: defined_views)
  File <string>, line 0, in ?
NameError: (see above)

Any suggestions? 

-------------------.   Web-based problem management: www.stonekeep.com
Dave Belfer-Shevett >----------------------------------------------------.
[EMAIL PROTECTED]  /   I like you... I'll kill you last... (from 'Handy   \
------------------<                     work phrases')                     |

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

Reply via email to