# HG changeset patch # User Richard Jones # Date 1155257443 0 # Node ID d6aeef8a191002a3ccadc817bb1a0aedcf274005 # Parent bfb12092830955049baf626ecd02fedd28750eea minor fix from [SF#1517913] diff -r bfb120928309 -r d6aeef8a1910 doc/customizing.txt --- a/doc/customizing.txt Fri Aug 11 00:44:00 2006 +0000 +++ b/doc/customizing.txt Fri Aug 11 00:50:43 2006 +0000 @@ -2,7 +2,7 @@ Customising Roundup =================== -:Version: $Revision: 1.203 $ +:Version: $Revision: 1.204 $ .. This document borrows from the ZopeBook section on ZPT. The original is at: http://www.zope.org/Documentation/Books/ZopeBook/current/ZPT.stx @@ -2829,28 +2829,28 @@ tracker access (note that roundup-server would need to be restarted as it caches the schema). -1. modify the schema:: +1. modify the ``schema.py``:: issue = IssueClass(db, "issue", assignedto=Link("user"), topic=Multilink("keyword"), priority=Link("priority"), status=Link("status"), due_date=Date()) -2. add an edit field to the issue.item.html template:: +2. add an edit field to the ``issue.item.html`` template:: Due Date -3. add the property to the issue.index.html page:: +3. add the property to the ``issue.index.html`` page:: (in the heading row) Due Date (in the data row) -4. add the property to the issue.search.html page:: +4. add the property to the ``issue.search.html`` page:: Due Date: @@ -2860,6 +2860,11 @@ +5. if you wish for the due date to appear in the standard views listed + in the sidebar of the web interface then you'll need to add "due_date" + to the list of @columns in the links in the sidebar section of + ``page.html``. + Adding a new constrained field to the classic schema ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~