Just in case you don't find how to make a new resource type (sorry I can't help in that yet) an alternative way may be to store the pre-canned blocks of HTML in a database activity (which can reside in a meta-course so every course that needs access to these blocks can be a child course of that meta) and to turn on the RSS of that database. In the main page of a course you add some javascript that summons this RSS, loads its XML and places a certain item in a certain div tag on the page. So the loop can check for the existence of an identified div and send the content of item N to div id=descN. A teacher then looks up a desired item in the database, say item 23, and in the course page adds a label and in the label's html enters <div id="desc23"></div>. In this solution teachers may be allowed to add blocks or modify blocks if required. This is a local solution and a new resource type will be much more efficient and elegant so again this is 'just in case'.
Itamar
) so my improvisations are always from a user perspective on the front end. Here is what you can do: