Show Links to Affiliate Pages on Member.php Page

Discussion in 'Templates customization' started by sboben, Oct 25, 2006.

  1. sboben

    sboben New Member

    Joined:
    Oct 5, 2006
    Messages:
    48
    In my account pages, I'm creating a master left nav that will contain links to any products the user has purchased, plus links to the four affiliate pages. However, the links for the products purchased don't show up on any page other than member.html and the affiliate links only show up on affiliate pages.

    Here's the code I have for the products purchased. How can I alter this so that the list appears on pages OTHER than member.html?

    {if $smarty.session._amember_products}
    <h3>#_TPL_MEMBER_SUBSCR#</h3>
    <ul>
    {foreach from=$member_products item=p}
    <li>
    {if $p.url gt "" }
    <a href="{$p.url}">{$p.title}</a>
    {else}
    {$p.title}
    {/if}
    </li>
    {foreach from=$p.add_urls item=t key=url}
    <li><a href="{$url}">{$t}</a></li>
    {/foreach}
    {/foreach}
    </ul>
    {else}
    <h3>#_TPL_MEMBER_NO_SUBSCR#</h3>
    #_TPL_MEMBER_USE|<i>|</i>#<br />
    #_TPL_MEMBER_ORDER_SUBSCR#<br />
    {/if}

    Here's the code that generates affiliate page links on the affiliate pages, but not on (say) member.html. What can I do to make the links appear on any page?

    {foreach from=$left_member_links item=t key=u}
    <li> <a href="{$u|escape}">{$t}</a></li>
    {/foreach}

    I see the newletter list doesn't show on other pages either. If there's an easy way to make these dynamic lists show up on any page, I'll be glad to hear it.

    Thanks in advance.
  2. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    Please contact us via helpdesk.

Share This Page