Custom Insertion Point

A custom insertion point is a way to add custom content to a page through the use of a page fragment. A custom insertion point is created using the ~[cust.insertion_point:insert-point-name] tag, with the insert-point-name replaced with the desired name of the insertion point. This tag must be placed in a div tag with an id="cust-insert-point-name" attribute added to the tag.

The page that the custom content will be inserted into must either define the custom insertion point or include a file (through a wildcard or otherwise) that defines the custom insertion point.

The page fragment that will be inserted into the custom insertion point can be HTML or JavaScript code.

A page fragment must be named according to the following naming convention:

pageName.unique.insertion.point.txt

Replace pageName with the name of the HTML file without the HTML extension, unique with a unique identifier of your choosing, and insertion.point with the name of the insertion point. The file extension should be .txt.

Example
web_root/admin/example.html

HTML Page Fragment
web_root/admin/example.mypagefrag.my.insert.point.txt

Javascript Page Fragment
web_root/admin/example.mypagefrag.my.insert.point.txt