An idea: I would like to be able to include an identical section of HTML in several different staticpages. The easiest way to do it would be to write that code in a separate staticpage, and include that page in other pages with something like
[staticpage_include:staticpageidhere]
This can easily be done within the staticpage plugin when parsing for staticpage links. I don't have time now, so if anyone is interested.... go for it. Look in functions.inc for the function plugin_autotags_staticpages and hack there for a quick solution.
As a further extension, which I just thought of while writing now, this might also develop into a more generalised protocol for plugins to replace code: anything within square brackets is parsed as:
[pluginname_functionname:items to pass to function]
I once did a similar thing to include blocks in a staticpage. This would allow other plugins to work freely with the content of the staticpages but might require some thought regarding security.
Any takers?
Cheers
Euan.