By heydere on
Hello,
I am trying to create nested primary links for a theme I'm developing for Drupal 5.1.
For the Primary Menu, I've created the following tree:
Apples
-McIntosh
-Braeburn
Pears
Oranges
I'm running into an access problem, however. When I'm logged in as the site administrator, all of the items in the tree are visible with the following call:
$menu = menu_get_menu();
print_r($menu['visible']);
However, only the top-level information is visible when I'm not logged in as the administrator. The McIntosh and Braeburn items do not appear in the list.
Is there an access control problem here or have I done something wrong?
Thanks in advance!
Comments
Addendum
PS.
I have ensured that all of the menu items for the primary menu are expanded already so that should not be the issue.
Thank you...
Found it
I had some unrelated code that was causing the problem.
Thanks.