Muut Archive Legend
@Muut · Joined 9 years ago · 18337 posts · 3878 topics · 137 reputation
Badges
Recent posts
-
Collection::routable() unexpected error
· 10 years ago
In that case no. It's a Twig construct. Loops an entry just if the condition is met.
-
Collection::routable() unexpected error
· 10 years ago
Do I need to add a new {% endif %} too if I use an if in a for?
-
Collection::routable() unexpected error
· 10 years ago
Thank you. I am doing everything blind by just relying on the documentation and have no idea how to use PHP so all these methods, objects and syntax is highly confusing for me.
-
Collection::routable() unexpected error
· 10 years ago
Paul has the right of it but with a slight typo: {% for p in collection if p.routable == true %} ---
-
Collection::routable() unexpected error
· 10 years ago
Maybe you can try {% for p in collection if page.routable == true %}
-
Collection::routable() unexpected error
· 10 years ago
Help?
-
Collection::routable() unexpected error
· 10 years ago
Bump
-
Collection::routable() unexpected error
· 10 years ago
{% set collection = page.collection() %} {% set colcount = 0 %} {% block content %} <div class="container"> {% for p in collection %} {% if colcount == 0 %} <div
-
Collection::routable() unexpected error
· 10 years ago
I'm trying to make a list of things in 4-column rows, 16 per page. The code below splits pages every 16 entries, including skipped ones. I would like to prevent counting invisible pages. I found Colle
-
Showing categories instead tags
· 10 years ago
Thank you rhukster, I forgot the first tag on the second line. I'm always distracted!