The HTML Fragment Include module that ships with mojoPortal content management system allows you to reference an HTML file on your site for inclusion on a page. This could be necessary for HTML markup that is not easily edited with the included WYSIWYG editors or, if there is a need to include javascript on a page and you don't want it to be included on every page by adding it to the layout.master of the skin.
To use the HTML Fragment Include feature:
-
Upload your HTML file to the \Data\Sites\[Site Number]\htmlfragments directory.
-
Add the feature to a page.
-
Click the Edit link next to the title of the module instance.
-
Select the HTML file you uploaded in step 1.
-
Click Update.