Zope cannot find the tutorial examples. You should install the tutorial examples before continuing. Choose "Zope Tutorial" from the product add list in the Zope management screen to install the examples.
If you have already installed the tutorial, you can either follow along manually, or reinstall the tutorial examples. Note: make sure that you have cookies turned on in your browser.
Elvis loved his home, Graceland. Let's link an existing page to our web site with information about Graceland.
If a Folder contains an object named index_html, that object
provides the folder's default view. This is just like how an
index.html or a
default.htm file works with a conventional
At the top of the management screen, you will find a folder icon followed by "Folder at", and the URL of the current folder. In addition to being informative, this URL is a navigation aid. Each part of this URL is a link, and can be used to go to the management screens of parent folders.
lesson2link in the folder's URL.
home.htmltemplate to edit it.
<html> <img tal:replace="structure container/header.gif"> <p> Welcome to <i tal:content="template/title">title</i>, your source for information about Elvis and Elvis sightings. </p> <p> Elvis was born in <a href="graceland">Graceland</a>. </p> </html>
This adds a link the the
graceland folder. Now let's test
out the link.
You've successfully created a multi-page site with a link between two Zope objects.
Zope files and templates have a lot in common with conventional web pages--they have names, are arranged in hierarchies, and have URLs that correspond to their locations.
In the next lesson you'll learn about moving pages around in Zope.