How about including the "Administration menu Toolbar style" module into DQX?

The thing I like about the module is, that it keeps the active menu-item/parent highlighted.

Comments

donquixote’s picture

A few questions about this:
1) How do we determine if something is the parent item? Path prefix?
2) Do we need an exact replication of the toolbar style, or would it be ok to simply make the active item bold?
3) Should we do the same with higher-level items?

Some of this needs to happen on client side, because the tree data is cached on client side. So, we need
- php code to determine the active trail.
- a js variable that contains the active trail information.
- a js mechanic that applies an "active" or "active-trail" class to the respective menu items.

quotientix’s picture

1) Path prefix could work - how do the admin_menu guys do it?
2) I think maybe you should make the bg grey, that should do it, even without rounded corners. If one wants to, he can change the css himself.
3) The first parent is sufficient, since it's the only one always visible

What do you think?

donquixote’s picture

Yeah, why not. I'm putting this on my list.

quotientix’s picture

Nice! :)

donquixote’s picture

Status: Active » Needs review

It does now highlight the active trail items.
Check the 6.x-2.x branch.
Happy?

donquixote’s picture

Status: Needs review » Closed (fixed)

I close this one. If you are not happy with it, please reopen.

hgurol’s picture

Version: 6.x-1.0-beta1 » 7.x-2.0-alpha3
Priority: Normal » Major
Status: Closed (fixed) » Active

Can we have the same thing for 7.2 version?

The thing I like about the module is, unlike the op, the bigger fonts and increased readability.

Thanks...

donquixote’s picture

Hi everyone,
as noted on the DQX AdminMenu module page, the original Administration Menu module is catching up in features!
This questions the need for this module, and also the need for me to spend time in development (despite recent efforts to improve the D7 version).

I am not opposed to toolbar-style fonts and appearance, but the effort needs to come from you guys, in form of patches :)
Ideally, we want to be able to switch.

The thing to look in is appearance.css.
Good luck!