Timeline for Targeting entries in a structure
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 30, 2014 at 18:53 | vote | accept | eek-a-edge | ||
Sep 30, 2014 at 18:17 | comment | added | eek-a-edge |
thx.. it did it like this {% for entry in craft.entries.section('offices').level(2) %} {% if entry.dayOfEvent == "now" | date("l") %} {# output #} {% endif %} {% endfor %}
|
|
Sep 30, 2014 at 17:05 | history | edited | Peter Tell | CC BY-SA 3.0 |
added 580 characters in body
|
Sep 30, 2014 at 16:58 | comment | added | Peter Tell | Sure. So, there's a number of ways you could handle this, but one way using the above method would be use a featured Drop down field instead. I've updated the answer with this use case. | |
Sep 30, 2014 at 15:17 | comment | added | eek-a-edge | thx for your input, great idea, but the openings hours will be visible for certain days in the week. Monday > Albuquerque, Tuesday > Boston, etc.. | |
Sep 30, 2014 at 15:00 | history | answered | Peter Tell | CC BY-SA 3.0 |