UserList macro
Description
The UserList macro creates a list of all known users. It automatically creates anchors and navigation links to the top and bottom of the list, and it can optionally divide the users into multiple divs (read columns).
The list is in alphabetical order, the first letter is used as a subtitle, empty subtitles are omitted.
Note: this does not work with MoinMoin 1.3, see macro/UserList2.py.
Download & Release Notes
Download |
Release Version |
Moin Version |
Release Notes |
|
1.9.3 or since revision 9fbcd746f135 |
|
|
|
1.8.1 |
change to use browser.render(method="GET") browser.format is the replacement for browser.toHTML |
|
|
1.7.1 |
based on admin.do_user_browser (no magic currently) |
|
|
1.2 |
|
Syntax
The syntax for a simple UserList:
<<UserList>>
Using multiple divs:
<<UserList(div1, div2, div3)>>
See source code for more details. Download UserList.py.
AnttiKuntsi -- 2004-06-14
I tried the lastest macro at 1.9.2 but got below error msg:
<<UserList: Execute Fail [setData() got an unexpected keyword argument 'sort_columns'] (see also the log)>>
- any comment? -- Numoone
this paramter sort_columns is valid for 1.9.3 or since revision 9fbcd746f135. if you don't want 'sort_columns' remove it browser.setData(data) -- ReimarBauer 2010-03-31 12:35:16
- any comment? -- Numoone
AveNet -- 2024-11-26
<<UserList: Ausführung fehlgeschlagen ['module' object has no attribute 'data_dir'] (siehe auch die Log-Datei)>>
UserList.py is correctly saved in moin/wiki/data/plugin/macro --what is wrong ? We use moin1.9.2
This macro requires 1.9.3 (we haven't released 1.9.3 yet, but will do soon). This is bacause of the sorting feature added to the DataBrowerWidget. This is not the explanaition for the line you showed. Please show me the content of the Log-Datei. -- ReimarBauer 2010-05-19 16:59:58