This week I re-discovered a technique for displaying a random item from a list using XSL. This can apply to both Content Query Web Parts (CQWP) and XSLT List View Web Parts (XLV) and is actually a very trivial piece of XSL.
The technique goes something like:
Get a count of how many items to . . . → Read More: Displaying a random list item with XSL
A little while ago I wrote how it was possible to create an XSLT List View Web Part that could be exported. Whilst this is very useful, I actually find myself using a similar technique more often for displaying an XLV for a list on a different site from where has been created.
For example, . . . → Read More: Creating an XSLT List View Web Part from a Different Site
Update 28/07/2011: This post is now part of a series consisting of several other bugs I’ve seen with the XSLT List View Web Part:
View settings lost on saved XSLT List View Web Part Content type enabled list XLV can’t be added to sites XSL Link Property and the ECB Menu (this post!) Multiple web . . . → Read More: XLV Bug: XSL Link Property and the ECB Menu
I recently posted about how to modify the default message that is displayed in an XSLT List View Web Part when there are no items to display. In the first post I modified some default parameters in the .webpart file, but I hinted that there is a better way… Well, having been reminded by a . . . → Read More: Overriding the no items message in an XLV
I’ve recently put up a couple of posts on the XSLT List View Web Part (XLV) following some fairly extensive digging into the possibilities for my current project. My other posts on exporting the XLV or modifying the default ‘no items’ message were (I hope!) useful – but nowhere near as useful as this tip/ . . . → Read More: Overriding the presentation of an XSLT List View Web Part