This is the same principle as the "sidebar" or "category tree" solution that was posted for version 1.13 (I think).
The concepts would be the same for the 2.x version.
You'd want to add a call to the subroutine to build that page.
You'd want to find the build subroutine that was closest to what you wanted to do, and clone it, then modify that.
The ratings page is a "basic" page. It doesn't call other pages, and it doesn't include other stuff. You might want to use that as the model to build from.
FWIW... I thought someone had done, (or proposed?) a way to build new static pages in a specified directory. (might have been me, actually... don't remember). You might want to search for it.
I can actually see this as a "plugin" or a simple change to the configuration interface.
The plugin is simply a routine that knows what pages to build (ie: template names) and where to put them. It's called at the end of the build cycle.
You'd enter the pages to build by either listing them in a web interface, or (something I like better) just read whatever templates are in a specified subdirectory, and process them. You could specify where each template is to go by putting a comment tag at the top of the file the plug in looks for with the output path.
It's actually a rather simple concept, and now that it's been proposed, and I've thought about it <G> I'll probably create it in the next few days. This will solve my problem of keeping my "information pages" up todate with current headers. Previously this was a nightmare (solved by using page.cgi <G>).
You could then edit/list the templates by simply using the built in editor, and moving to that template directory.
I'll see (when the 2.1 final comes out) which is easier to implement -- the "gulp" directory, or an itemized list.
Please..... I can't take requests yet, I'm still getting back on my feet, but this seems exceedingly useful.
BTW... for those who might not realize it, you can use page.cgi to display a template in a "static" mode dynamically. It uses a bit more CPU than a static page, but it doesn't have to be built during a build either -- it's always "fresh".
Check out:
http://gossamer-threads.com/...cgi%20static;#137912 PUGDOG� Enterprises, Inc. The best way to contact me is to
NOT use Email.
Please leave a PM here.