11-25-2013 09:33 AM
<module>
<id>Site Members Extension</id>
<auto-deploy>true</auto-deploy>
<!– Enhance individual WebScripts when their paths match –>
<customizations>
<customization>
<targetPackageRoot>org.alfresco.components.dashlets</targetPackageRoot>
<sourcePackageRoot>mycustoms.components.dashlets</sourcePackageRoot>
</customization>
</customizations>
</module>
11-25-2013 10:26 AM
11-25-2013 12:03 PM
11-25-2013 01:10 PM
11-25-2013 02:32 PM
<component>
<region-id>component-1-1</region-id>
<source-id>site/${siteid}/dashboard</source-id>
<scope>page</scope>
<uri>/components/dashlets/colleagues</uri>
</component>
</components>
<module>
<id>Site Members Extension</id>
<auto-deploy>true</auto-deploy>
<!– Enhance individual WebScripts when their paths match –>
<customizations>
<customization>
<targetPackageRoot>org.alfresco.components.dashlets</targetPackageRoot>
<sourcePackageRoot>org.alfresco.components.dashlets</sourcePackageRoot>
</customization>
</customizations>
</module>
<@markup id="list-item-person">
<h3><a href="${url.context}/page/user/${m.authority.userName?url}/profile" class="theme-color-1"><span sip=${m.email?html}></span>${m.authority.firstName?html} <#if m.authority.lastName??>${m.authority.lastName?html}</#if></a></h3>
</@markup>
<import resource="classpath:/alfresco/templates/org/alfresco/import/alfresco-util.js">
//Prepare the model
model.memberships = memberships;
model.totalResults = totalResults;
model.maxResults = maxItems;
model.userMembership = AlfrescoUtil.getSiteMembership(page.url.templateArgs.site);
var memberships = model.memberships;
for (var i = 0; memberships.length > i; i++ ) {
var membership = memberships;
var profile = user.getUser(membership.authority.userName)
membership.email = profile.email;
membership.current = user.name == membership.authority.userName;
11-25-2013 03:05 PM
11-26-2013 01:05 AM
<#– LIST - ITEM - PERSON –>
<@markup id="list-item-person" action="replace">
<h3><a href="${url.context}/page/user/${m.authority.userName?url}/profile" class="theme-color-1"><span sip=${m.email?html}></span>${m.authority.firstName?html} <#if m.authority.lastName??>${m.authority.lastName?html}</#if></a></h3>
</@markup>
<component>
<region-id>component-1-1</region-id>
<source-id>site/${siteid}/dashboard</source-id>
<scope>page</scope>
<uri>/components/dashlets/colleagues</uri>
</component>
</components>
11-26-2013 03:10 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.