Assembly
This section refers to the assembly of the service by the portal administrator, for the end user of the solution. There is no assembly of the administrative content environment for the content editor.
To use the service of Links to the social profile page of users, just instantiate it in a channel and drag its sole interface to the page that contains the contents with references to the usernames of users (ex: @intranet.joana) that are to be turned into links to a page configured to be the social profile of the users.
- Script for generating links to users' social profiles: This interface is responsible for calling the jquery plugin that renders and controls the service, and selects elements from the page to apply it to.
By default, the jquery plugin transforms all textual references to users' usernames in the format @<user.login> (ex: @intranet.joana), found in the elements selected by the query in the enableUserLinks template of the interface's xsl, into links with the user's name to the page configured in the service instance to display the social profile of the users.
This query, by default, selects all HTML elements with the class "lum-process-user-login
".
To perform more complex selections of which elements of the page should receive the rendering of the Link to the social profile service, one must customize the xsl of the interface of Script for generating links to users' social profiles by altering in the enableUserLinks template, the query that selects these elements.
```