Introduction:
Version 2.x of the Views Slideshow: Dynamic Display Block module is more easy to install.
It has an example module, to install a content type, a view with 6 predefined blocks for the upright themes and 6 example nodes.
Summery of installation of modules
- Install required modules
- Install Views slideshow: DDblock module
- Install Views slideshow: DDblock examples module
Important Notes:
- Don't forget to run update.php, if you update one of your modules to a later version.
- When you have the content permissions module (submodule of CCK) enabled: Give permissions for the added cck fields for the image, slide text and pager text.
Modules used:
The following modules are used to create a slideshow using the Views Slideshow: Dynamic Display Block module.
- Views slideshow: Dynamic Display Block module
- Views slideshow module
- jQuery update module
- CCK module
- Views module
- filefield module
- imagefield module
- imageapi module
- imagecache (optional)
Download, install and enable the required modules
- Go to http://drupal.org/project/views_slideshow_ddblock and download the latest version of views slideshow:dynamic display block module.
- Go to http://drupal.org/project/views_slideshow and download a 6.x-2 version of the views slideshow module.
- Go to http://drupal.org/project/jquery_update and download the jQuery update module.
- Go to http://drupal.org/project/cck and download the CCK module.
- Go to http://drupal.org/project/views and download the Views module.
- Go to http://drupal.org/project/filefield and download the filefield module.
- Go to http://drupal.org/project/imagefield and download the imagefield module.
- Go to http://drupal.org/project/imageapi and download the imageapi module.
- Go to http://drupal.org/project/imagecache and download the imagecache module (optional, only if you want to use imagecache presets with your images).
- Extract and copy these modules into the /sites/all/modules/ folder.
- Note: Read the readme.txt and the install.txt files of these modules for further instructions.
- Navigate to Administer > Site building > Modules and enable the modules by selecting the check boxes next to them.
Note: Enable the (sub)modules in the following order:
- First enable the following (sub)modules.
- CCK - content
- ImageCache - ImageAPI
- ImageCache - ImageCache (optional)
- ImageCache - ImageAPI GD2 (optional, only if you enabled Imagecache - Imagecache.)
- Imagecache - ImageCache UI (optional, only if you enabled Imagecache - Imagecache.)
- User Interface - jQuery Update
- Views - Views
- Click Save configuration button.
- Second enable (sub)modules which require the (sub)modules from step 1.
- CCK - content copy
- CCK - file field
- CCK - Text
- Views - Views slideshow: DDblock
-
- Views - Views slideshow
-
- Views - Views exporter
- Views - Views UI
- Click Save configuration button.
- Third enable (sub)modules which require the (sub)modules from step 2.
- Click Save configuration button.
- Last enable the module:
- Views - Views slideshow: DDblock Examples
-
- Click Save configuration button.
Important Notes:
- Don't forget to run update.php, if you update one of your modules to a later version.
- When you have the content permissions module (submodule of CCK) enabled: Give permissions for the added cck fields for the image, slide text and pager text.
Comments
I get this warning and error
I get this warning and error message after enable the examples:
You can't show more empty location forms than the maximum number of locations allowed for this content type.
warning: Parameter 1 to filefield_validate_associate_field() expected to be a reference, value given in /srv/www/vhosts/drupal-6.0/drupal-6.16/sites/all/modules/filefield/field_file.inc on line 160.
warning: array_merge(): Argument #2 is not an array in /srv/www/vhosts/drupal-6.0/drupal-6.16/sites/all/modules/filefield/field_file.inc on line 160.
warning: array_merge(): Argument #1 is not an array in /srv/www/vhosts/drupal-6.0/drupal-6.16/sites/all/modules/filefield/field_file.inc on line 160.
warning: array_merge(): Argument #1 is not an array in /srv/www/vhosts/drupal-6.0/drupal-6.16/sites/all/modules/filefield/field_file.inc on line 160.
warning: Parameter 1 to filefield_validate_is_image() expected to be a reference, value given in /srv/www/vhosts/drupal-6.0/drupal-6.16/sites/all/modules/filefield/field_file.inc on line 160.
warning: array_merge(): Argument #1 is not an array in /srv/www/vhosts/drupal-6.0/drupal-6.16/sites/all/modules/filefield/field_file.inc on line 160.
warning: array_merge(): Argument #1 is not an array in /srv/www/vhosts/drupal-6.0/drupal-6.16/sites/all/modules/filefield/field_file.inc on line 160.
warning: Parameter 1 to filefield_validate_associate_field() expected to be a reference, value given in /srv/www/vhosts/drupal-6.0/drupal-6.16/sites/all/modules/filefield/field_file.inc on line 160.
warning: array_merge(): Argument #2 is not an array in /srv/www/vhosts/drupal-6.0/drupal-6.16/sites/all/modules/filefield/field_file.inc on line 160.
warning: array_merge(): Argument #1 is not an array in /srv/www/vhosts/drupal-6.0/drupal-6.16/sites/all/modules/filefield/field_file.inc on line 160.
warning: array_merge(): Argument #1 is not an array in /srv/www/vhosts/drupal-6.0/drupal-6.16/sites/all/modules/filefield/field_file.inc on line 160.
warning: Parameter 1 to filefield_validate_is_image() expected to be a reference, value given in /srv/www/vhosts/drupal-6.0/drupal-6.16/sites/all/modules/filefield/field_file.inc on line 160.
warning: array_merge(): Argument #1 is not an array in /srv/www/vhosts/drupal-6.0/drupal-6.16/sites/all/modules/filefield/field_file.inc on line 160.
warning: array_merge(): Argument #1 is not an array in /srv/www/vhosts/drupal-6.0/drupal-6.16/sites/all/modules/filefield/field_file.inc on line 160.
warning: Parameter 1 to filefield_validate_associate_field() expected to be a reference, value given in /srv/www/vhosts/drupal-6.0/drupal-6.16/sites/all/modules/filefield/field_file.inc on line 160.
warning: array_merge(): Argument #2 is not an array in /srv/www/vhosts/drupal-6.0/drupal-6.16/sites/all/modules/filefield/field_file.inc on line 160.
warning: array_merge(): Argument #1 is not an array in /srv/www/vhosts/drupal-6.0/drupal-6.16/sites/all/modules/filefield/field_file.inc on line 160.
warning: array_merge(): Argument #1 is not an array in /srv/www/vhosts/drupal-6.0/drupal-6.16/sites/all/modules/filefield/field_file.inc on line 160.
warning: Parameter 1 to filefield_validate_is_image() expected to be a reference, value given in /srv/www/vhosts/drupal-6.0/drupal-6.16/sites/all/modules/filefield/field_file.inc on line 160.
warning: array_merge(): Argument #1 is not an array in /srv/www/vhosts/drupal-6.0/drupal-6.16/sites/all/modules/filefield/field_file.inc on line 160.
warning: array_merge(): Argument #1 is not an array in /srv/www/vhosts/drupal-6.0/drupal-6.16/sites/all/modules/filefield/field_file.inc on line 160.
warning: Parameter 1 to filefield_validate_associate_field() expected to be a reference, value given in /srv/www/vhosts/drupal-6.0/drupal-6.16/sites/all/modules/filefield/field_file.inc on line 160.
warning: array_merge(): Argument #2 is not an array in /srv/www/vhosts/drupal-6.0/drupal-6.16/sites/all/modules/filefield/field_file.inc on line 160.
warning: array_merge(): Argument #1 is not an array in /srv/www/vhosts/drupal-6.0/drupal-6.16/sites/all/modules/filefield/field_file.inc on line 160.
warning: array_merge(): Argument #1 is not an array in /srv/www/vhosts/drupal-6.0/drupal-6.16/sites/all/modules/filefield/field_file.inc on line 160.
warning: Parameter 1 to filefield_validate_is_image() expected to be a reference, value given in /srv/www/vhosts/drupal-6.0/drupal-6.16/sites/all/modules/filefield/field_file.inc on line 160.
warning: array_merge(): Argument #1 is not an array in /srv/www/vhosts/drupal-6.0/drupal-6.16/sites/all/modules/filefield/field_file.inc on line 160.
warning: array_merge(): Argument #1 is not an array in /srv/www/vhosts/drupal-6.0/drupal-6.16/sites/all/modules/filefield/field_file.inc on line 160.
warning: Parameter 1 to filefield_validate_associate_field() expected to be a reference, value given in /srv/www/vhosts/drupal-6.0/drupal-6.16/sites/all/modules/filefield/field_file.inc on line 160.
warning: array_merge(): Argument #2 is not an array in /srv/www/vhosts/drupal-6.0/drupal-6.16/sites/all/modules/filefield/field_file.inc on line 160.
warning: array_merge(): Argument #1 is not an array in /srv/www/vhosts/drupal-6.0/drupal-6.16/sites/all/modules/filefield/field_file.inc on line 160.
warning: array_merge(): Argument #1 is not an array in /srv/www/vhosts/drupal-6.0/drupal-6.16/sites/all/modules/filefield/field_file.inc on line 160.
warning: Parameter 1 to filefield_validate_is_image() expected to be a reference, value given in /srv/www/vhosts/drupal-6.0/drupal-6.16/sites/all/modules/filefield/field_file.inc on line 160.
warning: array_merge(): Argument #1 is not an array in /srv/www/vhosts/drupal-6.0/drupal-6.16/sites/all/modules/filefield/field_file.inc on line 160.
warning: array_merge(): Argument #1 is not an array in /srv/www/vhosts/drupal-6.0/drupal-6.16/sites/all/modules/filefield/field_file.inc on line 160.
warning: Parameter 1 to filefield_validate_associate_field() expected to be a reference, value given in /srv/www/vhosts/drupal-6.0/drupal-6.16/sites/all/modules/filefield/field_file.inc on line 160.
warning: array_merge(): Argument #2 is not an array in /srv/www/vhosts/drupal-6.0/drupal-6.16/sites/all/modules/filefield/field_file.inc on line 160.
warning: array_merge(): Argument #1 is not an array in /srv/www/vhosts/drupal-6.0/drupal-6.16/sites/all/modules/filefield/field_file.inc on line 160.
warning: array_merge(): Argument #1 is not an array in /srv/www/vhosts/drupal-6.0/drupal-6.16/sites/all/modules/filefield/field_file.inc on line 160.
warning: Parameter 1 to filefield_validate_is_image() expected to be a reference, value given in /srv/www/vhosts/drupal-6.0/drupal-6.16/sites/all/modules/filefield/field_file.inc on line 160.
warning: array_merge(): Argument #1 is not an array in /srv/www/vhosts/drupal-6.0/drupal-6.16/sites/all/modules/filefield/field_file.inc on line 160.
warning: array_merge(): Argument #1 is not an array in /srv/www/vhosts/drupal-6.0/drupal-6.16/sites/all/modules/filefield/field_file.inc on line 160.
An error has occurred adding the content type ddblock_image_field_example_item.
Please check the errors displayed for more details.
The ddblock is working, but the images are not showing. I'm logged in as the super user.
Also I placed the ddblock in
Also I placed the ddblock in the content block and all the nodes are displayed above.
Can't edit the nodes because
Can't edit the nodes because I keep getting this warning message:
warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'ddblock_image_field_example_item_node_form' not found or invalid function name in /srv/www/vhosts/drupal-6.0/drupal-6.16/includes/form.inc on line 372.
Re: Can't edit the nodes because
Did you use the latest versions of the 2.x dev version of the views_slideshow_ddblock module and themes?
Maybe good to disable the example module, uninstall it and enable it again.
When this does not help please make an issue in the issue queue of the module
Done it... same error
Done it ...same error
fixed it by...
i fixed it by just enabling the "Text" module that is already installed by default, then fully uninstalling and reinstalling the views slideshow DD block module. enabling the "Text" module was the key :)
Hi, thanks for the reply! I
Hi, thanks for the reply! I was able to fixed the problem and yes it was the examples causing it. I just deleted the examples and recreated my own content using the example content type and now everything working fine know.
Or, patch filefield
Here's the patch - http://drupal.org/node/755558#comment-3261366
ddblock examples then installed without error for me.