Closed (fixed)
Project:
jcarousel block
Version:
6.x-1.6
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Mar 2009 at 17:44 UTC
Updated:
2 Mar 2011 at 01:05 UTC
Block shows when imagefield has no images in it. Currently I am using the "show on all pages except" display permission set in the block administration section-- but this doesn't help with new content added by non-admin users.
Is there a pending fix, or a php snippet I could put in the block admin settings?
My issue seems identical to this one: http://drupal.org/node/314168?mode=2&sort=2
Comments
Comment #1
rgammon commentedTemporary fix: Add the following to jcarousel_block/includes/imagefield.inc (insert line 27):
Comment #2
doomed commentedI'm having the same problem on v1.6 .
This wasnt happening before.
But yesterday i upgraded my Drupal installation from 6.9 to 6.10 and then upgraded CCK and a few other modules and since then, i'm having this problem.
Comment #3
doomed commentedI just updated to the last version (6.x-1.x-dev from March 20th, 2009) and the same thing still happens.
So i applied rgammon's mini-fix and all is well.
I dont like that we have to hardcode the fieldname but at least it works.
Thanks rgammon.
I hope yang_yi_cn looks at this soon :)
Comment #4
yang_yi_cn commentedhttp://drupal.org/cvs?commit=187560
committed
Comment #5
Heilong commentedHi,
I have the same problem, I applied the fix but it didn't work as expected.
I have applied on a cck imagefield source of 4 images, when I upload for example just 2 of 4 images using imagefield, in the carousel view I have the 2 images and 2 question marks "?" under safari, because I uploaded only 2 images, and under firefox I have 2 blank squares.
Moreover the thumbnails in the carousel are not fitting in it...
Any ideas ?
Thanks,
Comment #6
doomed commentedWhich fix have you applied?
rgammon or the new dev version from yang?
As for the thumbnails problem, check the Documentation on this site.
Comment #7
Heilong commentedI just applied the new dev version by yang, but it didn't change anything, for the thumbnails fitting problem it's a CSS conflict I guess.
Comment #8
Heilong commentedJust to change the topic status, I tried to fix it but it still didn't...
Comment #9
doomed commentedI didnt apply the new version yet, will report later.
About the thumbnails, yes its a CSS thing: http://drupal.org/node/405650
Comment #10
pfismvg commentedchange the following function in jcarousel_block/includes/imagefield.inc
this fixes this issue without hardcoding the fieldname
Comment #11
yang_yi_cn commentedcommitted, new release rolled.