Hello!
I am using Drupal 6.9, and trying to make DDblock rc4 work for my site. I am following the "Quick configuration in 10 steps" (http://ddblock.myalbums.biz/quick_configuration_in_10_steps) guide but all I get is a title, and a blank space underneath, where the picture should be. I have placed 2 jpegs in the /sites/default/files/images/ddblock. Firebug detects that block, but don't know how to proceed. Any ideas?

Comments

ppblaauw’s picture

Status: Active » Postponed (maintainer needs more info)

The directory containing the files should be relative to drupal root, so your path to store the files would be

drupalroot/files/images/ddblock/

instead of

drupalroot/sites/default/files/images/ddblock/

In the next version of the module the path will be relative to the drupal file path in the settings.

Hope this helps you further. please let me know.

oneiropolos’s picture

thank you for you very quick reply!
I put the photos in www/files/images/ddblock and the image folder in the configure block is also /files/images/ddblock, for what is worth I also cleared cache but to no avail. I only get the title :(

EDIT: For some reason after changing the name of the containing folder of the images from files/images/ddblock to /haha/ddblock and editing this also in the configure block of the DDblock, I can now see the images!

strange :O

ppblaauw’s picture

Can you send a link to the website or the source code of the page so I can help you better?
(you can do it on my contact form if you want)

toxiclung’s picture

hi ...
i have the same problem, already made sure of the relative path.

unfortunately, i didn't have the same luck as oneiropolos when moving the folder.
i tried to move "files/images/ddblock" to drupal root and type "ddblock" in block path,
but still wont work. the html source of the block is just empty (see below)..

pls help :)

<div id="block-ddblock-3" class="block block-ddblock unstyled-block">

  <h2>Album</h2>

  <div class="content">

<!-- block content. -->
<div id="ddblock-3" class="ddblock-contents clear-block" style="visibility:hidden">
 <div class="ddblock-content clear-block">
    

  
    
  
  
     <div class="ddblock-container"> 
       
   </div>
    
  

   </div>
</div>



</div>
</div>
oneiropolos’s picture

@toxicLung

placing my photos in www/ddblock didn't work for me either (for some peculiar reason)

try placing it in www/blabla/ddblock :O
I have no idea why but I have a feeling it is going to work !

toxiclung’s picture

hi oneiropolos

i just tried moving it from drupalroot/ddblock to drupalroot/haha/ddblock,
but [aaarggh] still not showing...

anyway, thanks for the prompt advice :D

tL

ppblaauw’s picture

@toxicLung

Still think you path is not ok.

If you set the setting
files/images/ddblock
in the settings of the block

you have to place the images in the directory

[drupalroot]/files/images/ddblock

[drupalroot] is not a real directory but the directory where you installed drupal

so if you place your images in the directory haha/ddblock relative to the root directory of drupal you have to type haha/ddblock in the settings of the block.

hope this helps you further

nstrassner’s picture

I have also followed the 10 steps and cannot get the block displayed.
If I give the module the EXACT path to the files (e.g. "C:\apache2triad\htdocs\flashback\sites\default\files\images\ddimages"), then I at least get a gray box instead of just the block title, but none of the images I have in the folder shows up. I have 8 images and tried 2 and 8 for the display amount, but no joy.

I have tried just about every combo of path, including moving the directory and trying new path combos, but again, no joy.

My site is not accessible publicly at this point.

This is apparently a wonderful module and I would love to have it on my home page, but I wonder why so many have problems getting the block displayed. I am using the Wabi theme, if that makes any difference (?).

-Videoman

nstrassner’s picture

***********************
WOAH! Never mind. I finally got it working by making my path "sites/default/files/images/ddimages". I don't know why it is so fussy!
***********************

ppblaauw’s picture

Category: bug » support
Status: Postponed (maintainer needs more info) » Fixed

You put the files in the directory:

sites/default/files/images/ddimages

Which is a directory relative to the [drupalroot] = where you install drupal

You put the following in the folder setting of the block

sites/default/files/images/ddimages

This is why it works

-----------------------------------------------------------------------
In the next version of ddblock (RC5) the path will be relative to the drupal file path setting

So then you have to put the following in the folder setting of the ddblock module

images/ddimages

if your drupal file path setting is

sites/default/files

hope this makes the issue more clear

nstrassner’s picture

RC5 path change works as promised, thanks!

Jimmel’s picture

Hi

I wasn't too sure where to post this but this issue seems near enough to mine. I am using Drupal 6.9, Firefox and Garland as a test. I have followed the "Quick configuration in 10 steps" but not only do I not see images but I cannot see the block title. I have repeatedly changed the file path settings but none of them seem to bring up the title block let alone the images. Does anyone have any information solution to this problem.

ppblaauw’s picture

Please upgrade to version RC6.

The filepath is changed in version RC5 and higher and is now a filepath relative to the Drupal file path like I said in post #10.

Can you send a link to your site or the page source?

Hope this helps you further. Please let me know.

Status: Fixed » Closed (fixed)

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