I am trying to figure out how to page through only the children of the top level section entry being displayed, I have looked at this question but as I say I am after only the children not the siblings.
Is there a prevChild() and nextChild() or something similar I can't see them in the docs.
Response to Bryan
So I would do something like:
{% set prevDatabyteSeries = entry.getChildren().first().getPrevSibling() %}
{% set nextDatabyteSeries = entry.getChildren().first().getNextSibling() %}
{% if prevDatabyteSeries %}
<a href="{{ prevDatabyteSeries.url }}" class="icon-alone paginate-arrow">
<i class="icon-arrow-left"></i>
</a>
{% endif %}
{% if nextDatabyteSeries %}
<a href="{{ nextDatabyteSeries.url }}" class="icon-alone paginate-arrow">
<i class="icon-arrow-right"></i>
</a>
{% endif %}
entry.getChildren().first()All references to entries, assets, categories, etc. is just that: references. They don't contain the actual elements, but an ElementCriteriaModel that can pull those elements. In this case, the children of your parent entry.
– Bryan Redeagle Jul 17 '14 at 13:48getNextSiblingandgetPrevSibling. You forgot thegetin the method name. Also, you should think about how your urls will look. This might send you to the sibling's full page which will need to handle the parent differently that how you seem to have in this example. – Bryan Redeagle Jul 17 '14 at 14:01entry.getChildren().first().prevSibling()is never going to find anything - you are asking for the one before the first one. – Marion Newlevant Jul 17 '14 at 14:08paginateinstead. It would keep the parent entry on each page that way. You may have to set up a route for it to work, but I'm not positive on that. – Bryan Redeagle Jul 17 '14 at 14:22paginateoption next. – Gareth Jul 17 '14 at 14:48