bwoodsdesign, on Sep 10 2005, 09:52 PM, said:
Ok. My parent folder is 105 and has children (2 so far, more on the way) and I have placed the call for the snippet as [!ListDocuments?ids=105!] in the calling document. I still get an error code...albeit a different one:
Parse error: parse error, unexpected ',' in /home/.caboodle/bwoodzy/bwoodsdesign.com/index.php(554) : eval()'d code on line 67
I am still not sure what I'm doing wrong.
I'm guessing that there may be a problem with reading the snippet code... As submitted the code has several function calls formatted like:
$fields = '
id,
pagetitle,
description,
content,
createdon,
createdby
';
this one starting on line 67... These multi-line function calls may be the problem... Try modifying these lines to be more like:
$fields = 'id,pagetitle,description,content,createdon,createdby';
to see if this makes any difference... It's worth a shot, anyway...