Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Google Sign In with OpenID

Developer Events Tutorial Documentation Errors

edited May 2012 in Documentation
<ul>
{% foreach events %}
    <li>{{ loop_value.date|strtotime|gmdate('M j', %s) }} - {{ loop_value.title }}</li>
{% end %}
</ul>

This isn't correct. It should be

<ul>
{% foreach events %}
    <li>{{ loop_value->date|strtotime|gmdate('M j', %s) }} - {{ loop_value->title }}</li>
{% end %}
</ul>

Comments

Sign In or Register to comment.