When two pages have a space (" ") in their name, ListPages doesn't order them properly when sorting by Title.
This is the module code I tried:
[[module ListPages category="data" parent="=" tags="=" order="title desc" range="after" limit="1"]]
PREV: %%title_linked%%
[[/module]]
[[module ListPages category="data" parent="=" tags="=" order="title" range="after" limit="1"]]
NEXT: %%title_linked%%
[[/module]]
I posted information in the forum as well:
http://community.wikidot.com/forum/t-1603556/listpages-problem-with-titles
As posted on the community :
the range and order parameter are false.
Prev: range="before" order="title"
Next: range="after" order="title desc"
See also the original csi - scrollbar on http://csi.wikidot.com/include:scrollbar ( the source! )
The tested version of the data:_template ( rev 65) was
This is clearly wrong - the arguments " {$selector} " or "{$order}" arew not needed and the parameter in both Module calls arew wrong.
use :
Service is my success. My webtips:www.blender.org (Open source), Wikidot-Handbook.
Sie können fragen und mitwirken in der deutschsprachigen » User-Gemeinschaft für WikidotNutzer oder
im deutschen » Wikidot Handbuch ?
Unfortunately, your suggested code does not give the desired result. Combining order="title" and range="before" just gives the first entry in the List, not the one that comes just before the current page. I have since removed the selector and order parameters as seen in the CSI scrollbar example.
You can easily see the problem if you Edit this page: http://soulslore.wikidot.com/data:old-hunter-madman-wallar.
The PREV text on this page (shown by the template) is correct, but uses the page name right now. So it gives the result "Old Hunter Henriett". I would like to change that to order by title, but something is weird with how ListPages sort when spaces are in the name.