Hi

I'm new to Drupal, and currently evaluating it; theming is a very important part for me.

I've tried a number of themes available on this website, marked as v6 approved. While a lot of them look pretty good, they don't seem to work properly with the primary/secondary menu, and even other bits like the search bar.

If, for instance, I look at the blocks section of the siet building admin section, I can see that primary and secondary menu are disabled. But all the themes I tried still display it. What's more, if you do 'place' the menu, it doesn't get rid of the old one. Is that how it's supposed to be?

This happens with the search module too (although in this case, not with all the themes).

If I download a theme that clearly looks like it has a top level menu, and a sublevel menu, I'd expect to be able to have a single top level menu, and several sublevel menus that are displayed only for one of each of the top level menus. IE

Products -> Product X, Product Y, Product Z
About Us -> The Team, Location, Contact

So if I clicked 'Products', I would just see Product X/Y/Z in the sub menu. If I clicked 'About Us', then I'd only see the others.

This works if you use the Drupal blocks, but, as I say, doesn't seem to work with the themes directly. Is that how it should work??? Surely all these themes can't be wrong (I tried 5 or 6)

Thanks

Marcos

Comments

francort’s picture

You have setting for themes. Some themes will render things such as primary links from their settings no matter what blocks you have configured.
For instance, for garland theme go to admin/build/themes/settings/garland and you'll see the options you have there to enable/disable features such as you have described.
There are several themes in drupal and they have different options and there are several modules too that would help to display menus as you want.

With time and patience Drupal is just great ;)

good luck!

marcosscriven’s picture

Hi francort

Thanks for the response.

While I understand you can turn on/off primary/secondary menus in the theme itself, it is purely a fixed on/off switch - not a dynamic condition.

Taking your Garland theme example, what's the point of the secondary menu, if you can't change it in response to the primary menu selection? The secondary menu should be in context of the first menu.

You can do this in menu blocks, but not in the theme menu itself, which, in my opinion, severely limits the theme.

Am I missing something here? Do any themes implement this the way I'd expect?

Thanks

Marcos

marcosscriven’s picture

Sorry to bump - can anyone help please?

Thanks

Marcos

francort’s picture

Secondary menus are children of Primary links.
For Garland, they show all right to me.
Just add items for your menu, but not with primary menu as the parent but one of primary menu's children as parent.
That second level would be secondary menu.

Jeff Burnz’s picture

See if this comment helps, theres a couple of steps involved;

http://drupal.org/node/317332#comment-1050978 describes how to do it. While this comment is against the Pixture Reloaded theme, it works for any theme that implements primary and secondary links.

Need help with IE?
Learn basic XHTML and CSS first.
Get smart with web specs.

marcosscriven’s picture

Last two comments worked - thanks very much.

I'd recommend someone adding this to the menu documentation - its a bit confusing having two secondary menus - A primary submenu, and a secondary...