Hi,

I have created a site with ddb and the images fade in and fade out without being displayed. I have checked in IE8 and FF 3.6 and its the problem persists for both the browsers.

I have downloaded the ddb theme gradient-blue30p from the site.

Can you please help?

Site - www.slaashann.com

Template.php is attached. If any further information is required please let me know.

Thanks.

Regards,
Shamik

CommentFileSizeAuthor
test.zip5.96 KBshamik.dasgupta

Comments

ppblaauw’s picture

Status: Active » Postponed (maintainer needs more info)

Can you attach the result of the drupal_set_message debug lines or the SQL statement of the preview of the view used for the slideshow

shamik.dasgupta’s picture

Hi,

The SQL statement of preview is below. When I look at preview, I can see the news items and the images (not themed ofcourse). If you visit www.slaashann.com, you will see that the ddb is in the home page and you will know the problem I am facing (images fading in and out without being displayed).

Thanks in advance for your help.

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_image.field_image_fid AS node_data_field_image_field_image_fid,
node_data_field_image.field_image_list AS node_data_field_image_field_image_list,
node_data_field_image.field_image_data AS node_data_field_image_field_image_data,
node_revisions.body AS node_revisions_body,
node_revisions.format AS node_revisions_format,
node.created AS node_created
FROM node node
LEFT JOIN content_type_ddblock_news_item node_data_field_pager_item_text ON node.vid = node_data_field_pager_item_text.vid
LEFT JOIN content_field_image node_data_field_image ON node.vid = node_data_field_image.vid
LEFT JOIN 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

regards,
Shamik

ppblaauw’s picture

You need to change 4x in the preprocess functions, 2 times in each preprocess function:

$result->node_data_field_pager_item_text_field_image_fid

into

$result->node_data_field_image_field_image_fid

Hope this helps you further, please let me know.

shamik.dasgupta’s picture

Hi,

Thanks a ton. Its working now. I however have a minor problem. The "Pager Item Text" is showing in gray by default and I am not able to change it. Can you let me know how I can make it white so that it is visible? Currently, it is blending with the image transitions and hence is not visible.

Pl check home page of www.slaashann.com - the Pager Item Text for the first image in ddb is "Perennial Pink" but it is barely visible.

Should I open a separate issue?

Thanks in advance for all your help.

regards,
Shamik

ppblaauw’s picture

Title: Images not displaying in ddb » Images not displaying in ddb (Fixed)
Status: Postponed (maintainer needs more info) » Fixed

Great its working now!!!

You can set the color of the slide-title with:

color: #fff !important;

div.slide-title h2 will become

div.ddblock-cycle-onslide-40p-B div.slide-title h2 {
  color: #fff !important; 
  margin: -5px 0px 0px;
  padding: 0px;
}

Set this issue to fixed

Status: Fixed » Closed (fixed)

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