1
|
|
2
|
REQUIREMENTS
|
3
|
------------
|
4
|
* Javascript-enabled web browser
|
5
|
libraries module
|
6
|
|
7
|
For advanced options
|
8
|
|
9
|
* Views module (optional) <http://drupal.org/project/views>
|
10
|
|
11
|
PRE-REQUISITES
|
12
|
--------------
|
13
|
* If you are upgrading from a previous version, please
|
14
|
|
15
|
- Delete the previous ddblock module directory
|
16
|
|
17
|
- Read notes about important changes that may affect your site or theme in
|
18
|
CHANGELOG.txt.
|
19
|
|
20
|
UPGRADING
|
21
|
---------
|
22
|
* ddblock for drupal 7 uses new theme packages.
|
23
|
* ddblock for drupal 7 does not use preprocess functions in the theme anymore
|
24
|
you need to delete existing preprocess functions from the template.php file.
|
25
|
* To download and install the new themes see:
|
26
|
DDBLOCK THEMES INSTALLATION
|
27
|
|
28
|
INSTALLATION
|
29
|
------------
|
30
|
|
31
|
DYNAMIC DISPLAY BLOCK INSTALLATION
|
32
|
----------------------------------
|
33
|
* Download the jquery cycle plugin from http://malsup.com/jquery/cycle/download.html
|
34
|
(use jquery.cycle.all.min.js (packed version) or jquery.cycle.all.js, tested till version 2.99)
|
35
|
|
36
|
* Install the jquery cycle plugin in /sites/all/libraries/jquery.cycle/
|
37
|
|
38
|
|
39
|
* Download, extract and copy the ddblock folder to your sites/all/modules directory.
|
40
|
|
41
|
* Enable the module at Administer >> Site building >> Modules.
|
42
|
|
43
|
* Run update.php if you upgrade the module from a previous version.
|
44
|
|
45
|
For more information about configuration, see README.txt of the ddblock.
|
46
|
|
47
|
|
48
|
DDBLOCK THEMES INSTALLATION
|
49
|
---------------------------
|
50
|
* Download the theme package (upright10p-60p.rar) from http://ddblock.myalbums.biz/download
|
51
|
Make sure you download the version for Drupal 7
|
52
|
|
53
|
* Extract the rar file to a temporary directory
|
54
|
|
55
|
* Copy the custom directory with all subdirectories to the theme directory of the
|
56
|
theme you use. (which is probably at sites/all/themes/[YOUR_THEME_NAME])
|
57
|
|
58
|
DDBLOCK EXAMPLE CONTENT TYPE AND VIEW
|
59
|
-------------------------------------
|
60
|
Create a content type e.g. "Slideshow Item" with the fields
|
61
|
|
62
|
Label field
|
63
|
----- -----
|
64
|
Title title
|
65
|
Image field_image
|
66
|
Slide Text field_slide_text
|
67
|
Pager Text field_pager_text
|
68
|
Body body
|
69
|
|
70
|
Create a view using these fields
|
71
|
|
72
|
DDBLOCK MODULE CONFIGURATION
|
73
|
----------------------------
|
74
|
Choose a slideshow theme
|
75
|
Map fields from the view to slideshow theme fields
|
76
|
Configure the other slideshow settings
|
77
|
Save the block
|
78
|
|
79
|
Place the block in a region of your overall theme.
|