From: Steve Sutton Date: Tue, 3 Mar 2015 16:53:58 +0000 (-0500) Subject: Update on amenities output X-Git-Tag: v1.0.0^2~47 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=19f7d544e16bd492c6d92af26b09c2ba790238f1;p=web%2FGaylordGolfMecca.git Update on amenities output --- diff --git a/Toolkit/Members/templates/memberDetail.tpl b/Toolkit/Members/templates/memberDetail.tpl index d610bee..3a5b8a0 100644 --- a/Toolkit/Members/templates/memberDetail.tpl +++ b/Toolkit/Members/templates/memberDetail.tpl @@ -13,11 +13,18 @@ catid="catid" /> {description:h}

- {if:amenities} - {foreach:amenities,amenity} - {amenity:h}, - {end:} - {end:} + amenities) { + $total = count($t->amenities); + //var_dump($total); + for ($index = 0; $index < $total; ++$index) { + echo $t->amenities[$index]; + if ($index != $total - 1) { + echo ', '; + } + } + } + ?>

Files Available for Download