Incremental content show groups only?

Discussion in 'Integration' started by evevera, Apr 21, 2011.

  1. evevera

    evevera Member

    Joined:
    Jul 28, 2010
    Messages:
    41
    Is there a way to show groups of incremental content only? There are Link groups, i was wondering if I make it so it only shows links by Link group to subscribers.

    Katie
  2. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    It already should be on /amember/plugins/protect/incremental_content/index.php
  3. evevera

    evevera Member

    Joined:
    Jul 28, 2010
    Messages:
    41
    You mean this?

    <?php
    session_start();
    if ($_SESSION['_amember_links'])
    {
    echo "<ul>";
    foreach ($_SESSION['_amember_links'] as $link_id => $link)
    {
    echo "<li>&lta href=\"".$link['link_url']."\">".$link['link_title']."</a></li>";
    }
    echo "</ul>";
    }
    ?>

    I think this just displays ALL th elinks, I need want it to display links by link groups.
  4. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
  5. evevera

    evevera Member

    Joined:
    Jul 28, 2010
    Messages:
    41
  6. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    Ok. Where you want to show groups? In php file or in aMember template?

Share This Page