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

Muut Archive Legend

@Muut · Joined 9 years ago · 18337 posts · 3878 topics · 137 reputation

Badges

✏️ First Post 💬 Conversation Starter ❤️ Well Liked

Recent posts

  • Next/Prev page vs Collections · 11 years ago

    hmmm… I dont thing that solves the problem of the @self.siblings collection. I have solved it like this, but it is not perfect as it is not universal: {% set folder = "/portfolio/"~page.parent.slug %}

  • Next/Prev page vs Collections · 11 years ago

    when I comment out dumps it show me sibling pages, but I cant go to next page (+1) or previeous page (-1)

  • Next/Prev page vs Collections · 11 years ago

    This doesn't work for me. it is causing exception https://www.dropbox.com/s/e9mf662jf4vazr0/Screenshot%202016-01-25%2017.16.44.png?dl=0

  • Next/Prev page vs Collections · 11 years ago

    What the above means is that you need to ask the Collection. {% set collection = page.collection %} {% for child in collection %} {{ dump(collection.isFirst(child.path))}} {{ dump(collection.pre

  • Next/Prev page vs Collections · 11 years ago

    Heh, that's wierd. Why to do things easy if it is possible to do them difficult. I want only simple link to next page.

  • Next/Prev page vs Collections · 11 years ago

    The Learn site has an example usage: https://github.com/getgrav/grav-theme-learn2/blob/develop/templates/docs.html.twig#L6-L19 which creates a Collection and iterates over it. page.isFirst(), page.isL

  • Next/Prev page vs Collections · 11 years ago

    Native collection @self.siblings excludes current page from the collection (according to docs). That is propably reason, why at least these methods are not working: page.isFirst(), page.isLast(), .pag

  • Next/Prev page vs Collections · 11 years ago

    Hey Guys, can you explain actual behavior of next/prev. Probably I do not understand the concept of collection or I'm doing something wrong. Functions like nextSibling still not working for me. My pa

  • [PAID] Need someone to install & configure GRAV with plugins · 10 years ago

    If anyone is interested I suggest PM'ing Rodolfo to keep any dealings out of the public eye :)

  • [PAID] Need someone to install & configure GRAV with plugins · 10 years ago

    I am looking someone with experience on installing and configuring GRAV with some plugins and themes...Please let me know, thanks!