Skip to content
Grav 2.0 is officially stable. Read the announcement →
Archive

nextSibling() issues

Started by Muut Archive 10 years ago · 0 replies · 395 views
10 years ago

I'm stuck on an issue that I posted in Github, if anyone has idea's it would be much appreciated :
https://github.com/getgrav/grav-learn/issues/344

I looked at dump(page) and it has a path attribute set to :

path: "/home/pz/Code/pp/user/pages/02.news"

When I look at the source code I see that nextSibling will return $this if the path is not in the collection so it looks like the current page object only holds one item. What's not obvious is that I have another taxonomy which does render a complete collection with the twig template.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1662 9 years ago
Archive · by Muut Archive, 9 years ago
2 1123 9 years ago
Archive · by Muut Archive, 9 years ago
2 4282 9 years ago
Archive · by Muut Archive, 9 years ago
1 3162 9 years ago
Archive · by Muut Archive, 9 years ago
3 1286 9 years ago