Not sure if I am misunderstanding the way this works…
I’ve been reading the docs at http://expressionengine.com/public_beta/docs/development/usage/template.html
I have followed this in the example below, and am getting results back, but the total_results tag is being shown for each loop, suggesting that I haven’t got my array of “properties” set up right, since it’s outside this loop and I thought it should have only been shown once, followed by all the properties.
{exp:rentpro:search}
{total_results} results
{properties}
<strong>ID {property_id}:</strong> {address1}<br>
{address2}<br>
{town}<br>
{county}<br>
{postcode}<br>
<hr>
{/properties}
{/exp:rentpro:search}Am I understanding this right? Should I be able to get the following:
3 results
Property 1 (shortened for clarity)
Property 2
Property 3What I am actually seeing is:
3 results
Property 1 (shortened for clarity)
3 results
Property 2
3 results
Property 3Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.