From: jeroen De Dauw <jeroen_dedauw@ya...> - 2010-02-22 13:26:51
Is there a way to get a sort of "previous and next button" functionality for a certain group of pages in SMW? An example of this would be a category containing events, where each event page will then have a link to the previous and next one, based on start or end date. You can get a single page by doing a query with some offset and limit=1, but I'm not aware of a way to get the 'number of result' of the current page, which is needed for determining the offset value.
Jeroen De Dauw
* Wiki: wiki.bn2vs.com
* Blog: blog.bn2vs.com
* Skype: rts.bn.vs
Don't panic. Don't be evil.70 72 6F 67 72 61 6D 6D 69 6E 67 20 34 20 6C 69 66 65!