How to create a Sub-Menu like timesonline.co.uk ?

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
mansoor.k's picture

I want to make a sub menu like timeonline in Drupal for a Newspaper website. I appreciate any help, insights, modules to be used to achieve this type of a menu.

Only local images are allowed.

Thanks a lot.

Mansoor

Comments

Horizontal

Itangalo's picture

I'd definately go for horizontal menus -- they leave more space to the much more important page content.

Most well-written themes have menu functions called "primary links" and "secondary links", which could be a good solution. To use them, go to admin/build/menu, choose "settings" and select which menu you want to use as primary and secondary links.
There's a neat feature built into those -- if you use the same menu for both primary and secondary links, the "child items" of the primary links will show up in the secondary links. This effectively restricts the menu to a two-level system, but I recommend not having a deeper structure than that anyways.

To use this you don't need any extra modules -- the menu module is in core.

Good luck!
//Johan Falk, Sweden

Dynamic Persistent Menu module

geoffb's picture

We use a customized version of Dynamic Persistent Menu module (drupal.org/project/dynamic_persistent_menu) for our horizontal menu (www.straight.com)

Re:Dynamic Persistent Menu module

mansoor.k's picture

Thanks a lot geoffb. This module will do my job.

I had visited your site www.straight.com you have done it great!!!

Could you please share some idea how I can make the categories with a leading article with image, teaser and the following articles in a list as what you have done in www.straight.com.

Thanks again.

Mansoor, We use a customized

geoffb's picture

Mansoor,

We use a customized function to create these section boxes. The function is then called from a Drupal block with each section box being a block placed on a Drupal panel so that it displays on the Homepage.

The function itself basically takes the parent taxonomy id - which is passed in from the function call - and uses that to do a mysql query to find the last 'x' nodes from that taxonomy as well as any child taxonomies.

This nodes are loaded and then the display of these is dictated by variables passed into the function: a show more link, whether we show taxonomy names, how many links will show whether we indicate there are comments and whether the first item has a thumbnail and a teaser.

That's the general idea of it anyway.

I hope that makes sense to you.

Geoff

Newspapers on Drupal

Group organizers

Group categories

Topics - Newspaper on Drupal

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: