Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
I have installed the galleria module and put the galleria js files in my libraries folder.
I have also created a content type and a galleria view. I then upload an image and I get this error
Image not found http://localhost/mysitename/sites/default/files/styles/galleria_thumb/pu....
I am running Drupal 7.9.
I also get this error message
Notice: Undefined index: en in theme_views_view_galleria() (line 87 of C:\wamp\www\mysitename\sites\all\modules\galleria\theme\theme.inc).
Comments
Comment #1
kroimon CreditAttribution: kroimon commentedThe Views integration seems to be a little buggy on multi-language and non-english installations.
I'm no Views expert myself, so we need someone to rewrite that part of the module.
Comment #2
Road Kill CreditAttribution: Road Kill commentedYeah I have been hearing a lot about multi-language and non-English installations which seems to be causing problems for a lot of modules, and to be honest I don’t really know much about this multi-language and non-English installations issue. I think I to do some reading on the subject. My php is at best very basic but still learning so I won’t be of much help adding useful code to help solve this problem. However I am always happy to do testing if you need somebody to test patches.
Thanks for the reply.
Comment #3
lukpe CreditAttribution: lukpe commentedQuick & dirty solution - change line 92 in theme.inc from:
$item = $row->_field_data[$view->base_field]['entity']->{$img_field_name}[$lang][0];
to:
$item = $row->_field_data[$view->base_field]['entity']->{$img_field_name}['und'][0];
Comment #4
miro_dietikerDuplicate to
#1193940: Add multilanguage support
Comment #5
Road Kill CreditAttribution: Road Kill commentedThanks Lukpe will give this a try.
Comment #6
dendritic CreditAttribution: dendritic commentedI still get the error with that patch.
Comment #7
maxplus CreditAttribution: maxplus commentedHi,
thanks, #3 worked for me with the current DEV version of Galleria.
Max
Comment #8
bendev CreditAttribution: bendev commented#3 is also working for me.
Is it commited to next release ?
Comment #9
sujomuc CreditAttribution: sujomuc commented#3 worked for me, too. Thanks.