Hi. I am attempting to modify a theme so that it will work in drupal 6.00. I have gotten most of it seeming to port well. However, I am running into a issue that is causing me to lose hair and I have little hair to lose.

I cannot for the life of me get the primary menu bar to display.

Here is the site in drupal 5 http://www.fumc-prestonsburg,org

Here is the site in drupal 6

http://www.fumc-prestonsburg.org/drupal-6.0/

I have used this link to get to where I am http://wtanaka.com/drupal/convert-theme-6.

I cannot seem to find anything that shows what changes are necessary to get the primary menu bar displayed.
I did notice there is in 5.00 a selection to link your Parent item to the primary links menu. I do not see this in drupal 6.00

I know that it is related to the theme as the default themes are picking up the primary links fine. The theme I have modified in 5.00 that I am using in 6 is adt_pixelgreen.

Any help would be greatly appreciated

thanks

ted miller

Comments

ctmiller’s picture

if (isset($primary_links)) { print '<div class="primenu">'.theme('menu_links', $primary_links).'</div>'; }
if (isset($secondary_links)) { print '<div class="secmenu">'.theme('menu_links', $secondary_links).'</div>'; }

roopletheme’s picture

Replace:

print theme('menu_links', $primary_links)

with:

print theme('menu_tree', menu_tree('primary-links'))

dvessel’s picture

Look inside: "Administer > Site building > Menus" and hit the "Settings" tab. Make sure the source for primary and/or secondary is where you want them.

If that looks good then look inside your theme's .info file. If you have *any* 'features' defined there, then make sure that 'primary_links' and 'secondary_links' are in there. If no feature entries are in there, then leave it alone.

I'm not finished with it yet, but you can take a peek at the theming guide in 6. http://drupal.org/node/171179

joon park

ctmiller’s picture

I have got the primary menu to work down the left side. I cannot for the life of me get the tabs at the top to display.

No ideas and am stumped guess I'll stick with drupal 5.00.

volunteermama’s picture

I wonder if thy display if you "turn off" tabs and just display as links. Not a solution... Just a debug idea.