I followed your instruction step of advance ddblock configuration (upright40 theme) but it doesn't seem to work (please see the attach file) . I'm not sure what cause the problem so I attached the preprocess function with the issue.

Anyone please suggest, Many thanks !!!

Comments

ppblaauw’s picture

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?

Do you have a link to the slideshow on your Internet site?

nokyoong’s picture

StatusFileSize
new171.85 KB
new49.24 KB

Thanks for your quick response.Here is the result after uncomment as you suggested. (.zip is screen recording to show how the ddblock behave)

Many thanks !!!

ppblaauw’s picture

The variables in the preprocess functions seem ok.
Can you clear the cache at administer > site configuration > performance?

When you look in the page_source of the page do you see the images in the slideshow.
Do you use imagecache?
Maybe its a permission issue on the server, drupal can not read or generate the imagecache images

Do you have a link to your Internet site?

nokyoong’s picture

StatusFileSize
new720.01 KB
new51.18 KB

Oh. Thanks a lot !!! One issue solved. The images do not appear because of imagecache doesn't allow to generate images.

Btw, I still saw some bugs on the slideshow (I draw red circles around them, in the attach file). How can I fix them ?

Many thanks !!!

ppblaauw’s picture

The other issues has to do with the css of your overall theme interfering with the slideshow theme.
For the number pager probably a float is different.
For the vertical lines there is probably css for the class border.
You can remove the border class from the template files of the slideshow
or override the border class for the slideshow

Hope this helps you further, please let me know.

nokyoong’s picture

Oh.. Thanks a lot for your quick response. Another thing, how can I change the image slideshow size (Width x Height) ?

Many thanks !!

ppblaauw’s picture

Slideshow sizes are changed in CSS

nokyoong’s picture

If I use upright40, do I have to edit size at ddblock-cycle-upright40.css file ?

Thanks !

delibob’s picture

StatusFileSize
new1.64 KB

i am having the same issues

'news_items'
stdClass::__set_state(array(
'nid' => '222',
'node_title' => 'xxxxxxxx',
'node_data_field_pager_item_text_field_pager_item_text_value' => 'Bob and Karen',
'node_type' => 'ddblock_news_item',
'node_vid' => '223',
'node_data_field_pager_item_text_field_slide_text_value' => 'www.xxxxxxxx.biz',
'node_data_field_image_field_image_fid' => '53',
'node_data_field_image_field_image_list' => '1',
'node_data_field_image_field_image_data' => 'a:2:{s:3:"alt";s:0:"";s:5:"title";s:0:"";}',
'node_revisions_body' => 'xxxxxxxxx',
'node_revisions_format' => '1',
'node_created' => '1298150855',
))

delibob’s picture

StatusFileSize
new1.64 KB
ppblaauw’s picture

@delibob

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.

delibob’s picture

thank you, it works.
thank you agian.

grateful’s picture

Title: Advance DDBlock doesn't show image » Advance DDBlock shows too much info when clicked
Version: 6.x-1.0-rc6 » 7.x-1.x-dev
Component: Code » User interface
Status: Postponed (maintainer needs more info) » Active
StatusFileSize
new97.64 KB
new71.84 KB

Sorry but I am at a loss. The slideshow is fine. But when I click on image the next page as the image and slide text and page text. I do not want that and can't find an answer. Please help?

grateful’s picture

Status: Active » Closed (fixed)
StatusFileSize
new81.2 KB

Change field label and format to Hidden in Content Type ! By the way I am below a newbie. I am totally lost. It took me 14 hours to fix this one issue.

ppblaauw’s picture

Version: 7.x-1.x-dev » 6.x-1.0-rc6

#13
Great it works now!!!

Drupal has a steep learning curve, we all experienced it when starting with Drupal. But what can you expect, it has a lot of functionality. With experience you find out where and how you can customize Drupal. Expect it will take time and a lot of reading.

Set version back to 6.x-1.0-rc6.
Please create separate issues for different versions of the module, or better create a separate issue for each issue if the same issue is not posted yet. This way issues are and stay useful for other users.