No link on memberships

Discussion in 'Troubleshooting' started by lightermanau, Jan 22, 2008.

  1. lightermanau

    lightermanau New Member

    Joined:
    Dec 9, 2007
    Messages:
    20
    Hi,
    I am just testing my site. When I log in and it brings up mt membership information there is no link to click to continue into the members area:confused:

    How do I get the link?
  2. lightermanau

    lightermanau New Member

    Joined:
    Dec 9, 2007
    Messages:
    20
    Never mind I worked it out.

    Now I just want to know how to stop the title duplicating on the members page. One is just text and directly below it is the clickable link. Other people's sites that I have seen just have the clickable link
  3. lightermanau

    lightermanau New Member

    Joined:
    Dec 9, 2007
    Messages:
    20
    I am running a trial version on my pc and am having a little problem.

    How do I stop the title duplicating on the members page.

    One is just text and directly below it is the clickable link.

    Other people's sites that I have seen just have the clickable link.

    Any suggestions please
  4. lightermanau

    lightermanau New Member

    Joined:
    Dec 9, 2007
    Messages:
    20
    Here is a screen print of the problem
  5. davidm1

    davidm1 aMember User & Partner

    Joined:
    May 16, 2006
    Messages:
    4,437
    You need to edit the file template/member.html
    Section:

    <!-- display links to protected areas for customer -->
    {if $smarty.session._amember_products}{* Customer have active subscriptions, display it if config allows *}
    <h3>#_TPL_MEMBER_SUBSCR#</h3>
    <table><tr><td><ul> <!-- table to align subscriptions -->
    {foreach from=$member_products item=p}
    <li>
    {if $p.url gt "" }
    <a href="{$p.url}">{$p.title}</a>
    {else}
    <b>{$p.title}</b>
    {/if}
    </li>
    {foreach from=$p.add_urls item=t key=url}
    <li><a href="{$url}">{$t}</a></li>
    {/foreach}
    {/foreach}
    </ul></td></tr></table>
    {else}{* Customer doesn't have any active subscriptions *}
    <h3>#_TPL_MEMBER_NO_SUBSCR#</h3>
    #_TPL_MEMBER_USE|<i>|</i>#<br />
    #_TPL_MEMBER_ORDER_SUBSCR#<br />
    {/if}
    <br />
    <table><tr><td>
    {foreach from=$left_member_links item=t key=u}
    <li> <a href="{$u|escape}">{$t}</a></li>
    {/foreach}
    </td></tr></table>
    <!-- end of display links to protected areas for customer -->
  6. lightermanau

    lightermanau New Member

    Joined:
    Dec 9, 2007
    Messages:
    20
    Well I copied and pasted your code above but it didn't make any difference
  7. davidm1

    davidm1 aMember User & Partner

    Joined:
    May 16, 2006
    Messages:
    4,437
    Like I said- you need to edit the code-

    Try removing this line
    <b>{$p.title}</b>

    David
  8. lightermanau

    lightermanau New Member

    Joined:
    Dec 9, 2007
    Messages:
    20
    Thank you. I don't know anything about php. It's all new to me that's why I'm trying it out on my pc first.

Share This Page