How to show incremental content/links on a different page?

Discussion in 'Templates customization' started by awebpro, Feb 13, 2010.

  1. awebpro

    awebpro New Member

    Joined:
    Aug 29, 2006
    Messages:
    3
    Is it possible to show the incremental content links on a different page outside of the aMember's script on the same website?

    Thanks,

    Dwayne
  2. davidm1

    davidm1 aMember User & Partner

    Joined:
    May 16, 2006
    Messages:
    4,437
    Yeah, you can use php:

    <?php
    /// place this at the very top of the page
    session_start();

    /// place this where you want the content displayed
    if ($_SESSION['_amember_links'])
    {
    echo "<ul>";
    foreach ($_SESSION['_amember_links'] as $link_id => $link)
    {
    echo "<li><a href=\"".$link['link_url']."\">".$link['link_title']."</a></li>";
    }
    echo "</ul>";
    }
    ?>


    David
  3. awebpro

    awebpro New Member

    Joined:
    Aug 29, 2006
    Messages:
    3
    Thanks David for the quick reply!

    I will give it a shot.

    Thanks again.

    Dwayne

Share This Page