12-21-2009 12:27 PM
<#– Look up page title from message bundles where possible –>
<#assign pageTitle = page.title />
<#if page.titleId??>
<#assign pageTitle = (msg(page.titleId))!page.title>
</#if>
<#if context.properties["page-titleId"]??>
<#assign pageTitle = msg(context.properties["page-titleId"])>
</#if>
<#if page.url.templateArgs.site??>
<#assign pageTitle = page.url.templateArgs.site + " « " + pageTitle>
</#if>
12-23-2009 05:37 AM
Also is there documentation somewhere on what variables alfresco makes available in freemarker templates (like the page object, for example)?
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.