Closed (works as designed)
Project:
AdaptiveTheme
Version:
7.x-1.x-dev
Component:
CSS/HTML
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Jul 2011 at 08:17 UTC
Updated:
6 May 2012 at 15:52 UTC
After a long time of reasearch why the media gallery is not working well with Adaptive Theme I realized, that one
After I added inside template.theme.inc and function adaptivetheme_field just before the comment "Render the items" following code:
$output .= '
and after the end of foreach
$output .= '
';
... the thumbnails were displayed right.
I also copied field.tpl.php from /modules/field/theme to /sites/all/themes/adaptivetheme/adaptivetheme/templates .
Comments
Comment #1
Jeff Burnz commentedOK, so Media Gallery really needs that extra wrapper with the classes? If so we better add it back in by default.
Comment #2
yooz commentedIsn't doing the job for me...maybe you have a patch file...in the case I did'nt got it right?
Comment #3
Jeff Burnz commentedCopying cores default field.tpl.php (in the fields module folder) to your subtheme will work - this will override adaptivetheme_field()
I am going to test with Media Module shortly to see what is going on exactly - I may have to revert adaptivetheme_field to include that extra wrapper div.
Comment #4
Jeff Burnz commentedI did revert this in 7.x-2.x, so this needs backporting I believe to 7.x-1.x.
Comment #5
Jeff Burnz commentedI am going to leave this how it is, I think if I change this now it might break existing sites, better to simply go with the newer version of that does not mess with the wrappers by removing them.