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 Page Template
for the home page. Zope uses Page Templates
for web pages.
Page Template
from the "Select type to add..." list.home.html
for the template id.Add and Edit
button.You should now see a screen where you can edit your web page.
Elvis Lives
.<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> </html>
Save Changes
button.The contents of the template is HTML along with special attributes called Page Template Statements.
The tal:content and tal:replace statements inserts things into tags. In this page we use these statement to insert an image and a title.
Now let's see what our page looks like.
Test
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.
In the next lesson you'll expand your web site.