Closed (duplicate)
Project:
Drupal core
Version:
5.x-dev
Component:
base system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Sep 2006 at 18:06 UTC
Updated:
20 Jan 2007 at 21:07 UTC
Menu links whose path is <front> do not get the .active class assigned when the front page is displayed. Patch attached.
| Comment | File | Size | Author |
|---|---|---|---|
| l-patch.txt | 822 bytes | bjaspan |
Comments
Comment #1
gregglesI agree with the issue, but this patch doesn't solve the problem (or perhaps doesn't solve it any more?)
The workaround I found was that instead of using in my paths I use the same value that I have in my settings as the front page.
So, in settings front page is set to node/4
In menu, the link to "Home" is set to node/4
This seems to work in at least some of the cases.
Comment #2
coreb commentedmoving from x.y.z to a real version queue. My guess by the date is that it would be 5.x-dev. Please correct it if I'm wrong.
Comment #3
kickn commentedis there any update about this yet? is it in the cvs?
Comment #4
rkerr commentedI think I've patched this before on a 4.7 site for a client.. now if I can remember what I did then I'll post my version of the patch. :)
Not sure why the current patch doesn't work, except maybe because of the triple-equals?
Comment #5
RobRoy commentedDuplicate of http://drupal.org/node/78487.
Comment #6
chromeyellow commentedNew patch at the issue that this duplicates (http://drupal.org/node/78487). Similar to this patch but instead of relying on drupal_is_front_page it tests against empty request + :
4.7.5 common.inc line 1119 changes to:
If interested, test and follow up at 78487...