2011-07-08, 01:44:32
You should be able to use the Page Caching plugin : http://get-simple.info/extend/plugin/page-caching/65/
It provides a global: $digi_pagesArray you can use in templates.
This array is in the format ["page"]["field"]
Not tested, I'm thinking you could use something like:
to generate your random page pieces.
-Rob A>
It provides a global: $digi_pagesArray you can use in templates.
This array is in the format ["page"]["field"]
Not tested, I'm thinking you could use something like:
Code:
$randomkeys = array_rand($digi_pagesArray,10);
foreach($randomkeys as $randomkey) {
echo $digi_pagesArray[$randomkey]["field_1"];
echo $digi_pagesArray[$randomkey]["field_x"];
}
to generate your random page pieces.
-Rob A>