It is needed to play videos inside Colorbox. Enabling it on install of the Flickr module would save the site builder having to do it manually and some people don't read README files.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | conditionally_enable_colorbox_inline-2367355-4.patch | 886 bytes | lolandese |
| #3 | conditionally_enable_colorbox_inline-2367355-3.patch | 696 bytes | lolandese |
| #1 | conditionally_enable_colorbox_inline-2367355-1.patch | 692 bytes | lolandese |
Comments
Comment #1
lolandese commentedComment #2
lolandese commentedPHP Parse error: syntax error, unexpected T_STRING, expecting '(' in /home/martin/www/orange/sites/all/modules/flickr/flickr.install on line 11
Comment #3
lolandese commentedComment #4
lolandese commentedWe could as well conditionally set the other variables needed to make Colorbox working out-of-the-box.
Just to make installation a bit more user friendly. Besides
variable_set('colorbox_inline', 1);added both in the install and update hooks:Maybe we should add a note to the installation instructions to enable Colorbox before installing the Flickr module.
Comment #6
lolandese commentedTested both a clean install and an update from 7.x-1.6. All fine as expected.