FS#323 — DropMenu does not add .here class
| Task Type | Bug Report |
|---|---|
| Category | Backend / Core |
| Status | Closed |
| Assigned To | No-one |
| Operating System | All |
| Severity | Medium |
|---|---|
| Priority | Normal |
| Reported Version | 1.0 |
| Due in Version | Undecided |
| Due Date | Undecided |
| Percent Complete |
|
Details
From Kunal Kapoor, ( http://modxcms.com/forums/index.php/topic,2609.msg17876.html#msg17876 )If you were to call the dropmenu snippet, and select &selfAsLink=`0` and hereClass=`current`, this works fine. However, if you had &selfAsLink=`1`, &hereClass=`current` no longer works.
This task depends upon
This task blocks these from closing
Closed by Ryan Thrash (rthrash)
Thursday, 04 January 2007, 09:02AM
Reason for closing: Deferred
Additional comments about closing: addressed with Wayfinder
Thursday, 04 January 2007, 09:02AM
Reason for closing: Deferred
Additional comments about closing: addressed with Wayfinder
Look in line 260:
if ($itm && !$selfAsLink && ($child['id'] == $modx->documentIdentifier)) {
change it to
if ($itm && ($child['id'] == $modx->documentIdentifier)) {
Marc