[Radiant] <r:random> and page children

Giovanni Intini intinig at gmail.com
Wed Sep 13 11:55:53 CDT 2006


I tried to get a random child's title from a page using this code, but it
doesn't work because it gives the title of the current page and not of the
child. Is there a way to get a random page?

<r:random>
  <r:children:each>
    <r:option><r:title /></r:option>
  </r:children:each>
</r:random>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.radiantcms.org/pipermail/radiant/attachments/20060913/5e0ea3aa/attachment.html


More information about the Radiant mailing list