As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
<table> <#assign l_space = companyhome.childByNamePath["Corporate/News and Announcements"]> <#list l_space.children as doc> <#if doc.isDocument> <tr> <td> <a class="title" href="/alfresco/${doc.url}">${doc.properties.title}</a></td> </tr> <tr> <td style="padding-left:8px"> <#if (doc.content?length > 500)> <small>${doc.content[0..30]}…</small> <#else> <small>${doc.content}</small> </#if> </td> </tr> <tr><td> <HR> </td></tr> </#if> </#list> </table>
<#assign isImage=node.isDocument && (node.mimetype = "image/gif" || node.mimetype = "image/jpeg" || node.mimetype = "image/png")> <table width="690" cellpadding="2" cellspacing="0" border="0" onclick="event.cancelBubble=true;"> <tr> <td> <div class="spacePreview"> <#if node.isDocument && !isImage> <#assign c=cropContent(node.properties.content, 2048)> <#if c?length != 0> ${c?html?replace('$', '<br>', 'rm')}<#if (c?length >= 2048)>…</#if> <#else> Sorry, no preview currently available for this document. </#if> …
Error during processing of the template 'Expression cropContent is undefined on line 20, column 14 in alfresco/templates/press_releases.ftl.'. Please contact your system administrator.