How I broke my ddblock
"instead of showing the image in the slideshow, it only shows a gray or blank background. The second most common cause of this is the sharing of fields between content types. If you set up a new content type that shares the Image field with the Article content type, the block will break, and it will require edits to the preprocessing functions in template.php found in your theme's root folder to get it working again (unless you removed the shared field from the other content type)."
Well, it seems I managed to do this, blissfully unaware of the ensuing problem that would follow! :)
"If you need to share the image field between content types, included in your theme pack you'll find an alternate version of template.php in the folder 'alternate'. Try using this one instead. "
Unfortunately I don't see an alternate folder in my distribution. :/
help ... :)
Tags:
"instead of showing the image in the slideshow, it only shows a gray or blank background. The second most common cause of this is the sharing of fields between content types. If you set up a new content type that shares the Image field with the Article content type, the block will break, and it will require edits to the preprocessing functions in template.php found in your theme's root folder to get it working again (unless you removed the shared field from the other content type)."
Well, it seems I managed to do this, blissfully unaware of the ensuing problem that would follow! :)
"If you need to share the image field between content types, included in your theme pack you'll find an alternate version of template.php in the folder 'alternate'. Try using this one instead. "
Unfortunately I don't see an alternate folder in my distribution. :/
help ... :)
Of course one should bother checking their distribution before whining.
Rob, I applied the updated template.php, but I'm still riding on the same boat.
Sent another - I'll attach it here for anyone else. :)
| Attachment | Size |
|---|---|
| template.php.txt | 7.8 KB |
Hey Rob,
I sent a help request through the contact form, so forgive the double request. I'm just at a point where we need to launch our site redesign. Our DD block and feature blocks are showing up blank. They looked great the whole time I worked on the design, while I had another theme running on the live site for visitors. You helped me make it so no one but I could see what I was doing with the Stingray theme (until I was ready to launch).
Just in case, I replaced my template.php file as well, bot nothing changed. Do you think you could take a look at the live site and see what may be the matter? I'm happy to send you my login info again. Thank you so much.
David G
Well, I thought I was logged in. That "anonymous" was me. kapopkit.com
Thanks again!
Dude... thank you for this. I went down a separate branch because of this issue to find myself hitting it again.
Thanks for solving this dilemma for me!
I have the same issue (using the image field in 2 different content types). I replaced the template file with the one attached above, but am getting a broken link icon in the DDBlock. The thumbnails show in the pager below, but the code can't find the main image.
The site is a sub-domain under development under my primary domain.
I've sent 2 emails but haven't gotten a response back yet (holiday weekend), so I'm posting here to ask for help.
Sorry for the wait, I had taken the long weekend off. My best guest without looking inside the admin (which I very well might have to do) is not that the template.php file is incorrect, but that a setting in the DDblock config has the DDblock looking for an imagecache preset that doesn't exist - or perhaps it's a bug. I checked the source, and the path to the photo which isn't being display is: sites/default/files/imagecache//images/GreeneTurtle(2).jpg. You'll note that that appears in the path. So first I'd go into Administer > Configuration > Dynamic Display Block, click to configure the block and check the imagecache settings. If nothing jumps out at you I'll probably have to look at the site. Ddblock can just be fussy sometimes.
Thanks for the holiday response. Another testament to great service. I figured you were on vacation for the long weekend, so no worries.
Your best guess was correct. My DDBlock config setting for "Image cache preset settings" was incorrect. I had accidentally unchecked the "Use imagecache presets" setting, so it was set to use a regular "image" instead of the "lead-image-full" preset. I'm pretty sure this happened accidentally when I tabbed through the display while trying to change something else.
This is the 3rd site I've not created using DDBlock, and indeed it is fussy!
Thanks again for your help.



