<div id="menu">
	<?php if (isset($primary_links)) { ?><?php print theme_menu_links($primary_links); } ?>
</div> <!-- end menu -->

<div id="sub_menu">
	<?php if (isset($secondary_links)) { ?><?php print theme_menu_links($secondary_links); } ?>
</div> <!-- end sub_menu -->

I am using PHPTemplate, and that code above is how I output my primary and secondary links as unordered lists.

The secondary_links are displayed like expected on all other pages than the front page. Why are the secondary_links hidden on the front page? Is there a way to make them appear on the front page?

I have searched for days, without finding a solutioin. A little help would be much appreciated!

Comments

thomasb-1’s picture

I could not find any "edit" button on my previous post, so I guess I have to make an other one to try to explain the problem a little better.

Example:

Primary links

  • Home (expanded: yes)
    • Blogs
  • Forum (expanded: yes)
    • Search

When visiting the front page, I would like the secondary menu item "Blogs" to be visible in my sub menu div.