Hello everybody,

I have some problems with the advanced ddblock. I see the theme that i installed, but the picture aren't displayed in it.
Is there someone who can help me?
You can find the preview @ www.vv-design.be/drupal

Thanks in advance!

CommentFileSizeAuthor
#4 Preprocessed.txt2.68 KBdavid_p
#2 templatephp.txt41.04 KBdavid_p

Comments

ppblaauw’s picture

Status: Active » Postponed (maintainer needs more info)

I had a look at your Drupal Internet site and see the images are there in the slideshow.

Did you solve your issue?
Can you explain what was the issue and how you solved it, so this thread is also useful for other users?

david_p’s picture

Priority: Normal » Critical
Status: Postponed (maintainer needs more info) » Active
StatusFileSize
new41.04 KB

Hello,

I have had this problem for one week already. I am relatively new with Drupal (no experience at all programming), and have been trying to set up the advanced slideshow at this page: http://krs.kadchi.com/.

As you can see, there is only a white and grey box; I already checked out the FAQs and didn't help. The error message is "warning: Invalid argument supplied for foreach() in /home/kadchico/public_html/krs/themes/acquia_slate/custom/modules/ddblock/ddblock-cycle-block-content-upright10.tpl.php on line 47." Checked out the suggestion for that warning, and nothing yet.

When I try to preview the slideshow in "Views", I get the following query:

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 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 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

I have attached my template.php. Please give me some guidance, I am at my wits' end.

Thanks a lot.

ppblaauw’s picture

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

#2

Could you uncomment the drupal_set_message debug lines in the preprocess functions and attach the result.

Do you have at least two PUBLISHED nodes?

Can you use the ddblock theme upright50?

Please provide the additional info and check if your nodes are published, so I can help you better.

P.S.
Putting a support request to critical will not speed up getting a quick and good reply (maybe even the opposite), giving detailed information about your issue WILL (Your information is detailed enough to get a good answer).

david_p’s picture

Status: Postponed (maintainer needs more info) » Active
StatusFileSize
new2.68 KB

- Yes, I made sure I have two published nodes (news_item), each one with an image.
- I just changed the theme to upright50

I have attached the results of the uncommented preprocessed functions.

Thanks so much for the quick response (the website belongs to my wife, so it's sort of a family crisis...).

http://krs.kadchi.com

ppblaauw’s picture

Status: Active » Postponed (maintainer needs more info)

Thanks for sending the additional information.

I see in the result of the drupal_set_message debug lines that the view you use is news_items.
In the preprocess function you use news_item (without an s)

    if ($vars['settings']['view_name'] == 'news_item') {

needs to be:

    if ($vars['settings']['view_name'] == 'news_items') {

in both preprocess functions

only one s which makes the difference (ssss, keep quiet about it)

Hope this helps you further, please let me know.

david_p’s picture

YES! Finally, after almost a week, is working out. You are a magician, thank you very much. I just need to start tweeking out the style to make it look how I (and the wife) want it to look.

Thanks again, this is by far the best supported module I ever found in Drupal.

ppblaauw’s picture

Title: Advanced DDblock Images aren't displayed » Advanced DDblock slideshow Images aren't displayed (fixed)
Status: Postponed (maintainer needs more info) » Fixed

Set status to fixed.
Adjusted the issue title.

Status: Fixed » Closed (fixed)

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