| 1 |
// $Id: INSTALL.txt,v 1.5 2009/02/20 16:09:18 ppblaauw Exp $
|
| 2 |
|
| 3 |
REQUIREMENTS
|
| 4 |
------------
|
| 5 |
* Javascript-enabled web browser
|
| 6 |
|
| 7 |
* jQuery update module, <http://drupal.org/project/jquery update>
|
| 8 |
|
| 9 |
* jQuery easing plug-in (optional) <http://plugins.jquery.com/files/jquery.easing.1.1.1.js>
|
| 10 |
This jQuery plug-in is not included in the Drupal distribution because it is not licensed
|
| 11 |
under GPL which is required by Drupal.
|
| 12 |
|
| 13 |
* Header image module (optional) <http://drupal.org/project/headerimage>
|
| 14 |
Other block modules (optional)
|
| 15 |
|
| 16 |
For advanced options
|
| 17 |
|
| 18 |
* CCK module (optional) <http://drupal.org/project/cck>
|
| 19 |
* ImageApi (optional) <http://drupal.org/project/imageapi>
|
| 20 |
* FileField (optional) <http://drupal.org/project/filefield>
|
| 21 |
* ImageField (optional) <http://drupal.org/project/imagefield>
|
| 22 |
|
| 23 |
* Views module (optional) <http://drupal.org/project/views>
|
| 24 |
|
| 25 |
PRE-REQUISITES
|
| 26 |
--------------
|
| 27 |
* Only use this developement version to test the module
|
| 28 |
Don't replace your RC6 version with this development version
|
| 29 |
|
| 30 |
- Delete the previous ddblock module directory (development version)
|
| 31 |
|
| 32 |
- Read notes about important changes that may affect your site or theme in
|
| 33 |
CHANGELOG.txt.
|
| 34 |
|
| 35 |
|
| 36 |
UPGRADING
|
| 37 |
---------
|
| 38 |
* This dev relaese uses new theme packages and preprocess functions.
|
| 39 |
* To download and install the new themes see:
|
| 40 |
DDBLOCK THEMES INSTALLATION
|
| 41 |
* To download and install the new preprocess functions see:
|
| 42 |
DDBLOCK PREPROCESS FUNCTIONS INSTALLATION
|
| 43 |
|
| 44 |
|
| 45 |
INSTALLATION
|
| 46 |
------------
|
| 47 |
* The dynamic display block depends on the jQuery-update module.
|
| 48 |
* Please install this module first.
|
| 49 |
|
| 50 |
|
| 51 |
JQUERY UPDATE INSTALLATION
|
| 52 |
--------------------------
|
| 53 |
Note: Drupal 6.3 already has the jQuery 1.2.6., but still we prefer to install
|
| 54 |
jQuery update module for future versions of jQuery.
|
| 55 |
|
| 56 |
* jQuery Update module upgrades Drupal's stable version of jQuery in order to
|
| 57 |
support the most current jQuery version available.
|
| 58 |
|
| 59 |
* Download, extract and copy the jquery_update folder to your sites/all/modules
|
| 60 |
directory.
|
| 61 |
|
| 62 |
* Enable the module at Administer >> Site building >> Modules.
|
| 63 |
|
| 64 |
* Set the jQuery compression type at Administer >> Site configuration >> jQuery Update.
|
| 65 |
|
| 66 |
For more information, see README.txt of the jQuery Update module.
|
| 67 |
|
| 68 |
|
| 69 |
DYNAMIC DISPLAY BLOCK INSTALLATION
|
| 70 |
----------------------------------
|
| 71 |
* Download, extract and copy the ddblock folder to your sites/all/modules
|
| 72 |
directory.
|
| 73 |
|
| 74 |
* Enable the module at Administer >> Site building >> Modules.
|
| 75 |
|
| 76 |
* Run update.php if you upgrade the module from a previous version.
|
| 77 |
|
| 78 |
For more information about configuration, see README.txt of the ddblock.
|
| 79 |
|
| 80 |
JQUERY EASING PLUG-IN INSTALLATION
|
| 81 |
----------------------------------
|
| 82 |
* Download version 1.1.1 at http://plugins.jquery.com/project/Easing.
|
| 83 |
|
| 84 |
* Copy jquery.easing.1.1.1.js to sites/all/modules/ddblock.
|
| 85 |
|
| 86 |
* Add
|
| 87 |
//add easing plugin
|
| 88 |
drupal_add_js($ddblock_path .'/js/jquery.easing.1.1.1.js', 'module');
|
| 89 |
|
| 90 |
to the ddblock.module file just below line 26:
|
| 91 |
|
| 92 |
//add jcycle plugin
|
| 93 |
drupal_add_js($ddblock_path .'/js/jquery.cycle.all.min.js', 'module');
|
| 94 |
|
| 95 |
DDBLOCK THEMES INSTALLATION
|
| 96 |
---------------------------
|
| 97 |
* Download the theme package (dev-upright10-60-vx-x.zip) from http://ddblock.myalbums.biz/download
|
| 98 |
|
| 99 |
* Extract the zip file to a temporary directory
|
| 100 |
|
| 101 |
* Copy the custom directory with all subdirectories to the theme directory of the
|
| 102 |
theme you use. (which is probably at sites/all/themes/[YOUR_THEME_NAME])
|
| 103 |
|
| 104 |
EXPORT PACKAGE
|
| 105 |
--------------
|
| 106 |
* Download the export package (dev-Export-files-vx-x.zip) from http://ddblock.myalbums.biz/download
|
| 107 |
|
| 108 |
DDBLOCK EXAMPLE CONTENT TYPE AND VIEW
|
| 109 |
-------------------------------------
|
| 110 |
You can use the News item content type export to import the News item content type
|
| 111 |
into your Drupal installation.
|
| 112 |
|
| 113 |
Note:
|
| 114 |
|
| 115 |
You need to have CCK, imageapi, filefield and imagefield installed and enabled on
|
| 116 |
your Drupal installation, otherwise the import will not be successful.
|
| 117 |
|
| 118 |
For more information see the Advanced slideshow tutorial on
|
| 119 |
http://ddblock.myalbums.biz/node/751
|
| 120 |
|
| 121 |
You can use the News items views block export to import the News items views block
|
| 122 |
into your Drupal installation.
|
| 123 |
|
| 124 |
For more information see the Advanced slideshow tutorial on
|
| 125 |
http://ddblock.myalbums.biz/node/753
|
| 126 |
|
| 127 |
DDBLOCK PREPROCESS FUNCTIONS INSTALLATION
|
| 128 |
-----------------------------------------
|
| 129 |
* The preprocess functions are included in the export package
|
| 130 |
|
| 131 |
* Copy the preprocess functions to your template.php file in your theme
|
| 132 |
|
| 133 |
* Rename [THEME_NAME] to the name of your theme for both preprocess functions
|
| 134 |
|
| 135 |
* Change the view_name in both preprocess functions if your view has another name
|
| 136 |
then: news_items
|
| 137 |
|
| 138 |
* Change the fields to convert if you have other fieldnames in your view
|
| 139 |
|
| 140 |
Note: You can see the view_name and the available view_fields by uncommenting the
|
| 141 |
lines at the top of each preprocess function.
|
| 142 |
|
| 143 |
For more information see the Advanced slideshow tutorial on
|
| 144 |
http://ddblock.myalbums.biz/node/747
|
| 145 |
|
| 146 |
For frequently asked questions see the FAQ on
|
| 147 |
http://ddblock.myalbums.biz/faq
|