Enabling "Taxonomy translation" (part of "Internationalization - l18n" module) cause list of galleries collection showed in full width.
without_TT.jpg - list of galleries without Taxonomy translation module
with_TT.jpg - list of galleries with Taxonomy translation module

(Single list of images in galleries are showed properly.)

Other problem is that description about number of pictures or video is gone.
missed code when Taxonomy translation is ON:

<span class="meta-wrapper"><span class="top slider"><span class="top-inner slider"></span></span><span class="meta-outer slider"><span class="meta-inner slider"><span class="media-title">gallery 2</span><span class="media-description"><span>6 images</span>, <span>1 video</span></span></span></span><span class="bottom slider"><span class="bottom-inner slider"></span></span></span>      

Compare without_TT.txt and with_TT.txt

#7 help.jpg210.95 KBfparra
#6 ni_taxonomy.tar_.gz1.75 KBdrfugazi
with_TT.TXT1.1 KBtotap
without_TT.TXT1.48 KBtotap
with_TT.jpg102.16 KBtotap
without_TT.jpg70.48 KBtotap
Membership dollars fund testing for the Drupal project. Drupal Association Learn more


mikewink’s picture

I can confirm that problem running i18n 7.x-1.0-rc2 and 7.x-1.0-beta6. The moment the taxonomy translation module is on the layout breaks because the menu_alter for taking over the term_page is overwritten by i18n's own alter_hook.

To make the media_gallery_menu_alter work again, I "hacked" the weight of the media_gallery module in the system table to -1000. This might help for as long there is no real fix. Maybe this entire page should be added as a default view as noted in the source code.

totap’s picture

Seems that this hack with media_gallery_weight weight= -1000 not help in my case.
I've made that "trick", updated drupal and modules up today (drupal core 7.7, i18n 7.x-1.0-rc2), cleared cashe and nothing changed.

csp’s picture

Same problem with i18n. I'm not able to change the number of column in admin/config/media/galleries.
(Thanks for this wonderful module)

sittel’s picture

Same problem on http://www.365-tage-unterwegs.de/de/gallery-collections/gallery

I have make this:
I "hacked" the weight of the media_gallery module in the system table to -1000.

But no effect on my site. Any Ideas?

dimitriseng’s picture

I am using D7.12 with the latest i18n, media 7.x-1.0-rc3 and media_gallery-7.x-1.0-beta7. I have the same problem, has anybody managed to get this working yet? I also tried the hack in the system table but did not work. Thank you!

drfugazi’s picture

1.75 KB


I had the same problem. My friend wrote a "quick & dirty hack" as a module to fix this.
It is installed on my site:
Drupal 7.12, i18n-7.x-1.4, media-7.x-1.0-rc3, media_gallery-7.x-1.0-beta7

You can install it on your own risk :)
Simply unpack and put it in sites/all/modules and enable in admin/modules
(NETINSANE -> Taxonomy Term Page Workaround)


fparra’s picture

210.95 KB

Provisional Solution:
I needed a early solution to this problem so, I did these steps
1. I did a new view from "add view from template" button and I have choosed "gallery"
2. look to the picture o the view configuration page
3. redirect the button gallery, instead to go to the taxonomy goes to the new gallery

that's all

It works for me, I hope it works to you too



until somebody fix that module

dimitriseng’s picture

@drfugazzi - Thank you for sharing the module, I have given it a quick try and it seems to be working ok. Hopefully somebody can provide a solution for the media gallery based on that.

@fparra - Thank you for sharing you solution, this works and is a good workaround and allows more flexibility, but hopefully this can be fixed in this module.

dimitriseng’s picture

Version: 7.x-1.0-beta6 » 7.x-1.0-beta7
dimitriseng’s picture

Has anybody managed to get this work by patching the media_gallery modules instead of trying the approaches in #6 and #7? As per my comments in #8, they both work but it would be great to get this implemented formally in this module. Thank you.

Marvine’s picture

@drfugazzi & @fparra : Ko for me with :
D7 7.12 , i18n 7.x-1.4 , media_gallery 7.x-1.0-beta7 and media 7.x-1.0-rc3.

Could you help me to apply your solution ?

lsolesen’s picture

Status: Needs work » Active

Setting to active, as there is no patch in this issue.

lsolesen’s picture

Status: Active » Closed (duplicate)
b.one’s picture

@ drfugazi

your patch in #6 works well
tested with :
-Drupal core 7.15
-Media 7.x-1.2
-Media Gallery 7.x-1.0-beta8
-Taxonomy translation 7.x-1.7

NB : I had to flush caches to make it effective

caillou’s picture

@ drfugazi

Thanks, your patch in #6 works well for me too !

tested with :
-Drupal core 7.16
-Media 7.x-1.2
-Media Gallery 7.x-1.0-beta8
-i18n 7.x-1.7