How the theme file is chosen to load
From Adult Web Scripts Wiki
this page needs work...
zestoi first looks for template files in the current theme dir and then in the global zestoi/templates dir
by default the theme file index.php will be loaded for a grid or list of blog posts etc - and single.php is loaded for a single profile, single blog posts, etc etc
before loading those files (always defaults back to index.php btw if nothing else is found) it will now look for a file matching the 'name' in the urlconfig list
so for example if u wanted to do some different site layout stuff for a single blog article - you could define blog_article.php in the theme dir which would be loaded in preferance to single.php
this also allows you to load other custom pages if you need to load a custom php page, say for a search page or something bu defining a new rule like "search" in the urlconfig that maybe matches the rule "/search.html" and then creating the theme file search.php (rememering that the first "rule" that matches from top to bottom is the one that is used - so put specific rules closer to the top)
