I am running EE 1.6.8 and ffmatrix 1.3.5 with bulk addon 0.5.1 with fieldframe 1.4.2. I am trying to show rules and coupons which are each entered in different fields within the matrix, without a limit on the matrix rows. No matter what i do, offset=”…” limits … nothing works to pull in only the info for that one row. it either pulls in both, none, or the same for both. below you will see an attached picture of how my matrix is set up and the code i use to pull the info. I need this by 2pm mst Tuesday may 25!!! please, someone help!!!
below is the code that pulls in the coupon and rules into a new page:
{exp:weblog:entries weblog="center_content" dynamic="off" limit="1" url_title="{selected_mall}"}
{promotions}
<div id="rewards">
<table class="rewards">
<tr>
<td class="imageContainer">
{exp:imgsizer:size src="{image}" width="175" alt="{title}"}
</td>
<td>
<h2>{title}</h2>
{description}
{if coupon}
<a >Print Coupon</a>
{/if}
{if rules}
<a >Rules</a>
{/if}
</td>
</tr>
</table>
</div> <!-- END REWARDS DIV -->
{/promotions}
{/exp:weblog:entries}below is how i am displaying the coupon:
{exp:weblog:entries weblog="center_content" dynamic="off" limit="1" url_title="{selected_mall}"}
<table class="printableReward">
<tbody>
<tr>
<td class="left" valign="top" align="left" >
{exp:imgsizer:size src="{center_logo}" width="179" alt="{title}"}
{center_location}
{center_street}
{center_city}, {center_state} {center_zip}
{center_phone}
{center_email}
{/center_location}
</td>
<td class="right" valign="top" align="right">
{promotions offset="1" limit="1"}
<h2>{title}</h2>
{coupon}
{/promotions}
</td>
</tr>
<tr>
<td class="left">
{if logged_in}
<a >Print Coupon</a>
{/if}
</td>
</tr>
</tbody>
</table>
{/exp:weblog:entries}and last below is how i’m displaying the rules which worked for a bit and now doesn’t!:
{exp:weblog:entries weblog="center_content" limit="1" dynamic="off" url_title="{selected_mall}"}
{promotions offset="1" limit="1"}
<div class="rules">{rules}</div>
{/promotions}
{/exp:weblog:entries}
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.