Closed (outdated)
Project:
Superfish Dropdown Menu
Version:
7.x-2.0
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
22 May 2014 at 10:54 UTC
Updated:
25 Jul 2023 at 22:51 UTC
Jump to comment: Most recent
Comments
Comment #1
mehrpadin commentedHey there,
You're right it doesn't make sense! however, if all of your parents are nonlinks, why to choose to clone parents? you can disable it at block configuration, will mark this as a feature request and added it to my to-do list.
Comment #2
jami commentedSimilar problem here. It's probably not the right fix, but this works for me.
In libraries/superfish/sftouchscreen.js, replace:
if (options.behaviour == 0) {
with:
if (options.behaviour == 0 && typeof item.attr('href') !== "undefined"){
Comment #3
adamps commentedJust to clarify - the change in #2 isn't needed.
As per #1, you can disable this behaviour in the UI. Make sure you are running module version at least 7.x-2.0, and there is an option to control it on the block configuration (superfish plugins->sf-touchscreen->Select a behaviour).
The latest superfish "cloned parent links" might allow some users to dispense with special menu items - if you don't mind the restriction that the name of the parent and of the cloned child must be the same.
Comment #4
lobsterr commented