Views random seed

Guilty as charged: I didn't really do much work on PM during the conference, but I ended up releasing a new version of Nodes in block and a new module called Views random seed for views 2. The module adds a random order handler with seed. If a constant integer argument N is specified in the sql RAND() function, it is used as the seed value, which produces a repeatable sequence of column values. This makes it possible to have paging and not having items show up twice.

See… for more info about RAND() and the optional integer argument.

Anyway, it was a cool week in DC and we're off to New York tomorrow, Turn on the Bright Lights!


mzenner on Tue, 17/03/2009 - 13:35

The views random seed module is really usefull when creating views for photocontests. Thanks Swentel!

Add reply

Plain text

  • No HTML tags allowed.
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.
Have you written a response to this? Let me know the URL by sending a webmention.