Components installed with CTC
When we install Content Template Catalog, you receive several types of components.
- Content libraries
- An application containing the plugins, text providers, context processors, and JSPs
- A set of portal assets including page templates, pre-configured portlets, and theme extensions that enhance the base Portal theme with options particularly suited to content-rich websites delivered on a variety of mobile devices
- A set of configuration parameters added during the installation
The following illustration shows how the components are organized.
Context Processors
- PostBodyContextProcessor
- This is used in Dynamic Post-Body portlet. This context processor will look for a link element named Post Body and sets this linked content as the content to render.
- SidebarContextProcessor
- This is used in Dynamic Sidebar portlet. This context processor will look for a link element named Sidebar and sets this linked content as the content to render.
JSP files
The CTC JSP files are located at WP_PROFILE/installedApps/CTC.ear/ctc.war/jsp.
These JSP files are often customized:
- footer.jsp
- The footer of the page which is created by scanning the pages in the site.
- nav.jsp
- The popup navigation menu which is created by scanning the pages in the site.
Further information is found in the JSP files themselves.
Any customization of JSP files should be made by copying the JSP to a new Web application and referencing these JSP files from the content. Otherwise, the changes will have to be reapplied whenever CTC is upgraded.