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 Document from the "Select type to add..." list.
home.html for the document id.
Elvis Lives for the document title.
Add and Edit button.
You should now see a screen where you can edit your web page.
Change the contents of the document to:
<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>
Save Changes button.
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.
View tab 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.
Zope uses DTML Documents for web pages.
You can create Zope objects by choosing them from the "Select type to add..." list.
You can view Zope objects by clicking the
You can insert content in web pages with the <dtml-var> tag.
In the next lesson you'll expand your web site.
Comments on this lesson? Email feedback.