Commit c79ab2c1 authored by Amos Latteier's avatar Amos Latteier

Fixed tutorial topic order "bug". The issue of order and subcategorizatoin...

Fixed tutorial topic order "bug". The issue of order and subcategorizatoin while browsing help topics needs to be examined more closely. Also revised glossary, fixed alphabetization and links to Guides which changed.
parent e08e0d33
...@@ -135,7 +135,7 @@ def initialize(context): ...@@ -135,7 +135,7 @@ def initialize(context):
# new topic # new topic
if lines: if lines:
id = id + 1 id = id + 1
topic_id = 'topic_%d' % id topic_id = 'topic_%02d' % id
text=string.join(lines[1:], '') text=string.join(lines[1:], '')
text=term_pat.sub(glossaryTerm, text) text=term_pat.sub(glossaryTerm, text)
topic=TutorialTopic.TutorialTopic(topic_id, string.strip(lines[0]), text) topic=TutorialTopic.TutorialTopic(topic_id, string.strip(lines[0]), text)
......
...@@ -19,7 +19,7 @@ Glossary ...@@ -19,7 +19,7 @@ Glossary
You can use DTML tags in a DTML document. You can use DTML tags in a DTML document.
For more information on DTML Documents see the <a For more information on DTML Documents see the <a
href="http://www.zope.org/Documentation/Guides/ZCMG-HTML/ZCMG.9.2.html" href="http://www.zope.org/Documentation/Guides/ZCMG-HTML/ZCMG.7.2.html"
target="_blank">Zope Content Manager's Guide</a>. target="_blank">Zope Content Manager's Guide</a>.
<dtml-var "apiLink('OFSP'+'.DTMLDocument.DTMLDocument', REQUEST)"> <dtml-var "apiLink('OFSP'+'.DTMLDocument.DTMLDocument', REQUEST)">
...@@ -28,7 +28,7 @@ Glossary ...@@ -28,7 +28,7 @@ Glossary
be inserted into a web page. You can use DTML tags in a DTML Method. be inserted into a web page. You can use DTML tags in a DTML Method.
For more information on DTML Methods see the <a For more information on DTML Methods see the <a
href="http://www.zope.org/Documentation/Guides/ZCMG-HTML/ZCMG.9.1.html" href="http://www.zope.org/Documentation/Guides/ZCMG-HTML/ZCMG.7.1.html"
target="_blank">Zope Content Manager's Guide</a>. target="_blank">Zope Content Manager's Guide</a>.
<dtml-var "apiLink('OFSP'+'.DTMLMethod.DTMLMethod', REQUEST)"> <dtml-var "apiLink('OFSP'+'.DTMLMethod.DTMLMethod', REQUEST)">
...@@ -36,14 +36,6 @@ Glossary ...@@ -36,14 +36,6 @@ Glossary
[Delete] -- Remove an object from the current Folder. Unlike Cut, this [Delete] -- Remove an object from the current Folder. Unlike Cut, this
does not place a copy of the object in the clipboard. does not place a copy of the object in the clipboard.
[Folder] -- A Zope object that contains other Zope objects. You can
move objects between Folders by cutting and pasting them. You can
add new objects to Folders with the product add list.
For more information on Folders see the <a
href="http://www.zope.org/Documentation/Guides/ZCMG-HTML/ZCMG.8.2.html"
target="_blank">Zope Content Manager's Guide</a>.
[Cut] -- Remove a Zope object from its current location and place it [Cut] -- Remove a Zope object from its current location and place it
in the clipboard. in the clipboard.
...@@ -60,48 +52,43 @@ Glossary ...@@ -60,48 +52,43 @@ Glossary
action without inserting anything into a web page. action without inserting anything into a web page.
For more information on &lt;dtml-call&gt; tag see the <a For more information on &lt;dtml-call&gt; tag see the <a
href="http://www.zope.org/Documentation/Guides/DTML-HTML/DTML.11.html" href="http://www.zope.org/Documentation/Guides/DTML-HTML/DTML.10.html"
target="_blank">DTML Reference</a>. target="_blank">DTML Reference</a>.
[<dtml-if>] -- A DTML tag that allows you to conditionally insert [<dtml-if>] -- A DTML tag that allows you to conditionally insert
objects into a DTML Document or DTML Method. objects into a DTML Document or DTML Method.
For more information on &lt;dtml-if&gt; tag see the <a For more information on &lt;dtml-if&gt; tag see the <a
href="http://www.zope.org/Documentation/Guides/DTML-HTML/DTML.7.html" href="http://www.zope.org/Documentation/Guides/DTML-HTML/DTML.6.html"
target="_blank">DTML Reference</a>. target="_blank">DTML Reference</a>.
[<dtml-in>] -- A DTML tag that allows you to loop over a sequence [<dtml-in>] -- A DTML tag that allows you to loop over a sequence
of objects. of objects.
For more information on &lt;dtml-in&gt; tag see the <a For more information on &lt;dtml-in&gt; tag see the <a
href="http://www.zope.org/Documentation/Guides/DTML-HTML/DTML.8.html" href="http://www.zope.org/Documentation/Guides/DTML-HTML/DTML.7.html"
target="_blank">DTML Reference</a>. target="_blank">DTML Reference</a>.
[<dtml-var>] -- A DTML tag that allows you to insert objects [<dtml-var>] -- A DTML tag that allows you to insert objects
into a DTML Document or DTML Method. into a DTML Document or DTML Method.
For more information on &lt;dtml-var&gt; tag see the <a For more information on &lt;dtml-var&gt; tag see the <a
href="http://www.zope.org/Documentation/Guides/DTML-HTML/DTML.6.html" href="http://www.zope.org/Documentation/Guides/DTML-HTML/DTML.5.html"
target="_blank">DTML Reference</a>. target="_blank">DTML Reference</a>.
[<dtml-sendmail>] -- A DTML tag that sends email. [<dtml-sendmail>] -- A DTML tag that sends email.
For more information on &lt;dtml-sendmail&gt; tag see the <a For more information on &lt;dtml-sendmail&gt; tag see the <a
href="http://www.zope.org/Documentation/Guides/DTML-HTML/DTML.17.html" href="http://www.zope.org/Documentation/Guides/DTML-HTML/DTML.16.html"
target="_blank">DTML Reference</a>. target="_blank">DTML Reference</a>.
[Mail Host] -- A Zope object that allows you to send email. [Folder] -- A Zope object that contains other Zope objects. You can
Use the &lt;dtml-sendmail&gt; tag to send email. move objects between Folders by cutting and pasting them. You can
add new objects to Folders with the product add list.
[Paste] -- Insert the objects from the clipboard into the current Folder.
[Image] -- A Zope object for a picture.
For more information on Images see the <a
href="http://www.zope.org/Documentation/Guides/ZCMG-HTML/ZCMG.8.4.html"
>Zope Content Manager's Guide</a>.
<dtml-var "apiLink('OFSP'+'.Image.Image', REQUEST)"> For more information on Folders see the <a
href="http://www.zope.org/Documentation/Guides/ZCMG-HTML/ZCMG.6.2.html"
target="_blank">Zope Content Manager's Guide</a>.
[HTTP Cookies] -- Cookies allow you to record information in a visitor's [HTTP Cookies] -- Cookies allow you to record information in a visitor's
browser. This is commonly used to provide personalization for a web site. browser. This is commonly used to provide personalization for a web site.
...@@ -111,11 +98,26 @@ Glossary ...@@ -111,11 +98,26 @@ Glossary
commas and tildes. Here are some example ids: 'index.html', 'My Page', commas and tildes. Here are some example ids: 'index.html', 'My Page',
'item-12'. 'item-12'.
[Image] -- A Zope object for a picture.
For more information on Images see the <a
href="http://www.zope.org/Documentation/Guides/ZCMG-HTML/ZCMG.6.4.html"
target="_blank">Zope Content Manager's Guide</a>.
<dtml-var "apiLink('OFSP'+'.Image.Image', REQUEST)">
[index_html] -- The name of the default Zope object in a Folder. [index_html] -- The name of the default Zope object in a Folder.
When you view a Folder the index_html object will be displayed When you view a Folder the index_html object will be displayed
unless you specify otherwise. This is just like the 'index.html' unless you specify otherwise. This is just like the 'index.html'
or 'default.htm' default web page with a normal web server. or 'default.htm' default web page with a normal web server.
[Mail Host] -- A Zope object that allows you to send email.
Use the &lt;dtml-sendmail&gt; tag to send email.
<dtml-var "apiLink('MailHost'+'.MailHost.MailHost', REQUEST)">
[Paste] -- Insert the objects from the clipboard into the current Folder.
[product add list] -- The list of addable objects. Select an object [product add list] -- The list of addable objects. Select an object
from the product add list to create a new object in the current from the product add list to create a new object in the current
Folder. Folder.
...@@ -140,3 +142,6 @@ Glossary ...@@ -140,3 +142,6 @@ Glossary
For more information on ZSQL Methods see the <a For more information on ZSQL Methods see the <a
href="http://www.zope.org/Documentation/Guides/ZSQL-HTML/ZSQL.1.4.html" href="http://www.zope.org/Documentation/Guides/ZSQL-HTML/ZSQL.1.4.html"
target="_blank">SQL Method User's Guide</a>. target="_blank">SQL Method User's Guide</a>.
<dtml-var "apiLink('ZSQLMethods'+'.ZSQLMethod.ZSQLMethod', REQUEST)">
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment