I think it would be an awesome feature if this module added a new display type at admin/structure/types/manage/[content-type]/display. The ability to limit the visible fields while loaded in a Colorbox would be extremely useful, especially given that the module just prints the content variable. For instance, when displayed in Default mode, you may be using a module such as CCK Blocks to display fields in the sidebar. There may be usecases where you want to pop up the content type in a Colorbox, and display those fields. Having a Colorbox Node Display type at admin/structure/types/manage/[content-type]/display would allow you to set this easily.
Another use case would simply be to reorder the display of content when viewed in a Colorbox. Perhaps you are using a template to lay content out side by side, but in the colorbox, it needs to be in a different order, etc...
Comments
Comment #1
iLLin commentedThis will be available in the next DEV release. It is in this commit:
http://drupalcode.org/project/colorbox_node.git/commit/ba59e3d
Comment #2
Anthony Pero commentedGreat minds :) Is there a way to template the node differently in a tpl file? I suppose that's not really necessary if there is a display type.
Comment #3
iLLin commentedYou could add in a template suggestion based on the display type in hook_preprocess_node I'm sure. But I wouldn't go through the trouble as you said, its not really needed, you would just have an if/else in your template.