multiple ddblock advanced slideshow in same site

Your Ad Here

hello -
I am working on a site where I must use the advanced slideshow multiple times (different news slideshow on different pages in the site per section).

I have the advanced slideshow working perfectly on the page of my drupal site, however I am confused on where to begin creating a second (and third....) advanced slideshow for the site.

I understand the need for additional "if" statements to be added to the php - but for each slideshow, do I start from the beginning of the tutorial instructions (after module install) - and build as many individual slideshows as needed???

I'm a bit of drupal newbie so ......

appreciate any advice.

Re: multiple ddblock advanced slideshow in same site

After you make your new view you need to:

  1. Enable the view for the dynamic display block module.
  2. Create a ddblock instance for the view
  3. Configure the ddblock instance
  4. Adjust both preprocess functions in the template.php file
    1. Replicate the if statement of the first view (probably the news-items view)
    2. Rename news_items to your view name
    3. uncomment the drupal_set_message lines
    4. Place ddblock instance on a page/region
    5. The result of the drupal_set_message lines tell you what fieldnames CCK has generated
    6. Adjust the field_names
    7. Reload the page
    8. comment the drupal_set_message debug lines again
    1. Hope this helps you further, please let me know.

      If this does not help, please make an issue in the issue queue and send a copy of your template.php file, the result of the drupal_set_message debug lines and a link to your Internet site.

Re: multiple ddblock advanced slideshow in same site

Actualley I have two advanced image slideshows displayed at all sites. Now I want to have different images for each gallery. Maybe it's a stupid question but I do not understand where/how to 'Adjust the field_names'.

Have a look at: Preprocess

Have a look at: Preprocess functions, the Changing view_field_names part.

Hope this helps you further, please let me know.
If not please make an issue in the issue queue of the module.

Perfect! Thanks!

this cleared up my questions - now have a 2nd instance working perfectly - thanks so much!