CMS Ametys provides integrators with numerous methods accessible from XSLT files, facilitating the integration of user-related information.
For more information, click here.
Add this code to the header of XSL files:
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" ... xmlns:ametys="org.ametys.plugins.userdirectory.transformation.xslt.UserXSLTHelper" ... extension-element-prefixes="... ametys ...">
So that you can call any of the functions defined below, using "ametys:functionName(argument1, argument2)"
For example:
TODO
Description:
TODO
Result can be empty if TODO.
Signature :
String getUserContent(String lang, String userIdentity)
Arguments:
Name |
Type |
Description |
---|---|---|
lang |
String |
TODO |
userIdentity |
String |
TODO |
Example:
TODO
Description:
TODO
Result can be empty if TODO.
Signature :
String getCurrentUserContent(String lang)
Arguments:
Name |
Type |
Description |
---|---|---|
lang |
String |
TODO |
Example:
TODO
Description:
TODO
Result can be empty if TODO.
Signature :
String getCurrentUserPage(String lang)
Arguments:
Name |
Type |
Description |
---|---|---|
lang |
String |
TODO |
Example:
TODO
Description:
TODO
Result can be empty if TODO.
Signature :
String getUserPage(String contentId)
Arguments:
Name |
Type |
Description |
---|---|---|
contentId |
String |
TODO |
Example:
TODO
Description:
TODO
Result can be empty if TODO.
Signature :
String getUserPage(String contentId, String siteName)
Arguments:
Name |
Type |
Description |
---|---|---|
contentId |
String |
TODO |
siteName |
String |
TODO |
Example:
TODO