[Zope] ZPT help

Albert Chin zope at lists.thewrittenword.com
Thu Aug 28 10:14:53 EDT 2003


I just set up Zope 2.6.1 and am trying to migrate a static web site to
it. The site has some navigation links on the right and across the
top. The links to the right are different depending on the page
content. The links across the top are always the same.

Basic tree structure is:
  www.foo.com/
  www.foo.com/company-info/
  www.foo.com/company-info/contact
  www.foo.com/company-info/history
  www.foo.com/products/
  www.foo.com/products/product-1
  www.foo.com/products/product-2
  www.foo.com/products/product-3
  www.foo.com/projects/project-1
  www.foo.com/projects/project-2
  www.foo.com/projects/project-3

The "contact" and "history" links appear to the right on the
"company-info" page. The "product-1", "product-2", and "product-3"
links appear to the right on the "products" page, etc.

The "company-info", "products", and "projects" links would appear
across the top.

Is it possible to have one ZPT template which provides dynamic content
based on the URL?

-- 
albert chin (china at thewrittenword.com)



More information about the Zope mailing list