Separating banners and links on affiliate pages

Discussion in 'Templates customization' started by davidperkins, Jul 10, 2009.

  1. davidperkins

    davidperkins New Member

    Joined:
    Jul 10, 2009
    Messages:
    1
    I'm building my first membership website and aMember is everything I heard it would be... including a learning curve! Thanks for a great product.

    I have added some links and banners to the affiliate page on the site and when they are viewed... they have NO spacing between them.

    See them here: http://www.internationalmastermind.net/amember/aff.php?action=links

    I'm pretty good with regular old HTML but all this php code is a bit over my head!

    How do I include some spacing between each link and between each banner... and also, spacing between the links and the banners as groups.
  2. davidm1

    davidm1 aMember User & Partner

    Joined:
    May 16, 2006
    Messages:
    4,437
    They cant be seen, as we arent logged in...

    You need to edit the template:
    aff_links.html

    {if $banners}
    <b>#_TPL_AFFILIATE_BANNERS#</b><br />
    {foreach from=$banners item=l}
    {$l.code}</a><br />
    <small><b>#_TPL_AFFILIATE_HTML_CODE#</b> <font color=blue>{$l.code|escape:html}</font><br /></small>
    {/foreach}
    {/if}

    Add a <br /> to the code to add additional spacing.


    David

Share This Page