Changes between Version 8 and Version 9 of DeveloperGuidelines/Templates/CustomPages


Ignore:
Timestamp:
01/05/15 15:07:45 (6 years ago)
Author:
Fran Boon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DeveloperGuidelines/Templates/CustomPages

    v8 v9  
    2727Sahana Eden is designed to check for the presence of a custom template and, if one is configured, then it attempts to load:
    2828{{{
    29 /private/templates/<template>/controllers.py
     29/modules/templates/<template>/controllers.py
    3030}}}
    3131& then run the {{{index()}}} function inside there instead.
     
    3939from gluon import current
    4040response = current.response
    41 view = path.join(current.request.folder, "private", "templates",
     41view = path.join(current.request.folder, "modules", "templates",
    4242                 response.s3.theme, "views", "index.html")
    4343try:
     
    5757The this alternate page will attempt to be loaded using the {{{custompage()}}} class in:
    5858{{{
    59 /private/templates/<template>/controllers.py
     59/modules/templates/<template>/controllers.py
    6060}}}
    6161