You are here

function flickr_update_7102 in Flickr 7

Enable 'Colorbox inline' to allow playing videos inside Colorbox.

File

./flickr.install, line 143
The Flickr database schema and uninstall hook.

Code

function flickr_update_7102() {
  if (module_exists('colorbox')) {
    variable_set('flickr_class', 'colorbox');
    variable_set('flickr_rel', 'gallery-all');
    variable_set('colorbox_inline', 1);
  }
  elseif (module_exists('lightbox2')) {
    variable_set('flickr_rel', 'lightbox[gallery]');
  }
}