Version 1 (modified by Fran Boon, 11 years ago) ( diff )


Custom Pages

Sahana Eden supports custom Pages as part of it's overall Templates system.

This allows customisation of:

  • Home page
  • Totally new pages

Custom pages are defined within the templates folder to reduce issues with merging.

NOTE: This is still a work-in-progress: not everything here is ready yet & the details may change!

Home Page

The web server is normally configured to redirect requests to:




Which maps to controllers/ & the index() function therein.

The default application & controller can be easily edited in web2py/ or within the web server configuration, however editing the default function might cause problems for other Sahana modules.

Sahana Eden is designed to check for the presence of a custom template and, if one is configured, then it attempts to load:


& then run the index() function inside there instead.

Note: you must have an in your template folder for this to work (it can be empty).

Custom Page

If a URL is specified like:


The this alternate page will attempt to be loaded using the custompage() function in:


See Also

Note: See TracWiki for help on using the wiki.