HI,

I have been trying to use DDBlock slide show for last 10 days...I tried following tutorial given on
ddblock.myalbums.biz page: http://www.youtube.com/watch?v=Q7OWh7UNdys
and later also
http://summapro.com/drupal-tutorials/ddblock-advance-slideshow-tutorial-...
both the times I able to get the block shown (only grey box or blue box depending on theme) but no images displayed. although checked permissions for anonymous users, when created content tpe made user it is "published".
Checked for similar issues and tried all solutions from clearing cache to checking preprocess functions........don't know where it is going wrong.
site where slide show can be seen:http://internal.itforchange.net/
all required modules are installed and enabled: * ddblock
* jquery_update
* cck
* views
* filefield
* imagefield
* imageapi
* imagecache

I see uploaded images are stored under: sites/default/files but
under admin->site configurations->images
I have set Default image path: 'image' folder. (don't know if that is wrong)
I am attaching template.php file.

Please need help here.

Thanks,
Leena

CommentFileSizeAuthor
template.txt14.58 KBleenark

Comments

ppblaauw’s picture

Priority: Major » Normal
Status: Active » Postponed (maintainer needs more info)

Can you uncomment the drupal_set_message debug lines in the preprocess functions

// drupal_set_message('' . var_export($vars['settings']['view_name'], true) . '');
// drupal_set_message('' . var_export($vars['content'][0], true) . '');
and attach the result?

leenark’s picture

Hi there, thanks for quick reply.

sure, I have uncommented those lines and output is as follows:
it can also be seen here: http://internal.itforchange.net/
*

'news_items'

*

stdClass::__set_state(array(
'nid' => '583',
'node_title' => 'This is Title 1',
'node_data_field_pager_item_text_field_pager_item_text_value' => 'This is text pager 1',
'node_type' => 'ddblock_news_item',
'node_vid' => '583',
'node_data_field_pager_item_text_field_slide_text_value' => '

This is Slide text 1

',
'node_data_field_image_field_image_fid' => '248',
'node_data_field_image_field_image_list' => '1',
'node_data_field_image_field_image_data' => 'a:10:{s:8:"duration";i:0;s:6:"height";i:303;s:5:"width";i:478;s:18:"audio_bitrate_mode";s:0:"";s:18:"audio_channel_mode";s:0:"";s:12:"audio_format";s:0:"";s:13:"audio_bitrate";i:0;s:17:"audio_sample_rate";i:0;s:3:"alt";s:0:"";s:5:"title";s:0:"";}',
'node_revisions_body' => '

Body 1 and also body 1.

',
'node_revisions_format' => '2',
'node_created' => '1298806692',
))

ppblaauw’s picture

In your case you need to change in the preprocess functions for the ddblock slideshow:

$result->node_data_field_pager_item_text_field_image_fid

into

$result->node_data_field_image_field_image_fid

You probably use the field for the image in more content types, that is why CCK generates another name for the field.

Hope this helps you further, please let me know.

See also issue: http://drupal.org/node/1067130
Searching the issue queue can give you direct answers

leenark’s picture

Hi Thanks for this one.
Yes I am able to see images now. http://internal.itforchange.net/
I had seen this solution related to similar issues but it had asked to use otherway if older version of module is being used. Much much thanks for solving this!
Are there any links/tutorials to guide me on how to style the theme for DDBlock?
In my ddblock theme (modest-grey50p) I want to give link to different node for 'Read more" can I do that?

much thanks for your time and patience

Leena

ppblaauw’s picture

You can find the answer to link the readmore button to another URL in the how to:
How to link Read more... button to another page instead of the node

Hope this helps you further, please let me know.

leenark’s picture

HI,

sorry to bother you with questions but you seem to know exactly how to use it, so would want to ask you one problem that I am facing.
If I enable this by admin->blocks the block shows up properly.
But if I add thr' panel (I have front page panel) as a block the images seems to be missing again.
do I need to save the view as block?
anything I am missing here?

Thanks,
Leena

ppblaauw’s picture

You need to add the ddblock instance to the panel, not the views block display.

Hope this helps you further, please let me know.

leenark’s picture

Yes, it did work. I added DDBlock instance thr' panel. Earlier there were two instances of block on same page I guess that is why it was not working. After I disabled one the other (panel one) worked.

much Thanks,
Leena

ppblaauw’s picture

Title: Images don't show in the DDBlock slide show » Images don't show in the DDBlock slide show (Fixed)
Status: Postponed (maintainer needs more info) » Fixed

set status to fixed

Status: Fixed » Closed (fixed)

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

leenark’s picture

Hi,

I have few more difficulties with ddblock slideshow. I have changed custom theme to-Chromatic blue20l, and unable to get pager item numbers. Default style for prev and next is getting picked instead of theme's.
You can see the problem on this link: http://internal.itforchange.net/
I have put all required files for chromatic blue20l theme under 'custom' folder and which is under mu themes folder.
for ddblock configurations:
using cycleblock
custom template: chromatic-blue20l
pager->custom pager,
pager container-> .prev-next-pager (I have taken this from themes css file)

in view I have pager-item-text - it is text but according to theme pager will be number form.
do I need to make any changes to pre-process functions?
Can anyone help me to get to the solution. what I am doing wrong?

much thanks
Leena

ppblaauw’s picture

chromatic blue 20 is a theme with a prev/next pager.
It does not have number pager functionality.

I see in the css file that you added number pager classes, so I assume you want to use a number pager.

The classes for the number pager have to start with

 div.ddblock-cycle-chromatic-blue20l

instead of

 div.ddblock-cycle-chromatic-blue10l
leenark’s picture

Hi there,

thanks for your reply. My mistake since pager items from chromatic-blue20l were not working I had just replaced last few lines from css file of chromatic-blue10l to check if number will work.
But I have reverted back those changes and all classes for ddblock are showing 'div.ddblock-cycle-chromatic-blue20l' now. thanks for pointing it out.
But the problem remains, pager items are coming on left instead of right and no white border around text is seen, which is in css file. I tried to give box float:right; property but didn't work.

"div.ddblock-cycle-chromatic-blue20l div.prev-next-pager{background:#34608E;bottom:11px;display:block;height:40px;position:absolute;width:192px;z-index:100;}
div.ddblock-cycle-chromatic-blue20l div.prev-next-pager-left{left:11px;}
div.ddblock-cycle-chromatic-blue20l div.prev-next-pager-right{right:11px}
div.ddblock-cycle-chromatic-blue20l div.prev-next-pager a{background:#34608E;border:1px solid #fff;color:#fff;display:block;float:lright;font-family:Tahoma,Arial,sans-serif;font-size:.8em;font-weight:bold;height:40px;line-height:40px;margin:0 2px 0 0;position:absolute;text-align:center;text-decoration:none;width:60px;}
div.ddblock-cycle-chromatic-blue20l div.prev-next-pager a#prev2{left:0;}"

I am at loss to see where would I need to make changes.

regards,
Leena

ppblaauw’s picture

#13 you should select prev-next pager instead of custom pager for the pager in the ddblock configuration page.

leenark’s picture

oh! correct. This worked....Thanks a bunch!!!

regards,
Leena

leenark’s picture

yeah the above got solved no doubt!
Just wondering is it possible to show ddblock in fluid width (percentages), so if I design my slide show for lowest res. 800 then it should resize it for 1200 also?

much thanks!
Leena