-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.txt
68 lines (46 loc) · 2.01 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
Superfish module
About
-----
This module allows for integration of jQuery Superfish plug-in with Drupal CMS.
Requirement
-----------
- Superfish library.
Link: https://github.com/mehrpadin/Superfish-for-Drupal/
Installation instructions (composer)
------------------------------------
1. Add the proper repository to your composer.json file
{
"type": "package",
"package": {
"name": "drupal-superfish/superfish",
"version": "2.0",
"type": "drupal-library",
"dist": {
"url": "https://github.com/mehrpadin/Superfish-for-Drupal/archive/2.x.zip",
"type": "zip"
}
}
}
2. Require the library
$ composer require drupal-superfish/superfish:2.0
3. Go to "Administer" -> "Modules" and enable the module.
4. Go to "Administer" -> "Structure" -> "Block layout" -> click a "Place block" button to add a Superfish block to a region.
Installation instructions (manual)
----------------------------------
1. Download and extract the Superfish library into the libraries directory (usually "sites/all/libraries").
Link: https://github.com/mehrpadin/Superfish-for-Drupal/zipball/2.x
2. Download and extract the Superfish module into the modules directory (usually "/modules").
Link: http://drupal.org/project/superfish
3. Go to "Administer" -> "Modules" and enable the module.
4. Go to "Administer" -> "Structure" -> "Block layout" -> click a "Place block" button to add a Superfish block to a region.
How to style
------------
Here are some tips and tricks:
A) Utilise the "Default" style as reference.
B) Always use a DOM inspector utility (such as Firebug).
C) Set the "Menu delay" option in the block configuration to a very high number
such as 99999999 while creating your own CSS. This will give you enough time to work with sub-menus.
C) If your theme supports the Superfish module, set the "Style" option in the block configuration to "None".
Support requests
----------------
You can request support here: http://drupal.org/project/issues/superfish