Portal Theme Pages

The following pages are required for a basic Portal to function properly. All paths are relative to the Portal Theme root.

Most of the following pages are located in the root of the /pages directory, with the exception of the pages contained in the /errors directory. There are no requirements regarding the content of the following files; any one of them could be left blank without causing problems as long as they are not linked to. When rendered, these pages' data-models are supplemented with data structures specifically designed for the purpose connoted by the file's name.

Portal Theme Page URLs

Template File URL Pattern(s) Description
/pages/portal-home.ftl /portalPath/ Portal landing page.
/pages/searchResults.ftl /portalPath/search Search results page.
/pages/viewer.ftl /portalPath/viewer/*, /portalPath/content/* Viewer page for XML content in the context of other documents. For example, a DITA topic in the context of a DITA map, or a chunked section of a non-DITA XML document.
/pages/mapViewer.ftl (deprecated) /portalPath/viewer/*, /portalPath/content/* Viewer page for top-level embeddable content, such as XML, Markdown, and HTML fragments (no root <html> element.
Note: This page is deprecated, and should simply <#include> viwer.ftl. This template may be removed in a future release.
/pages/login.ftl /portalPath/login Login page for LDAP-based authentication.
/pages/assemblyViewer.ftl /portalPath/assembly/assemblyKey/ ToC view page of an assembly.
/pages/assemblyTopicViewer.ftl /portalPath/assembly/assemblyKey/topicId Viewer page for an entry in an assembly.
/pages/assemblyPreview.ftl N/A Template used to render the preview view of a topic in the assembly editor.
/pages/custom/*.ftl /portalPath/pages/* Custom pages.
/pages/error.ftl N/A Page used to present HTTP errors (404, 500, etc.).