Login!
Lost password? Open a new Task anonymously
 

FS#323 — DropMenu does not add .here class

Attached to Project — DropMenu
Opened by Zaigham (zi) - Friday, 24 March 2006, 12:24PM
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 100%

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
Comment by Marc (MadeMyDay) - Thursday, 30 March 2006, 11:24AM
Not sure, but works for me:

Look in line 260:

if ($itm && !$selfAsLink && ($child['id'] == $modx->documentIdentifier)) {

change it to

if ($itm && ($child['id'] == $modx->documentIdentifier)) {


Marc

Comment by David Molliere (davidm) - Wednesday, 14 June 2006, 08:19AM
I confirm this works for me too !