[!Ditto? &documents=`[[SnippetToGetSequence? &start=`78` &end=`90`]]` ....rest of ditto call...!]
[!Wayfinder &startId=`put parent ID here` &includeDocs=`[[SnippetToGetSequence? &start=`78` &end=`90`]]`!]
<?php
$start = (isset($start) && is_numeric($start)) ? $start : '';
$end = (isset($end) && is_numeric($end)) ? $end : '';
$output = '';
if(($start != '') && ($end != '')){
foreach(range($start, $end) as $num){
$output .= $num.',';
}
$output = rtrim($output, ',');
}
return $output;
?>78,79,80,81,82,83,84,85,86,87,88,89,90