Mercurial > p > roundup > code
comparison doc/index.html @ 542:d17eecdcfe35
Some more information regarding customising the schema.
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Wed, 16 Jan 2002 04:54:27 +0000 |
| parents | 636e9b81f5cd |
| children | f98f37697f4c |
comparison
equal
deleted
inserted
replaced
| 541:3eb5ea7e3720 | 542:d17eecdcfe35 |
|---|---|
| 749 # Send nosy messages to the author of the message | 749 # Send nosy messages to the author of the message |
| 750 MESSAGES_TO_AUTHOR = 'no' # either 'yes' or 'no' | 750 MESSAGES_TO_AUTHOR = 'no' # either 'yes' or 'no' |
| 751 </pre> | 751 </pre> |
| 752 | 752 |
| 753 <h2><a name="custinst">Instance Schema</a></h2> | 753 <h2><a name="custinst">Instance Schema</a></h2> |
| 754 <b>Note:</b> if you modify the schema, you'll most likely need to | |
| 755 <a href="#schemarepurcussions"> | |
| 756 web interface to reflect your changes</a>. | |
| 757 <p> | |
| 754 An instance schema defines what data is stored in the instance's database. | 758 An instance schema defines what data is stored in the instance's database. |
| 755 The two schemas shipped with Roundup turn it into a typical software bug | 759 The two schemas shipped with Roundup turn it into a typical software bug |
| 756 tracker (the extended schema allowing for support issues as well as bugs). | 760 tracker (the extended schema allowing for support issues as well as bugs). |
| 757 Schemas are defined using Python code. The "classic" schema looks like | 761 Schemas are defined using Python code. The "classic" schema looks like |
| 758 this: | 762 this: |
| 915 <p> | 919 <p> |
| 916 Most customisation of the web view can be done by modifying the templates | 920 Most customisation of the web view can be done by modifying the templates |
| 917 in the instance html directory. These are divided into index, item and | 921 in the instance html directory. These are divided into index, item and |
| 918 newitem views. The newitem view is optional - the item view will be used if | 922 newitem views. The newitem view is optional - the item view will be used if |
| 919 the newitem view doesn't exist. | 923 the newitem view doesn't exist. |
| 924 | |
| 925 <h3><a name="schemarepurcussions">Repurcussions of changing the instance schema</a></h3> | |
| 926 | |
| 927 If you choose to <a href="custinst">change the instance schema</a> you will need to | |
| 928 ensure the web interface knows about it: | |
| 929 <ol> | |
| 930 <li>Index, item and filter pages for the relevant classes may need to have properties | |
| 931 added or removed, | |
| 932 <li>The default page header relies on the existence of, and some values of the | |
| 933 priority, status, assignedto and activity classes. If you change any of these (specifically | |
| 934 if you remove any of the classes or their default values) you will need to implement your | |
| 935 own pagehead() method in your instance's interfaces.py module. | |
| 936 </ol> | |
| 937 | |
| 920 | 938 |
| 921 <h3>Displaying Properties</h3> | 939 <h3>Displaying Properties</h3> |
| 922 | 940 |
| 923 <p> | 941 <p> |
| 924 Properties appear in the user interface in three contexts: | 942 Properties appear in the user interface in three contexts: |
| 1283 Go Ping, you rock! Also, go Bizar Software for letting me implement this | 1301 Go Ping, you rock! Also, go Bizar Software for letting me implement this |
| 1284 system on their time. | 1302 system on their time. |
| 1285 | 1303 |
| 1286 <p> </p> | 1304 <p> </p> |
| 1287 <hr> | 1305 <hr> |
| 1288 $Id: index.html,v 1.25 2002-01-16 03:04:03 richard Exp $ | 1306 $Id: index.html,v 1.26 2002-01-16 04:54:27 richard Exp $ |
| 1289 <p> </p> | 1307 <p> </p> |
| 1290 | 1308 |
| 1291 </body></html> | 1309 </body></html> |
| 1292 |
