Adding a Content Profile
To add a content profile to a publication:
-
Open the publication's
WEB-INF/classes/com/escenic/servlet/plugin-config/com/escenic/framework/content/profile/ContentProfileProcessor.properties
file for editing. -
Add an entry like this:
contextPathSuffix.name=context-path
where name is the name of your new content profile (
newsletter
for example) and context-path is its context path (newsletter
for example). All output generated with this profile will then have the specified suffix appended to the publication URL (givinghttp://
publication-name/newsletter
, for example). -
Define the name of the new content profile's root template by adding a section parameter like this to your publication's root section:
wf.contentprofile.name.rootConfig=config.name
where name is the name of your new content profile (
newsletter
for example). -
Optionally, you can also specify the wireframe for your new content profile by adding a second section parameter:
wf.contentprofile.name.wireframe=wireframe
where wireframe is the name of the wireframe you want to use. If you do not specify this parameter then the new content profile will use the default wireframe.