133 | | === {{{favicon.ico}}} & {{{robots.txt}}} === |
134 | | These can be provided via 2 different means: |
135 | | * mod_rewrite |
136 | | * {{{web2py/routes.py}}}: copy {{{routes.example.py}}} & edit |
137 | | |
138 | | === Themes === |
139 | | Ensure these files are writable by the webserver: |
140 | | {{{ |
141 | | chown www-data /path/to/web2py/applications/sahana/static/scripts/tools |
142 | | chown www-data /path/to/web2py/applications/sahana/static/styles/S3/sahana.css |
143 | | chown www-data /path/to/web2py/applications/sahana/static/styles/S3/sahana.min.css |
144 | | }}} |
145 | | Colour scheme: |
146 | | * select using Admin Panel |
147 | | |
148 | | Logo: |
149 | | * copy new logo to {{{static/img}}} |
150 | | * point to this using Admin Panel |
151 | | |
152 | | Footer: |
153 | | * copy new footer to {{{views/}}} |
154 | | * point to this using Admin Panel |
155 | | |
156 | | DeveloperGuidelinesThemes |
157 | | |
158 | | === Error pages === |
159 | | Add the following to {{{routes.py}}} of your web2py installation for pretty error pages. |
| 134 | === Ticket Viewer === |
| 135 | Add the following to {{{routes.py}}} of your web2py installation for pretty error pages & the ability to view Tickets. |
170 | | |
| 146 | === {{{favicon.ico}}} & {{{robots.txt}}} === |
| 147 | These can be provided via 2 different means: |
| 148 | * mod_rewrite |
| 149 | * {{{web2py/routes.py}}}: copy {{{routes.example.py}}} & edit |
| 150 | |
| 151 | === Themes === |
| 152 | Ensure these files are writable by the webserver: |
| 153 | {{{ |
| 154 | chown www-data /path/to/web2py/applications/sahana/static/scripts/tools |
| 155 | chown www-data /path/to/web2py/applications/sahana/static/styles/S3/sahana.css |
| 156 | chown www-data /path/to/web2py/applications/sahana/static/styles/S3/sahana.min.css |
| 157 | }}} |
| 158 | Colour scheme: |
| 159 | * select using Admin Panel |
| 160 | |
| 161 | Logo: |
| 162 | * copy new logo to {{{static/img}}} |
| 163 | * point to this using Admin Panel |
| 164 | |
| 165 | Footer: |
| 166 | * copy new footer to {{{views/}}} |
| 167 | * point to this using Admin Panel |
| 168 | |
| 169 | DeveloperGuidelinesThemes |