I have a node being pulled into a modal with overlay using Colorbox Node but it's pulling in more markup and pieces of the page than I really want.

After trying to pick through some user threads on drupal.org, the only solutions I saw suggested were ones that only work for Drupal 6 and/or break when page caching is enabled.

Is there a robust way to template the output of nodes in modals in Drupal 7?

1 Answer 1


Colorbox Node creates a new display mode for each content type - that's where you can change the fields shown.

Structure -> Content Types -> 'manage display' on the content typ ein question - in the top right, select the 'Colorbox' display mode and adjust what shows and doesn't show as needed.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.