How to information

How to make an advanced Dynamic display block slideshow for Drupal 6

This page summarizes what you have to do to make an advanced Dynamic display block slideshow for Drupal 6. For more detailed instructions see the How to instruction.

This page assumes you want to make a slideshow like the example below:

Angelina Jolie

This is an example of the advanced dynamic display block.

Oprah Winfrey

The Dynamic display block module enables you to present content in a dynamic way.

Beyonce Knowles

It uses the jQuery Cycle Plugin for the slideshow effects.

Brad Pitt

We are developing the next release of this module actively.

Jay-Z

Please test and review the module.

Justin Timberlake

Post your issues in the issue queue on http://drupal.org and post a review in the forum.

CCK

To make an advanced Dynamic display block slideshow with Images, a pager with images/text and text appearing over the image, you need to provide the content first. You provide this content by using CCK and views. With CCK you can make a new content type or use an existing content type. You need at least an imagefield for the image and text fields for the other information. An example of fields you could provide for your slideshow are:

  • Title of a slide and title of full node view: title (standard with a content type)
  • Text of a pager_item: pager_item_text (new text field)
  • Text on a slide: slide_text (new text field)
  • Slide image and pager image: image (new imagefield)
  • Text of full node view: body (standard with a content type)

Create content

After you made your content type you can create content.

Views

To make the content ready for the advanced Dynamic display block slideshow you have to make a views block to select the content you want to show in a block. You can use the normal filters and sort criteria of views to create your views block.

Create Dynamic display block instance

With the dynamic display block module you create an instance of the view you made. With this instance you can now set all kinds of configurations to use for your slideshow.

Templates and preprocess functions

An advanced Dynamic display block slideshow uses two templates. A template for the whole slideshow and a template for the pager. Template variables are provided by two preprocess functions where you convert viewfields into slide and pager variables.

Styling the slideshow

The templates for the slideshow and the pager are styled by Cascading stylesheets. Free and commercial theme layouts are available.

For more examples, have a look at examples page and Site using ddblock module using Advanced dynamic display block slideshow .