Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
In page.tpl.php is :
<?php print theme('menu_tree',variable_get('menu_primary_menu',0)); ?>
I think that should be:
<?php print theme('links', $primary_links, array('class' => 'links primary-links')) ?>
because in result i have only "0" , not primary link.
Comments
Comment #1
plutado CreditAttribution: plutado commentedthanks! I'll pop this in and see if it works. I accidentally didn't port those lines over from 5.x, so the solution I have up in 6.x-1.2 is a bit different than yours, but it should work.
Comment #2
plutado CreditAttribution: plutado commentedsee theme version 6.x-1.2 and later
Comment #3
frank242 CreditAttribution: frank242 commentedHi,
same issue in 6.x-1.3 again?
After update only 0 - no primary link.
In page.tpl.php
change
to
Comment #4
plutado CreditAttribution: plutado commentedthanks! I updated the themes recently, I got the page.tpl.php and template.php files flipped around from 5.x to 6.x. Should be fixed now.
Comment #5
Anonymous (not verified) CreditAttribution: Anonymous commentedAutomatically closed -- issue fixed for two weeks with no activity.