No, it appears I spoke to soon.
I have two identical ditto calls on different pages, but calling to different folders. However, one returns three results and one returns one result. The one that returns three results works fine, but the one that returns a single result doesn’t.
The ditto call contains:
&start=`3` &tplFirst=`eventsListTplFirst` &tplLast=`eventsListTplLast` &tpl=`eventsListTpl`
What seems to be happening is that, where there is only a single result, &tplLast takes precedence over &tplFirst and over &tpl and so I don’t get the html associated with &tplFirst.
So, because &tplFirst contains the following:
<h3>Further Events</h3>
<ul>
<li><a href="[~[+id+]~]" title="[+pagetitle+]">[+pagetitle+]</a></li>
and &tplLast contains:
<li><a href="[~[+id+]~]" title="[+pagetitle+]">[+pagetitle+]</a></li>
</ul>
when there is only a single result returned, I don’t get the heading or the beginning <ul> of the list.
I can get around that by leaving out &tplLast and then putting the </ul> outside of the ditto call, but then if I have zero results returned, I have a dangling </ul>.
So, I misdiagnosed the problem in the original question. &start isn’t to blame. It’s trying to get the html contents of &tplFirst and &tplLast in a list with a single item.
Anyone suggest any solutions?