Closed (fixed)
Project:
Dynamic display block
Version:
6.x-1.0-rc6
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
19 Feb 2010 at 22:13 UTC
Updated:
23 Mar 2010 at 02:30 UTC
Jump to comment: Most recent file
Comments
Comment #1
ppblaauw commentedI 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?
Comment #2
david_p commentedHello,
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.
Comment #3
ppblaauw commented#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).
Comment #4
david_p commented- 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
Comment #5
ppblaauw commentedThanks 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)
needs to be:
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.
Comment #6
david_p commentedYES! 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.
Comment #7
ppblaauw commentedSet status to fixed.
Adjusted the issue title.