Content last modified Monday 3 September 2018
hop to #bottom
Categories:
Author:
Author's website
About It:
Rate it:
  • Helpful?
  • 1 Yes
  • 0 No
Flag it:

If you'd like to provide updated information and do not have access to directly edit, please contact the site admin; thanks!

Random articles

The ability to call a random article is already built into the txp:article_custom tag, with the attribute sortby="rand()".

e.g.
<txp:article_custom form="form_of_your_choice" limit="4" sortby="rand()" sortdir="desc" />

You can also call this attribute from the txp:chh_article_custom plugin.

furthernote:
It is now also possible to call random articles with Rob Sable’s rss_suparchive .

Article Request Count:

Archived [?]: functionality now in core. "sort" replaces sortby and sortdir

Posted here:
03 Mar 2005

You know you want to visit the Archives.
Published with Textpattern