Hi Malte,
Thank you for your answer.
I can't find any getPages() functions documentation here :
http://www.zenphoto.org/documentation-svn/elementindex.html
I'm trying the second option and build my own function.
In a customfunctions.php file I add this code (found elsewhere, I'm a php nightmare) :
`
function randomtxt()
{
$breves=array(
"$printPageContent($titlelink='titletink-of-the-text-01',$published=false);",
"$printPageContent($titlelink='titletink-of-the-text-02',$published=false);",
"$printPageContent($titlelink='titletink-of-the-text-03',$published=false);",
"$printPageContent($titlelink='titletink-of-the-text-04',$published=false);",
"$printPageContent($titlelink='titletink-of-the-text-05',$published=false);",
"$printPageContent($titlelink='titletink-of-the-text-06',$published=false);"
);
$num_breve=rand(0, sizeof($breves) );
echo $breves[$num_breve];
}
`
but (of course...) it doesn't work : printPageContent, titlelink and published are considered as Undefined variables.
Do you have any idea about it ?