Hi,

Thanks for the great theme. I have used it on many projects.

I have just started a project that uses many custom view modes. I was surprised to find that image captions are limited to the default view modes only. Perhaps it would be good (and not that difficult) to add a third option to the captions settings for "All Modes". I temporarily overcame this limitation by hacking the theme.inc file and adding a extra simple "if" statement at line 614:

      if ($vars['field_view_mode'] == !NULL) {
          $output .= '<figcaption class="caption teaser-caption"' . $styles .'>' . $item['#item']['title'] . '</figcaption>';
      }

Again, thanks for all our work.

Comments

Jeff Burnz’s picture

True, its almost a bug really, I can look into detecting view modes and dynamically showing them in theme settings, not entirely sure if that is possible. An "all" view mode is probably a good idea also.

Jeff Burnz’s picture

Heads up this is done in the Drupal 8 version (soon to be committed), I am not sure I have time to get this into the next version of AT on D7. I have very little time to work on new features because of the pressures of getting ready for D8, once those ease off I can come back to this (D7 is going to be around for a long time yet I think).

danielstrum’s picture

Thanks Jeff.