I couldn't find a solution for A3 Atlantis to add drop down menus to the Primary Links. So I ended up downloading the Nice Menus module which worked beautifully. It was rather easy to do with only a few changes made to the theme itself. I am posting this in case someone else runs into the same issue.

First I had to modify page.tpl.php and page-admin.tpl.php to load the nice menu instead of the default primary links.

In both files find the line like this:
print theme('links', $primary_links, array('class' =>'links', 'id' => 'navlist'))

and replace with this:
print theme('nice_menu_primary_links', 'down');

Now, you will notice that the default style of Nice Menus does not necessarily match the style for A3 Atlantis. The solution for me was creating a custom style sheet and uploading to the theme directory. Afterward, I simply configured Nice Menus to to point to the custom style sheet.

You can do this by going to your themes global settings and changing the custom css path to: sites/all/themes/a3_atlantis/nice_menus_a3atlantis.css

I have attached my *very* basic style sheet for A3 Atlantis Nice Menus it should work right out of the box.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

stGeorge-1’s picture

Tiato you are a legend.

This solution worked for me, quick and simple to implement. Thanks for taking the time to write it up.

stGeorge-1’s picture

If I can make a suggestion to anyone else thinking of using tiato's solution, there is a really well marked up custom nice menu css file here http://drupal.org/node/454426.

When used in conjunction with the above PHP snippets, it gave me a terrific ability to style my drop down menu.

hope this helps someone

tiato’s picture

Thank you stGeorge, that is a much nicer CSS style sheet adding better support for the submenus which my CSS lacked. Anyone else looking for drop down in A3 Atlantis would be better using the CSS posted by stGeroge, great find!

tiato’s picture

Component: Documentation » User interface
Status: Active » Closed (fixed)
timodo’s picture

thank you Titao
I tried to follow the instruction, but it did not work
an error message appears in red
warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'theme_nice_menu_primary_links' not found or invalid function name in C:\wamp\www\aig2\includes\theme.inc on line 668

you can help me?
someone else has already met this error or knows where it came from?

thank you

timodo’s picture

FileSize
7.55 KB

This is titao CSS file with a few modifications,

I have not found a solution to my problem, please, I need help I should present my work tomorrow morning.

thank