Hi,
I'm currently using CCK Views, Imagefield, filefield, and Lightbox2, and when I create a table view and have it listed, I would like to be able to click on the listed "Generic files" anchors and have a Lightbox window open. Viewing the source for the link that filefield generates, it simply generates the link and name of the files( ie. abc ). I was looking at the source "filefield_formatter.inc" and on line 65 where it does the anchor formatting, I don't know which option to give it so I can add an additional attribute named "class=preview" in order to have Lightbox treat that as a proper link. In essence, I would like it to output the following: abc.
Unless there's an option somewhere that I missed, please point me in the right direction. Thanks and keep up the great work!
Comments
Comment #1
dopry commentedI would suggest overriding theme functions to get the output you need for now... there isn't a facility for overriding class names currenlty.