Mercurial > p > roundup > code
comparison doc/customizing.txt @ 1254:77920c42aeb9
Expose the tracker config as a variable for templating
Homogenise newlines in CGI text submissions [SF#614072]
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Wed, 09 Oct 2002 01:00:41 +0000 |
| parents | 209a47ede743 |
| children | e5af1b963837 |
comparison
equal
deleted
inserted
replaced
| 1253:fe67477e678f | 1254:77920c42aeb9 |
|---|---|
| 1 =================== | 1 =================== |
| 2 Customising Roundup | 2 Customising Roundup |
| 3 =================== | 3 =================== |
| 4 | 4 |
| 5 :Version: $Revision: 1.53 $ | 5 :Version: $Revision: 1.54 $ |
| 6 | 6 |
| 7 .. This document borrows from the ZopeBook section on ZPT. The original is at: | 7 .. This document borrows from the ZopeBook section on ZPT. The original is at: |
| 8 http://www.zope.org/Documentation/Books/ZopeBook/current/ZPT.stx | 8 http://www.zope.org/Documentation/Books/ZopeBook/current/ZPT.stx |
| 9 | 9 |
| 10 .. contents:: | 10 .. contents:: |
| 1030 - methods for easy filterspec link generation | 1030 - methods for easy filterspec link generation |
| 1031 - *user*, the current user item as an HTMLItem instance | 1031 - *user*, the current user item as an HTMLItem instance |
| 1032 - *form* | 1032 - *form* |
| 1033 The current CGI form information as a mapping of form argument | 1033 The current CGI form information as a mapping of form argument |
| 1034 name to value | 1034 name to value |
| 1035 **tracker** | 1035 **config** |
| 1036 The current tracker | 1036 This variable holds all the values defined in the tracker config.py file |
| 1037 (eg. TRACKER_NAME, etc.) | |
| 1037 **db** | 1038 **db** |
| 1038 The current database, through which db.config may be reached. | 1039 The current database, used to access arbitrary database items. |
| 1039 **templates** | 1040 **templates** |
| 1040 Access to all the tracker templates by name. Used mainly in *use-macro* | 1041 Access to all the tracker templates by name. Used mainly in *use-macro* |
| 1041 commands. | 1042 commands. |
| 1042 **utils** | 1043 **utils** |
| 1043 This variable makes available some utility functions like batching. | 1044 This variable makes available some utility functions like batching. |
