If you add your front page to a menu, the link is not marked with class="active" when it should.
More description: http://drupal.org/node/119843

The attached patch fixes the problem.

CommentFileSizeAuthor
active_front.diff601 bytesDave Cohen

Comments

matt@antinomia’s picture

+1, this has bugged me before. Thanks Dave!

matt@antinomia’s picture

Version: 5.2 » 5.x-dev

Changing to -dev hoping to get this included in 5.4.

In case anybody's wondering it's fixed in 6 (maybe through a different mechanism?).

fekimoki’s picture

It works like a charm. Thanks!

bitman’s picture

Status: Needs review » Reviewed & tested by the community

The problem is real and the patch works, so let's use it.

This patch doesn't fix anything but the anchor tag when the front page is included in the primary links, but that's a separate issue and a rare case anyway.

drumm’s picture

Status: Reviewed & tested by the community » Fixed

Committed to 5.x.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.