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.
<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>
<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;
<#– 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>