Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
How can I disable Lightbox2 CCK formatters??? The list of CCK formatters get so long even if I have only 2-3 Imagecache presets, because Lightbox2 creates several formatter options for every Imageacache preset.
Comments
Comment #1
troyer CreditAttribution: troyer commentedIf you disable them completely, Lightbox2 would be pretty useless with imagecache presets. I agree though that it would be nice to be able to select which formatters you want to make available.
I've changed the title and category to better reflect this.
Comment #2
goofrider CreditAttribution: goofrider commentedGiven the choice, I'd rather completely disable the Lightbox2-created formatters, and just use a checkbox in views (or even use view's link rewriting and add rel="lightbox2" by hand). The same manual config can be done for Display Suite.
Having the option the disable each of them by choice doesn't really remove the complexity, it just moves it from one place to another. I really can't see how it's all that useful either, as whether to use Lightbox or not is more dependent on the view, content type, etc., rather than the imagecache presets.
People who use CCK's "Display FIeld" to use the Lightbox imagecache preset formatters. The only workaround would be using tpl.php files to add rel=lightbox2
Comment #3
Karsa CreditAttribution: Karsa commentedI solved this problem and created a patch for it in #1751666: Decrease the number of field formatters for 7.x.
The problem is, D6 doesn't support field formatter settings, does it?
Any ideas, anyone?