QUESTION:
  • Is there a way to reuse chunks of HTML like headers and footers?
  • How do I include small bits of static content in a page


ANSWER:

Create a new form containing the chunk of HTML. Give it a name (say, “myform”). Set the type to Misc.

Now, anytime you want to reuse that form, use <txp:output_form form="myform" /> to display it.