on the demo site primary links works but on the tarball.
quick fix for those who can not get primary links work on page.tpl.php

change

<?php if (is_array($secondary_links)) { ?>
  	<?php $i = 0;foreach ($secondary_links as $link) : if ($i==0) {?>
			<?php
			} else {?>
			<?php
			}?><?php print $link ?>
        <?php $i++; 
	             endforeach; ?>
      <?php } ?>

to

<?php if (is_array($primary_links)) { ?>
  	<?php $i = 0;foreach ($primary_links as $link) : if ($i==0) {?>
			<?php
			} else {?>
			<?php
			}?><?php print $link ?>
        <?php $i++; 
	             endforeach; ?>
      <?php } ?>

its my quick fix but for both primary and secondary link work need a code review

Comments

nickl’s picture

Status: Needs review » Closed (duplicate)

This was already raised in a previous issue marking it as duplicate.
Only secondary links are supported at this point in time, until further notice.