12-19-2007 02:04 PM
<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>
12-20-2007 06:32 PM
<#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.
 
					
				
		
01-16-2008 12:14 PM
07-02-2008 11:18 AM
 
					
				
		
07-08-2008 10:53 AM
 
					
				
		
04-27-2009 06:50 AM
 
					
				
				
			
		
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.