Mercurial > p > roundup > code
diff doc/customizing.txt @ 899:4f082e1242f7
more info
[[Parts of this commit other than changes to doc/customizing.txt may
originally have been a separate commit. Relevant metadata was stepped
on during conversion of CVS to Subversion.]]
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Thu, 25 Jul 2002 02:25:54 +0000 |
| parents | 5ffac75a7f2e |
| children | 38a74d1351c5 |
line wrap: on
line diff
--- a/doc/customizing.txt Thu Jul 25 02:10:20 2002 +0000 +++ b/doc/customizing.txt Thu Jul 25 02:25:54 2002 +0000 @@ -2,7 +2,7 @@ Customising Roundup =================== -:Version: $Revision: 1.10 $ +:Version: $Revision: 1.11 $ .. contents:: @@ -560,12 +560,13 @@ Most customisation of the web view can be done by modifying the templates in the instance html directory. These are divided into index, item and newitem views. The newitem view is optional - the item view will be used if the newitem -view doesn't exist. +view doesn't exist. The header and footer that wrap the various views give the +pages an overall look. Repurcussions of changing the instance schema ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -If you choose to change_the_instance_schema you will need to ensure the web +If you choose to change the `instance schema`_ you will need to ensure the web interface knows about it: 1. Index, item and filter pages for the relevant classes may need to have @@ -576,6 +577,16 @@ values) you will need to implement your own pagehead() method in your instance's interfaces.py module. +Overall Look - the Header and Footer +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +The header and footer are generated by Python code. The default code is in +roundup.cgi_client.Class. This class is mixed-in to your instance through the +instance's interfaces module. This means you can override the header and +footer with your own code. This allows you to use a sidebar navigation scheme, +for example. + + Displaying Properties ~~~~~~~~~~~~~~~~~~~~~
