Lesson 3. Elvis's Favorite Foods

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 really liked to eat. Right now we have a of couple pages about foods Elvis liked. But as our web site grows we'll need a whole area devoted to food. Let's create a Folder for food information.

  1. Select Folder from the "Select type to add..." list.
  2. Type food for the folder id.
  3. Type Elvis and Food for the folder title.
  4. Click the Add button.

Now we've got some place to put our food related resources. Let's move some objects into this folder.

  1. Select the sandwiches.html, pie.html, and meatloaf.html templates by clicking their check boxes.
  2. Click the Cut button.
  3. Click the food folder to enter it.
  4. Click the Paste button.

Now that we've moved some objects, we need to update the links to them because an object's URL is related to its location.

  1. Return to the home.html template in the lesson3 folder, by clicking on the lesson3 location link and then clicking on the home.html page.
  2. Change the links to the sandwiches, pie and cake templates to:
    Elvis liked to eat
    <a href="food/sandwiches.html">sandwiches</a>,
    <a href="food/pie.html">pie</a>, and 
    <a href="food/meatloaf.html">meatloaf</a>.
  3. Click the Save Changes button.
  4. Click the Test tab at the top of the screen.

Notice that the food resources are now correctly linked from the home page in their new location.

Congratulations you've performed your first web site overhaul!


You can organize Zope object in folders. You can create new folders and move objects between folders.

In the next lesson you'll learn how to change the look and feel of your site.