Menu Manager output needs to support multiple HTML builder types

Description

The menu builder doesn't output code that creates a solid bootstrap menu when using submenus.Since our themes are all using this, Submenus are essentially unusable with all of our themes.

The code outputted should look like this for a submenu label

But right now, its showing just 'TMN Community', no link, no class, no data toggle, not caret, or anything else.

I modified my display.cfm locally for submenu to the follow, and it works but its not the right solution.

We should:

  • look at passing a flag to output this type of menu,

  • create a new Submenu type? Which has more bootstrap specific options maybe.

Updates

Have the ability to build the HTML output with different output types. Right now we support html and data. Let's support bootstrap out of the box and also support modular extensibility as well.

Activity

Show:
Francesco Pepe
March 4, 2017, 6:09 AM

The menu builder it's way too complicate and gives a lot of problem. Also mantain different provider for each menu type it's confusing.

Probably a good solution is to make theme developer responsible to how will be displayed the menu. We should only provide a way to make a list of item and insert just two fields to edit <li> and <a> tag and store the html into the db.

This way the user can literally have full control on menu item.

Gavin Pickin
March 4, 2017, 6:16 AM

We can keep the default data export it allows for.
I think we should make it bootstrap friendly since most themes are bootstrap... but other than that, let the user do it.

I have the code with this... but the other day I was working on a mega menu, and though, oh crap, more complications.

Luis Majano
August 17, 2018, 3:23 PM

is this still valid?

Gavin Pickin
August 17, 2018, 3:31 PM

I think we should support it yes.
Otherwise the menu builder tool is really hard to use.
We just need to make more providers for it to output usable menus

Luis Majano
August 17, 2018, 3:33 PM

I have added this to our roadbox

Assignee

Mitrah Soft

Reporter

Gavin Pickin

Labels

None

Components

Affects versions

Priority

Major