effect, is a blank submenu when on a child of the active term
a links have active however.

DPM is set to primary links
Standard Primary Link menu shows active-trail on li.

This is probably a duplicate of two or three current issues, but this is a better title/summary of the problem.

Comments

sgriffin’s picture

Source of the problem found:
Custom Breadcrumbs Module

sgriffin’s picture

Title: active-trail missing for active menu li » Custom Breadcrumb Module Conflicts with Dynamic Persistent Menu
sgriffin’s picture

Priority: Critical » Minor

As a final follow up this module works really well with http://drupal.org/project/taxonomy_breadcrumb and http://drupal.org/project/menutrails

MGN’s picture

Hi sgriffin. It would be good to give more explanation about what you found/think the problem is. It would also be helpful to indicate what version of custom breadcrumbs you are using.

Custom breadcrumbs 6.x-2.x sets the active trail only if you set an option to do so. If there is a conflict with another module, just turn the option off.

Custom breadcrumbs 6.x-1.x does not set the active trail any more - it was removed when 6.x-1.5 was released.

So I am somewhat confused about the conflict that you are reporting.

sgriffin’s picture

DPM creates <li id="dynamic-persistent-menu-menu490" class=" dynamic-persistent-menu-menu-item active-trail" style="display: inline;"><a class="active" id="dhtml_menu-490" title="" href="/featured-motorcycles">Motorcycles</a></li>
for active menu items.

Enabling only the custom breadcrumb module removes active-trail essentially breaking the state of DPM.
I tried head/dev and checking/unchecking force active trail for both.
I guess I will try it again and ensure I run update each time to verify CBM is causing this problem.

sgriffin’s picture

Status: Active » Closed (fixed)

Hmm
You are right.
It's working normally on a clean install of the module.
deactivate, uninstall, remove files, install dev, active.
Thanks I like CBM better than TBM.
Looks like I need to ensure better module upgrade discipline.

MGN’s picture

Status: Closed (fixed) » Active

Ok, so you must be using 6.x-2.x-dev version of custom breadcrumbs since there is no option in 6.x-1.x. If the option is not checked then custom breadcrumbs should not affect the active trail. If this is happening, I would like to know how so it can be fixed. When you check/uncheck the 'force the active trail' option in custom breadcrumbs, you should see a message indicating that the theme registry has been rebuilt. When you are testing see if the problem persists after you see that message with 'force the active trail option' disabled.

Thanks for following up on this.

MGN’s picture

Status: Active » Closed (fixed)

Looks like we cross posted. Thanks again for testing!