Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
16dcdb5f
Commit
16dcdb5f
authored
Dec 05, 2001
by
Amos Latteier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Assorted typos and improvements from Bob Gibson. Thanks Bob!
parent
ebf97017
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
32 deletions
+32
-32
lib/python/Products/ZopeTutorial/tutorial.stx
lib/python/Products/ZopeTutorial/tutorial.stx
+32
-32
No files found.
lib/python/Products/ZopeTutorial/tutorial.stx
View file @
16dcdb5f
Welcome to the Zope Tutorial
Welcome to the Zope Tutorial
This tutorial show you the basics of using Zope. You will
This tutorial shows you the basics of using Zope. You will learn how
learn how to create and manage Zope resources by building
to create and manage Zope resources by building a web site devoted
a web site devoted to tracking Elvis sightings. Each lesson
to tracking Elvis sightings. Each lesson includes working examples
includes working examples in Zope that allow you to learn
that allow you to learn by hands-on experimentation.
by hands-on experimentation.
The tutorial assumes that you are familiar with basic Internet
The tutorial assumes that you are familiar with basic Internet
technologies such as <a href="http://www.w3.org/MarkUp/Guide/"
technologies such as <a href="http://www.w3.org/MarkUp/Guide/"
target="_blank">HTML</a>,
target="_blank">HTML</a>, URLs, and web browsers.
URLs, and web browsers.
The "Back" and "Next" buttons on the bottom of each tutorial
The "Back" and "Next" buttons on the bottom of each tutorial
page allow you to navigate the tutorial.
page allow you to navigate the tutorial.
...
@@ -30,7 +28,7 @@ Welcome to the Zope Tutorial
...
@@ -30,7 +28,7 @@ Welcome to the Zope Tutorial
examples.
examples.
1. Go to the Zope management screen and choose 'Zope Tutorial' from
1. Go to the Zope management screen and choose 'Zope Tutorial' from
the
product add
list.
the
"Select type to add..."
list.
2. Choose an id for the tutorial and click the 'Add' button.
2. Choose an id for the tutorial and click the 'Add' button.
...
@@ -48,13 +46,13 @@ Lesson 1. "Elvis Lives" Home Page
...
@@ -48,13 +46,13 @@ Lesson 1. "Elvis Lives" Home Page
First you need to create a [DTML Document]
First you need to create a [DTML Document]
for the home page. Zope uses 'DTML Documents' for web pages.
for the home page. Zope uses 'DTML Documents' for web pages.
1. Select 'DTML Document' from the
product add
list.
1. Select 'DTML Document' from the
"Select type to add..."
list.
2. Type 'home.html' for the document [id].
2. Type 'home.html' for the document [id].
3. Type 'Elvis Lives' for the document [title].
3. Type 'Elvis Lives' for the document [title].
4. Click
'Add and Edit'
.
4. Click
the 'Add and Edit' button
.
You should now see a screen
You should now see a screen
where you can edit your web page.
where you can edit your web page.
...
@@ -78,9 +76,9 @@ Lesson 1. "Elvis Lives" Home Page
...
@@ -78,9 +76,9 @@ Lesson 1. "Elvis Lives" Home Page
The contents of the document are a mixture of HTML and special
The contents of the document are a mixture of HTML and special
tags called [DTML].
tags called [DTML].
The [<dtml-var>] tag inserts things into
The [<dtml-var>] tag inserts things into
web pages. In this page,
we
b pages. In this page we insert a page header, a page footer,
we
use this tag to insert a page header, an image, a title, and a
an image, and a title with DTML
.
page footer
.
Now let's see what our page
Now let's see what our page
looks like.
looks like.
...
@@ -98,11 +96,12 @@ Lesson 1. "Elvis Lives" Home Page
...
@@ -98,11 +96,12 @@ Lesson 1. "Elvis Lives" Home Page
* Zope uses [DTML Document]s
* Zope uses [DTML Document]s
for web pages.
for web pages.
* Create Zope objects by choosing them from the product add list.
* You can create Zope objects by choosing them from the "Select
type to add..." list.
*
V
iew Zope objects by clicking the 'View' tab.
*
You can v
iew Zope objects by clicking the 'View' tab.
*
I
nsert content in web pages with the
*
You can i
nsert content in web pages with the
[<dtml-var>] tag.
[<dtml-var>] tag.
In the next lesson you'll expand
In the next lesson you'll expand
...
@@ -125,14 +124,12 @@ Lesson 2. Going to Graceland
...
@@ -125,14 +124,12 @@ Lesson 2. Going to Graceland
'index.html' or a 'default.htm' file works with a conventional
'index.html' or a 'default.htm' file works with a conventional
web server.
web server.
Notice that the location of the 'graceland' folder appears at the
At the top of the management screen, you will find a folder icon
top of the management screen. This tells you the URL of the
followed by "Folder at", and the URL of the current folder. In
folder.
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
You can navigate between Zope management screens using the location
screens of parent folders.
links. Go back up to the enclosing folders by clicking their ids in
the URL.
3. Return to the enclosing folder by clicking the 'lesson2' link
3. Return to the enclosing folder by clicking the 'lesson2' link
in the folder's URL.
in the folder's URL.
...
@@ -189,11 +186,11 @@ Lesson 3. Elvis's Favorite Foods
...
@@ -189,11 +186,11 @@ Lesson 3. Elvis's Favorite Foods
<dtml-var "tutorialShowLesson(3, REQUEST)">
<dtml-var "tutorialShowLesson(3, REQUEST)">
Elvis really liked to eat. Right now we have a couple pages about
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
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.
devoted to food. Let's create a [Folder] for food information.
1. Select 'Folder' from the
product add
list.
1. Select 'Folder' from the
"Select type to add..."
list.
2. Type 'food' for the folder id.
2. Type 'food' for the folder id.
...
@@ -216,7 +213,7 @@ Lesson 3. Elvis's Favorite Foods
...
@@ -216,7 +213,7 @@ Lesson 3. Elvis's Favorite Foods
Now that we've moved some objects, we need to update the links to
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.
them because an object's URL is related to its location.
1. Return t
he
the 'home.html' document in the 'lesson3' folder,
1. Return t
o
the 'home.html' document in the 'lesson3' folder,
by clicking on the 'lesson3' location link and then clicking
by clicking on the 'lesson3' location link and then clicking
on the 'home.html' document.
on the 'home.html' document.
...
@@ -272,11 +269,13 @@ Lesson 4. Site Contact Information
...
@@ -272,11 +269,13 @@ Lesson 4. Site Contact Information
4. Click the 'Add' button.
4. Click the 'Add' button.
Now you've created a property that defines your email address. Now
You have created a property that holds your e-mail address and that
let's put a link to this address in the web page footer.
can be used throughout your site. Let's see how we can use this
address on each web page by changing the standard web page footer.
1. Click the 'Contents' tab to return to the list of items in the
1. Click the 'Contents' tab to return to the list of items in the
folder, then click the 'standard_html_footer' [DTML Method] to edit it.
folder, then click the 'standard_html_footer' [DTML Method] to
edit it.
2. Change the contents of the method to::
2. Change the contents of the method to::
...
@@ -454,7 +453,8 @@ Lesson 7. Elvis Photo Archive
...
@@ -454,7 +453,8 @@ Lesson 7. Elvis Photo Archive
the photos by title and includes a link each
the photos by title and includes a link each
picture.
picture.
1. Click the 'photos' document to edit it.
1. Click your browser's back button to return to the 'photos'
document to edit it.
2. Change the document contents to::
2. Change the document contents to::
...
@@ -603,7 +603,7 @@ Lesson 9. Elvis, Up Close and Personal
...
@@ -603,7 +603,7 @@ Lesson 9. Elvis, Up Close and Personal
4. Click the 'sightingsFolder' folder to enter it.
4. Click the 'sightingsFolder' folder to enter it.
5. Choose 'DTML Method' from the
product add
list.
5. Choose 'DTML Method' from the
"Select type to add..."
list.
6. Type 'Seattle' for the id. Since the title is optional and isn't
6. Type 'Seattle' for the id. Since the title is optional and isn't
really needed in this case, leave the title field blank.
really needed in this case, leave the title field blank.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment