This isn't a dynamic method but for now it's going to have to work for me, since I need to get my store up and this is the only thing hold me back, since i've got a ton affiliates already from using older version of zen cart..
I just wanted to pass this along if someone else needed to add multiple banners of the same size. I updated the tpl_referrer_tools_default.php file. Instead of having the banners generated dynamically, i'm just adding them in manually with the below code repeating and adding in the image page, sizing and banner sizing info.
<div class="imagewrap"><div class="imagetitle">Banner Size Goes Here</div>
<img class="referrer_image" src="banner image path here" width="banner width here" height="banner height here" alt="Your image alt-text here" />
<br />
<textarea rows="3" cols="1"><a href="http://your store url&referrer=<?php echo $referrer->fields['referrer_key']; ?>"><img src="banner image path here" width="banner width here" height="banner height here" alt="Your image alt-text here" /></a>
</textarea>
<br />
</div>
for anyone interested, the above code is replacing
<p><?php echo TEXT_BANNERS; ?></p>
<?php
foreach ($snap_banners as $current_banner) {
echo get_referrer_image($current_banner['width'], $current_banner['height'], $current_banner['name']);
}
}
?>
you also must delete lines 54-56:
<?php
if (is_array($snap_banners) && count($snap_banners) != 0) {
?>
Sorry for the hack up job but, time is important right now. When I have more time, i'm going to look into a dynamic fix if one hasn't been worked out by the time I get around to it :o)