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.

CommentFileSizeAuthor
#8 htaccess.txt8.07 KBanjjriit
#8 template.php_.txt8.83 KBanjjriit

Comments

jrosen’s picture

Status: Active » Closed (fixed)

Never mind... I fixed it. I had a typo in the "Image Folder" path.

In the end, it's always the typing that gets me :)

ppblaauw’s picture

Status: Closed (fixed) » Postponed (maintainer needs more info)

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

jrosen’s picture

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

ppblaauw’s picture

Status: Postponed (maintainer needs more info) » Postponed

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

jrosen’s picture

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

anjjriit’s picture

Component: Code » Miscellaneous

Hello 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

ppblaauw’s picture

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

anjjriit’s picture

StatusFileSize
new8.83 KB
new8.07 KB

@ 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

  1. I install advance slideshow (not basic) tutorial from http://ddblock.myalbums.biz/node/749 (Sorry if I use wrong thread)
  2. domain access http://drupal.org/project/domain, is there any issues about it?
  3. boost http://drupal.org/project/boost,
  4. user permission related with enable checked
    • content_permissions module
      view field_image
      view field_pager_item_text
      view field_slide_text
    • ddblock module
      view dynamic display blocks
    • image module
      view original images
    • imagecache module
      view imagecache image-headline
    • node module
      access content
    • views module
      access all views
  5. Theme tapestry from http://roopletheme.com
  6. I use import method to create cck and views
  7. Image path on cck reset to sites/default/files/[user]/headline ( sorry ,I don't see "ddblock configuration page", where is the location exactly?)
  8. May be my configuration is not correct so I Attach related file (pls see below)
ppblaauw’s picture

Yes, 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.

tracerul’s picture

In my image folder settings from config block i change from sites/default/files to / and it's work now.

kdipen’s picture

Category: bug » support
Priority: Normal » Critical
Status: Postponed » Active

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

ppblaauw’s picture

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

Do you use "slideshow_images" or "slideshow_image" as the folder relative to sites/all/default/files?

kdipen’s picture

Thanks, I found the solutions. I changed the File System path to: "sites/default/files" and kept the folder named "Slideshow_Image".

ppblaauw’s picture

Title: Basic Slideshow Block Not Showing » Basic Slideshow Block Not Showing (Fixed)
Status: Postponed (maintainer needs more info) » Fixed

Set status to fixed

kdipen’s picture

Priority: Normal » Major

fixed

Status: Fixed » Closed (fixed)

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