Hi guys, I'm doing this thing where i need to show only newest available link. Is there any way to do it, or some custom code that i could use to achieve this functionality. Thanks!
Is this on a php page? You will need a bit of custom code written to do this. The basic code to display incremental content is: <?php session_start(); 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
Hi David, Yes, exactly, it's on php page. I guess i could use that code, but i will need it to show only ONE link, the most recent one that became available for customer...And this code will show all links. So I guess i need to add some kind of condition statement which would look for the highest link_id number in database. Any idea where i could put that? Thanks!