-
- 1,098 Posts
Is it possible to order Siblingnav by a Template Variable (Date input type)?
I have tried other similar Snippets but no one order by TV.
-
- 5,888 Posts
not yet, but think its possible to add this feature.
-
- 1,098 Posts
Ok, let me know when it is available. Thank you!
-
- 43 Posts
Three years later, is it possible now, to show TV images with siblingnav?
@yulianita
-
- 24,544 Posts
Bruno, I tried SiblingNav for my Blog using 'publishedon' and 'createdon', but the values returned are seldom correct. The previous link, for example, almost always points to the first article I ever wrote. Maybe I'm doing something wrong.
I also think span tags with a class would have been a better choice than li tags for the default Tpl, since I suspect that more implementations would have the navigation on a single line than on consecutive lines.
-
- 5,888 Posts
@Yuliana Yepes
you can use fastField-tags in siblingNav-tpls for displaying image-TVs
-
- 5,888 Posts
@Bob
which snippet-call did you try?
-
- 24,544 Posts
[[!SiblingNav? &sortBy=`{"publishedon":"ASC","id":"ASC"}`]]
-
- 5,888 Posts
@Bob
Seem to get the correct order also for prev and next links
With this new version, you can get some debugging - infos with &debug=`1`, if that helps.
https://github.com/Bruno17/siblingnav/blob/master/core/components/siblingnav/model/siblingnav/siblingnav.class.php