I have a document type as a listview with multiple types of documents type children. I wish to add a next and previous button to each post. The issue I have had is when using:
They looped so the latest post would then point to the oldest post (for next) and some where in the wrong published order ie where added after the date wanted so end up in the wrong order for the end user.
Which worked kind of as this limited it to one documentype any suggestions where I can allow all documentypes (or even specify multiple documentypes would be fine) that would work off the date property of the document?
Next and previous pages in date order
I have a document type as a listview with multiple types of documents type children. I wish to add a next and previous button to each post. The issue I have had is when using:
They looped so the latest post would then point to the oldest post (for next) and some where in the wrong published order ie where added after the date wanted so end up in the wrong order for the end user.
I then tried:
Which worked kind of as this limited it to one documentype any suggestions where I can allow all documentypes (or even specify multiple documentypes would be fine) that would work off the date property of the document?
Hi William,
The syntax for specify multiple documentypes in the where is looks something like this:
So you could try something like this
Hope this helps,
/Dennis
Thanks that works altered slightly:
is working on a reply...