ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Mega Drop-Down Menu with Structure Module (or Native EE)

April 27, 2012 12:19am

Subscribe [3]
  • #1 / Apr 27, 2012 12:19am

    Nutmeg

    111 posts

    Hi,

    has anyone created a Mega Drop-Down Menu (MDM) using the Structure Module (or native EE) and was able to tame the <li> output into columns remaining with the MDM height constrains?

    Would be great if you could share some tips to accomplish this…

  • #2 / Apr 27, 2012 12:10pm

    Neil Evans

    1403 posts

    To Be honest this is not really something that is limited by EE - you can use any number of methods to store the information you want from standard channels, to structure, to Taxonomy, Nav-EEm etc. All of these will store and output as custom menus how ever you see fit. The real issue your asking about here is how to template it, what HTML, CSS, JS to use, and general concepts which i get.

    In my shoes, i personally would look at doing this with Taxonomy (as structure and me don’t get on - all my fault), although Nav-ee would be more than suitable too.

    With Taxonomy i would consider using the custom fields in the menu system. You could use these to store different types of information in your menu, be that small html chunks, or divide line, or column break. Then on the output i would use a custom output tags (not default nested lists) and use number of queries to check the level i am on, what the outputted element is and output HTML to make it work… That is if you want it automated and client usable!!

    If not, what about using a standard EE channel, with matrix and a WYGWAM field inside it for each drop down item?

  • #3 / Apr 27, 2012 5:46pm

    Nutmeg

    111 posts

    Thanks Nevsie, might have to ditch the Structure Module before it gets worse:-)

  • #4 / Apr 27, 2012 7:07pm

    Neil Evans

    1403 posts

    Don’t get me wrong, structure is very good and has huge advantages. And it is more than probable you can do this with it… It’s just my work flow does not suit it, rather than anything more. I like taxonomy as i have played with the code a lot and regularly tweak bits for what I need.

  • #5 / May 01, 2012 10:10pm

    Steven Grant

    894 posts

    Structure Entries is a better fit here if you are using Structure because it will give more granular control over the markup output for a mega menu.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases