The News View is correctly set and 2 news are published. Here is the result from the select

SELECT node.nid AS nid, 
node.title AS node_title, 
node_data_field_pager_item_text.field_pager_item_text_value AS node_data_field_pager_item_text_field_pager_item_text_value, 
node.type AS node_type, 
node.vid AS node_vid, 
node_data_field_pager_item_text.field_slide_text_value AS node_data_field_pager_item_text_field_slide_text_value, 
node_data_field_pager_item_text.field_image_fid AS node_data_field_pager_item_text_field_image_fid, 
node_data_field_pager_item_text.field_image_list AS node_data_field_pager_item_text_field_image_list, 
node_data_field_pager_item_text.field_image_data AS node_data_field_pager_item_text_field_image_data, 
node_revisions.body AS node_revisions_body, 
node_revisions.format AS node_revisions_format, 
node.created AS node_created 
FROM car_node node 
LEFT JOIN car_content_type_ddblock_news_item node_data_field_pager_item_text ON node.vid = node_data_field_pager_item_text.vid 
LEFT JOIN car_node_revisions node_revisions ON node.vid = node_revisions.vid 
WHERE (node.status <> 0) AND (node.type in ('ddblock_news_item')) 
ORDER BY node_created ASC

The filesystem is set to public.

ddblock permissions are set to anonymous and users

The cache has been cleared numerous times

The template function glossyblue_preprocess_ddblock_cycle_block_content(&$vars) is called and i can see debug information like the full path of the images :
/drupal/sites/carolepotter.com.drupal/files/table-thanksgiving_1.jpg
and here is the template.php

<?php
/**
 * Return a themed breadcrumb trail.
 *
 * @param $breadcrumb
 *   An array containing the breadcrumb links.
 * @return a string containing the breadcrumb output.
 */
function phptemplate_breadcrumb($breadcrumb) {
  if (!empty($breadcrumb)) {
    return '<div class="breadcrumb">'. implode(' › ', $breadcrumb) .'</div>';
  }
}

/**
 * Allow themable wrapping of all comments.
 */
function phptemplate_comment_wrapper($content, $type = null) {
  static $node_type;
  if (isset($type)) $node_type = $type;

  if (!$content || $node_type == 'forum') {
    return '<div id="comments">'. $content . '</div>';
  }
  else {
    return '<h3 id="comments">'. t('Comments') .'</h3><ol class="commentlist">'. $content .'</ol>';
  }
}

/*!
 * Dynamic display block preprocess functions
 * Copyright (c) 2008 - 2009 P. Blaauw All rights reserved.
 * Version 1.6 (01-OCT-2009)
 * Licenced under GPL license
 * http://www.gnu.org/licenses/gpl.html
 */

 /**
 * Override or insert variables into the ddblock_cycle_block_content templates.
 *   Used to convert variables from view_fields to slider_items template variables
 *
 * @param $vars
 *   An array of variables to pass to the theme template.
 * 
 */
function glossyblue_preprocess_ddblock_cycle_block_content(&$vars) {
 
  if ($vars['output_type'] == 'view_fields') {
    $content = array();
    // Add slider_items for the template 
    // If you use the devel module uncomment the following line to see the theme variables
    //dsm($vars['settings']['view_name']);  
    //dsm($vars['content'][0]);
    // If you don't use the devel module uncomment the following line to see the theme variables
    //drupal_set_message('<pre>' . var_export($vars['settings']['view_name'], true) . '</pre>');
    //drupal_set_message('<pre>' . var_export($vars['content'][0], true) . '</pre>');
    if ($vars['settings']['view_name'] == 'news_items') {
      if (!empty($vars['content'])) {
        foreach ($vars['content'] as $key1 => $result) {
          // add slide_image variable 
          if (isset($result->node_data_field_pager_item_text_field_image_fid)) {
            // get image id
            $fid = $result->node_data_field_pager_item_text_field_image_fid;
            // get path to image
            $filepath = db_result(db_query("SELECT filepath FROM {files} WHERE fid = %d", $fid));
            //  use imagecache (imagecache, preset_name, file_path, alt, title, array of attributes)
            if (module_exists('imagecache') && is_array(imagecache_presets()) && $vars['imgcache_slide'] <> '<none>'){
              $slider_items[$key1]['slide_image'] = 
              theme('imagecache', 
                    $vars['imgcache_slide'], 
                    $filepath,
                    check_plain($result->node_title));
            }
            else {       
drupal_set_message('<pre>' .base_path().$filepath. '</pre>');   
              $slider_items[$key1]['slide_image'] = 
                '<img src="' . base_path() . $filepath . 
                '" alt="' . check_plain($result->node_title) . 
                '"/>';     
            }          
          }
          // add slide_text variable
          if (isset($result->node_data_field_pager_item_text_field_slide_text_value)) {
            $slider_items[$key1]['slide_text'] =  check_markup($result->node_data_field_pager_item_text_field_slide_text_value);
          }
          // add slide_title variable
          if (isset($result->node_title)) {
            $slider_items[$key1]['slide_title'] =  check_plain($result->node_title);
          }
          // add slide_read_more variable and slide_node variable
          if (isset($result->nid)) {
            $slider_items[$key1]['slide_read_more'] =  l('Read more...', 'node/' . $result->nid);
            $slider_items[$key1]['slide_node'] =  base_path() . 'node/' . $result->nid;
          }
        }
      }
    }    
    $vars['slider_items'] = $slider_items;
  }
}  
/**
 * Override or insert variables into the ddblock_cycle_pager_content templates.
 *   Used to convert variables from view_fields  to pager_items template variables
 *  Only used for custom pager items
 *
 * @param $vars
 *   An array of variables to pass to the theme template.
 *
 */
function glossyblue_preprocess_ddblock_cycle_pager_content(&$vars) {
  if (($vars['output_type'] == 'view_fields') && ($vars['pager_settings']['pager'] == 'custom-pager')){
    $content = array();
    // Add pager_items for the template 
    // If you use the devel module uncomment the following lines to see the theme variables
    // dsm($vars['pager_settings']['view_name']);     
    // dsm($vars['content'][0]);     
    // If you don't use the devel module uncomment the following lines to see the theme variables
    //drupal_set_message('<pre>' . var_export($vars['pager_settings'], true) . '</pre>');
    //drupal_set_message('<pre>' . var_export($vars['content'][0], true) . '</pre>');
    if ($vars['pager_settings']['view_name'] == 'news_items') {
      if (!empty($vars['content'])) {
        foreach ($vars['content'] as $key1 => $result) {
          // add pager_item_image variable
          if (isset($result->node_data_field_pager_item_text_field_image_fid)) {
            $fid = $result->node_data_field_pager_item_text_field_image_fid;
            $filepath = db_result(db_query("SELECT filepath FROM {files} WHERE fid = %d", $fid));
            //  use imagecache (imagecache, preset_name, file_path, alt, title, array of attributes)
            if (module_exists('imagecache') && 
                is_array(imagecache_presets()) && 
                $vars['imgcache_pager_item'] <> '<none>'){
              $pager_items[$key1]['image'] = 
                theme('imagecache', 
                      $vars['pager_settings']['imgcache_pager_item'],              
                      $filepath,
                      check_plain($result->node_data_field_pager_item_text_field_pager_item_text_value));
            }
            else {          
              $pager_items[$key1]['image'] = 
                '<img src="' . base_path() . $filepath . 
                '" alt="' . check_plain($result->node_data_field_pager_item_text_field_pager_item_text_value) . 
                '"/>';     
            }          
          }
          // add pager_item _text variable
          if (isset($result->node_data_field_pager_item_text_field_pager_item_text_value)) {
            $pager_items[$key1]['text'] =  check_plain($result->node_data_field_pager_item_text_field_pager_item_text_value);
          }
        }
      }
    }
    $vars['pager_items'] = $pager_items;
  }    
}

The output of the function is :

    * 'news_items'

    * stdClass::__set_state(array(
         'nid' => '27',
         'node_title' => 'Lancement de Cookie Club Birthday',
         'node_data_field_pager_item_text_field_pager_item_text_value' => 'Birthdays',
         'node_type' => 'ddblock_news_item',
         'node_vid' => '27',
         'node_data_field_pager_item_text_field_slide_text_value' => 'Birthdays Slide',
         'node_data_field_pager_item_text_field_image_fid' => '3',
         'node_data_field_pager_item_text_field_image_list' => '1',
         'node_data_field_pager_item_text_field_image_data' => 'a:3:{s:11:"description";s:0:"";s:3:"alt";s:0:"";s:5:"title";s:0:"";}',
         'node_revisions_body' => '

      Dans le prolongement du succès des cours, voici une nouvelle activité, les anniversaires en anglais
      ',
         'node_revisions_format' => '1',
         'node_created' => '1259076104',
      ))

The site is www.carolepotter.com

Comments

ppblaauw’s picture

Status: Active » Postponed (maintainer needs more info)

Your preprocess functions in the template.php file look ok.

I can not view your Internet site

This webpage is not available.

The webpage at http://www.carolepotter.com might be temporarily down or it may have moved permanently to a new web address.

Is the link right?

cpotter’s picture

Yes the link is correct. However there is a redirect to http://www.carolepotter.com/drupal , can you try this ?

ppblaauw’s picture

Ok, the moment I read your reply and reload in the browser your site is there.
I don't see any ddblock content though.

Where and how did you place the dynamic display block on the site?

cpotter’s picture

The DDBlock has been placed to the Footer Region. It is true that you can't see anything in the source, until I uncomment the debug info in the template.php

ppblaauw’s picture

I see the following javascript error:

Uncaught SyntaxError: Unexpected end of input

/drupal/sites/all/modules/lightbox2/js/lightbox.js?c:908

Looks like this file is not totally loaded, it just ends at line 908 in the middle of a function

cpotter’s picture

I don't have this error, on Opera and Firefox (under Linux). Are you sure it is not a browser related issue ? Do you want me to remove the LightBox module ?

ppblaauw’s picture

It takes a long time here to load your Internet site and sometimes I get the webpage not available again.

When I goto http://www.carolepotter.com/drupal/sites/all/modules/lightbox2/js/lightb...

it ends with:

  // getPageScroll()
  // Returns array with x,y page scroll values.
  // Core code from - quirksmode.com.
  getPageScroll : function() {

    var xScroll, yScroll;

    if (self.pageYOffset) {
      yScroll = self.pageYOffset;

Yes, can you disable the lightbox module for now to test if that is a related to this issue.
Can you also place the ddblock in another region, e.g. the content region and make it available on all pages for all users.

Do you have the content permissions module enabled and did you give permission for the fields used with the ddblock module?

cpotter’s picture

I don't have any speed issue, strange.

I don't have the Content Permissions module enabled

I change the theme to Garland and set the block to Content, and now I can see at least the DDBlock title "Les nouvelles 2" with the following source :

<div id="block-ddblock-12" class="clear-block block block-ddblock">

  <h2>Les nouvelles 2 </h2>

  <div class="content">
<!-- block content. -->
<div id="ddblock-12" class="ddblock-contents clear-block" style="visibility:hidden">
 <div class="ddblock-content clear-block">
   </div>
</div>
ppblaauw’s picture

Did you also copy the custom folder from the download to your garland theme and did you add the preprocess function in the garland template.php file?

About the speed issue
also pinging the site with:

ping -a www.carolepotter.com [213.186.33.2] gives request timed out here in the Philippines
Is your Site domain just new?

ADDED still see the javascript error in my browser console

cpotter’s picture

No, the domain is not new at all and I use a professional hosting!!

I switched back to GlossyBlue theme. The fact is that this theme is not working with DDBlock if you select the Footer region. If you select Content it is working (however I don't know why.

A good thing with be to had this trick to the FAQ

Another issue is that when I click on "Read more" it does not go to the page (this problem seems to be ddblock theme dependent, at least with UPRIGHT40

However thank you a lot for your help, we consider this issue as closed ?

cpotter’s picture

Another problem, I would like to have the Pager on the Right side of the Slide (to reduce also the Slide width), must I change the DDBlock theme (UpRight does not do that?)

found in the FAQ :

How can I make the same layout like in the example at http://ddblock.myalbums.biz/node/336 that the pager is in the right side?

We provide 5 free themes for the dynamic display block module. Other theme layouts are for sale. With purchasing a commercial theme you will save time to develop it yourself and help further development of the dynamic display block module. A commercial theme is tested in several browser (see faq). The theme layout in the example is also for sale. You can also make it yourself using your own graphics and customizing the CSS.

ppblaauw’s picture

#10

Don't know why it does not work in your footer region.
Yes, could add in the faq, that users try to add the ddblock in another region when they have issues

For the readmore not going to the node you can find the answer in the faq question: When I click on the read more button it doesn't go to the node itself but it just goes to the next slide. Why?

ppblaauw’s picture

Status: Postponed (maintainer needs more info) » Fixed

#11

You can make your own ddblock theme, use one of the now 16 free themes with the ddblock module (more themes will be donated to the community on our Sunday donation day) or purchase a commercial theme like said in the faq.

Set status of issue to fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.