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

plutado’s picture

Status: Active » Postponed

thanks! 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.

plutado’s picture

Status: Postponed » Fixed

see theme version 6.x-1.2 and later

frank242’s picture

Version: 6.x-1.1 » 6.x-1.3
Status: Fixed » Active

Hi,

same issue in 6.x-1.3 again?

After update only 0 - no primary link.

In page.tpl.php

change

<!-- primary links -->
          <div id="primary">
		  <?php if ($primary_links): ?>
		   <?php if (isset($primary_links)) { ?>
		   <div id="nav">  
		   <?php print theme('menu_tree',variable_get('menu_primary_menu',0)); ?>
		   </div>
		   <?php } ?>        	  
          <?php endif; ?>
          </div> <!-- /#primary -->

to

<!-- primary links -->
    <div id="primary">
    <?php if (isset($primary_links)) { ?>
      <div id="nav">  
        <?php print menu_tree('primary-links'); ?>
      </div>
    <?php } ?>
  </div> 
  <!-- end primary links -->
plutado’s picture

Status: Active » Fixed

thanks! 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.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.