Last Changed JotBox
Due to playing a little bit more with JotSpot, I now created ourselves a little last changed miniWindow for our Toolbar. I really like to know what is changing around me, so something like this should be on the main page or somewhere else. I opted for the Toolbar as there is an error message for people using the WYSIWYG editor on the main page otherwise.
The script is rather simple.
> <jot:miniWindow title=”Latest Changes” contentStyle=”font-size:8pt;” width=”80" hidden=”false”>
>
> <jot:search order=”editTime-” set=”nodeResult” limit=”5" forAll=”true” />
>
> <jot:loop over=”nodeResult” set=”node”>
>
> 1\. [[wiki:${node/path}][${node/name}]] (${node/time/relative} by ${node/user})
>
> </jot:loop>
>
> </jot:miniWindow>
Remember that the spaces are important. A 3 whitespace indent before the 1 will make this into a list going from 1 to 5 (due to the limit=”5") in the loop. You simply need to create this code in something like LastChangedBox within your Wiki and then include that in your Toolbar (simply click edit in the toolbar and it will be self explanatory). Bingo, you now have your last 5 changes pages, with the time from now and who changed them in your toolbar.

