Page 1 of 1

Make a permanent "See all..." link.

Posted: Sun Aug 07, 2011 9:23 pm
by norman
It is possible to have a See All link going to the parent section at the top of each list. Here's how:

For a second level "See all...", look for the first occurrence of:

Code: Select all

	$am_listindex = <actinic:variable name="ListIndex" selectable="false" />;
Immediately after that add:

Code: Select all

	if ( $am_listindex == 1 )
		{
		echo "<li><a class=\"am-secondseeall\" href=\"$am_2nd_parentlink\">$am_2nd_maxprefix$am_2nd_parentname</a>";
		}
For a third level "See all...", look for the second occurrence off:

Code: Select all

		$am_listindex = <actinic:variable name="ListIndex" selectable="false" />;
Immediately after that add:

Code: Select all

			if ( $am_listindex == 1 )
				{
				echo "<li><a class=\"am-thirdseeall\" href=\"$am_3rd_parentlink\">$am_3rd_maxprefix$am_3rd_parentname</a></li>";
				}