Enabling "Taxonomy translation" (part of "Internationalization - l18n" module) cause list of galleries collection showed in full width.
Attachements:
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
Comments
Comment #1
Anonymous (not verified) commentedI 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.
Comment #2
totap commentedSeems 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.
Comment #3
csp commentedSame problem with i18n. I'm not able to change the number of column in admin/config/media/galleries.
(Thanks for this wonderful module)
Comment #4
sittel commentedSame 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?
Comment #5
dimitriseng commentedI 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!
Comment #6
drfugazi commentedHi,
I had the same problem. My friend wrote a "quick & dirty hack" as a module to fix this.
It is installed on my site:
http://mps.drfugazi.eu.org/en/gallery
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/modulesand enable in admin/modules(NETINSANE -> Taxonomy Term Page Workaround)
Regards
Comment #7
fparra commentedProvisional 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
Regards
Fabian
until somebody fix that module
Comment #8
dimitriseng commented@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.
Comment #9
dimitriseng commentedComment #10
dimitriseng commentedHas 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.
Comment #11
Marvine commented@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 ?
Comment #12
lsolesen commentedSetting to active, as there is no patch in this issue.
Comment #13
lsolesen commentedAs far as I can see, this is a duplicate of #1333674: Conflicts with other modules so media_gallery_collection not called which creates Huge Images On Main Gallery Page
Comment #14
b.one commented@ 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
Comment #15
caillou commented@ 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