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.
Let's create a home page for "Elvis Lives", an organization that tracks Elvis sightings.
First you need to create a DTML Document
for the home page. Zope uses
DTML Documents for web pages.
DTML Documentfrom the "Select type to add..." list.
home.htmlfor the document id.
Elvis Livesfor the document title.
Add and Editbutton.
You should now see a screen where you can edit your web page.
<dtml-var standard_html_header> <dtml-var header.gif> <p> Welcome to <i><dtml-var title></i>, your source for information about Elvis and Elvis sightings. </p> <dtml-var standard_html_footer>
The contents of the document are a mixture of HTML and special tags called DTML.
The <dtml-var> tag inserts things into web pages. In this page, we use this tag to insert a page header, an image, a title, and a page footer.
Now let's see what our page looks like.
Viewtab at the top of the screen.
Congratulations you've created a web page with Zope.
Zope allows you to create and manage objects through the web.
In the next lesson you'll expand your web site.
Comments on this lesson? Email feedback.