I'm working on a Sitefinity module that is to generate a few pages on the fly. The URLs and text to use is already determined. What I'm trying to figure out is how I can create a template to say "I want the header here in the HTML, and the paragraph here". Then it creates a page record and drops in both the header and paragraph texts in the right content blocks.
I can see that when you have a content block in the Template, it is essentially separate from the page controls, which makes sense, you want that content to only change when you modify the template itself. So how can I define locations that a page should use? Should I perhaps create a blank page record to use for this and duplicate it?
Note that I need to use the contentplaceholder id value or something that's recognizable to correctly assign content. For example ID="HEAD1", ID="Para1", this way I can put the right content in the right placeholder.