Changes between Version 8 and Version 9 of DeveloperGuidelines/Templates/CustomPages
- Timestamp:
- 01/05/15 15:07:45 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DeveloperGuidelines/Templates/CustomPages
v8 v9 27 27 Sahana Eden is designed to check for the presence of a custom template and, if one is configured, then it attempts to load: 28 28 {{{ 29 / private/templates/<template>/controllers.py29 /modules/templates/<template>/controllers.py 30 30 }}} 31 31 & then run the {{{index()}}} function inside there instead. … … 39 39 from gluon import current 40 40 response = current.response 41 view = path.join(current.request.folder, " private", "templates",41 view = path.join(current.request.folder, "modules", "templates", 42 42 response.s3.theme, "views", "index.html") 43 43 try: … … 57 57 The this alternate page will attempt to be loaded using the {{{custompage()}}} class in: 58 58 {{{ 59 / private/templates/<template>/controllers.py59 /modules/templates/<template>/controllers.py 60 60 }}} 61 61