Changes for page User Directory
Last modified by Ecaterina Valica on 2016/11/17 15:21
From version 18.1
edited by Ecaterina Valica
on 2016/11/17 15:21
on 2016/11/17 15:21
Change comment:
Install extension [org.xwiki.platform:xwiki-platform-user-directory-ui-8.2.1]
To version 1.1
edited by JeromeVelociter
on 2010/03/02 08:45
on 2010/03/02 08:45
Change comment:
There is no comment for this version
Summary
-
Page properties (7 modified, 0 added, 0 removed)
-
Objects (0 modified, 0 added, 1 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,0 @@ 1 -$services.localization.render('xe.userdirectory.title') - Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki.e valica1 +xwiki:XWiki.JeromeVelociter - Default language
-
... ... @@ -1,0 +1,1 @@ 1 +en - Syntax
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki 2. 11 +XWiki 2.0 - Hidden
-
... ... @@ -1,1 +1,1 @@ 1 - true1 +false - Content
-
... ... @@ -1,6 +1,30 @@ 1 -{{include reference='XWiki.UserDirectoryMacros'/}} 1 +{{velocity}} 2 +#set($collist = ["_avatar", "first_name","last_name", "doc.creationDate"]) 3 +#set($colprops = { 4 + "_avatar" : { "type" : "text" , "size" : 30, "link" : "view"}, 5 + "first_name" : { "type" : "text", "link" : "view"}, 6 + "last_name" : { "type" : "text", "link" : "view"}, 7 + "doc.creationDate" : { "type" : "text", "link" : "none"} 8 + }) 9 +#set($options = { "translationPrefix" : "xe.index.", 10 + "rowCount": 15, 11 + "description": "This table lists all the documents found on this wiki. The columns can be sorted and some can be filtered." }) 12 +#livetable("alldocs" $collist $colprops $options) 13 +{{/velocity}} 2 2 3 3 {{velocity}} 4 -#displayUserDirectory(true) 5 -#set($docextras=[]) 16 +#set($collist = ["_avatar", "first_name","last_name", "doc.creationDate"]) 17 +#set($colprops = { 18 + "_avatar" : { "type" : "text" , "size" : 30, "link" : "view"}, 19 + "first_name" : { "type" : "text", "link" : "view"}, 20 + "last_name" : { "type" : "text", "link" : "view"}, 21 + "doc.creationDate" : { "type" : "text", "link" : "none"} 22 + }) 23 +#set($options = { "translationPrefix" : "xe.index.", 24 + "rowCount": 15, 25 + "description": "This table lists all the documents found on this wiki. The columns can be sorted and some can be filtered." }) 26 +#livetable("alldocs" $collist $colprops $options) 6 6 {{/velocity}} 28 + 29 + 30 +
- XWiki.JavaScriptExtension[0]
-
- Caching policy
-
... ... @@ -1,1 +1,0 @@ 1 -long - Code
-
... ... @@ -1,41 +1,0 @@ 1 -(function(){ 2 - 3 - /** 4 - * Init 5 - */ 6 - function init() { 7 - var userScope = $('userScopeFilter'); 8 - if (userScope === null) { 9 - // Nothing to do 10 - return; 11 - } 12 - userScope.observe('change', onUserScopeChange); 13 - } 14 - 15 - function onUserScopeChange(event) { 16 - var value = $('userScopeFilter').value; 17 - var livetable = window["livetable_userdirectory"]; 18 - var url = livetable.getUrl; 19 - if (url.search("userScope=") >= 0) { 20 - // Replace the old value 21 - if (value == 'local') { 22 - url = url.replace("userScope=global", "userScope=local"); 23 - } else { 24 - url = url.replace("userScope=local", "userScope=global"); 25 - } 26 - } else { 27 - url = url + "&userScope=" + value; 28 - } 29 - livetable.getUrl = url; 30 - // Reload the livetable 31 - livetable.clearCache(); 32 - livetable.showRows(1, livetable.limit); 33 - } 34 - 35 - /** 36 - * Call Init 37 - */ 38 - (XWiki && XWiki.domIsLoaded && init()) || document.observe("xwiki:dom:loaded", init); 39 - 40 -})(); 41 - - Use this extension
-
... ... @@ -1,1 +1,0 @@ 1 -onDemand - Name
-
... ... @@ -1,1 +1,0 @@ 1 -Dynamic filter for user scope - Parse content
-
... ... @@ -1,1 +1,0 @@ 1 -No