I have configured a basic Slideshow Block and it does not show for me. I checked the permissions and all users are set to view the blocks. There are no errors in the Recent Log Entries and no errors in my PHP error_log.
The interesting thing is, if I go to the DDBlock Settings (settings/ddblock) and delete the block (click delete under the options), the dynamic block shows. I can't re-configure the block, though because DDBlock doesn't think it exists anymore, but apparently it does.
This is the second site I am using DDBlock on - the first site I did not have these problems. I even copied the ddblock module folder from my other site and I still can't get it to work. I am at a loss.
Please help.
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | htaccess.txt | 8.07 KB | anjjriit |
| #8 | template.php_.txt | 8.83 KB | anjjriit |
Comments
Comment #1
jrosen commentedNever mind... I fixed it. I had a typo in the "Image Folder" path.
In the end, it's always the typing that gets me :)
Comment #2
ppblaauw commentedCan you explain what was wrong and what you did to solve the issue.
There are some other users with the same issue. Their block does not show up, but the same strange thing happens. When they delete the block it suddenly shows.
See issue: Dynamic Display Block doens't work
You could be of great help to solve their issue.
I hope you know what was wrong and how you solved it.
Comment #3
jrosen commentedI finally figured out that in the "Image Folder" path I had the entire path to my image folder: "sites/all/default/files/slideshow_images". When I had this configuration, the weird block behavior occurred.
When I read the fine print closer, it said to use the relative path, so I changed it to "slideshow_images" and then the block worked as expected.
Could the module do some sort of check that the path exists and give a warning if it is not valid? That may solve the problem I had.
I hope this info helps.
Comment #4
ppblaauw commentedThanks for your explanation and your suggestion to check if the folder exists when the user chooses a folder. (Will try to add this check in the next version of the module and give a warning if it does not exist)
This surely explains why the slideshow did not show up, but I don't know how this would explain the behavior that the block shows up only when you delete it.
Comment #5
jrosen commentedWhen the block showed up after deleting it, it defaulted to the base "sites/all/default/files" path. I also looked through the database and the block was still defined in the blocks table, but not visible from the Admin => Blocks screen.
Comment #6
anjjriit commentedHello Josen, It's along time, i Tink why my ddblock doesn't show is because by path,
In my ddblock content type, i put the image in sites/default/files/[user]/headline, please could you tell me where i have to set "configuration" to use this path for my image. ??
Thanks
Comment #7
ppblaauw commented#6
When your drupal filepath is: sites/default/files, your configuration in the ddblock configuration page should be: [user]/headline
Hope this helps you further, please let me know.
Comment #8
anjjriit commented@ ppblaauw, Thanx fo your quick respons,
After last post, i reset my image back to sites/default/files,create news_item content again, but my image still not shown. so i think my problem is [not] by path.
I still want to put my image on sites/default/files/[user]/headline, so i plan to put it back on.
The other module installed are
view field_image
view field_pager_item_text
view field_slide_text
view dynamic display blocks
view original images
view imagecache image-headline
access content
access all views
Comment #9
ppblaauw commentedYes, confusion surely comes when posting an advanced slideshow question in a basic slideshow thread.
Do you use imagefield, imageapi and filefield for the images or the image module?
When you use the image module the cck content type and view import will not work?
When using the image module with ddblock the preprocess functions in the template.php file need to be adjusted for the images to show up
Can you uncomment the drupal_set_message lines in the preprocess functions and attach the result.
Hope this helps you further, please let me know in a new issue created for this, to keep threads useful for other users.
Comment #10
tracerul commentedIn my image folder settings from config block i change from sites/default/files to / and it's work now.
Comment #11
kdipen commentedPlease Help !
I'm having the same issues - I have configured a basic Slideshow Block and it does not show for me.
if I go to the DDBlock Settings (settings/ddblock) and delete the block (click delete under the options), the dynamic block shows. I can't re-configure the block,
I changed image folder as #3 jrosen recommended from "sites/all/default/files/slideshow_images" to "slideshow_image" and still doesn't work
Thanks.
Comment #12
ppblaauw commentedDo you use "slideshow_images" or "slideshow_image" as the folder relative to sites/all/default/files?
Comment #13
kdipen commentedThanks, I found the solutions. I changed the File System path to: "sites/default/files" and kept the folder named "Slideshow_Image".
Comment #14
ppblaauw commentedSet status to fixed
Comment #15
kdipen commentedfixed