This module would work much better in my opinion if it just opened the forward dialogue in an overlay, so it is simple for the user to get back to the page.

Comments

Drawback would be overlay uses the admin theme

Integration with Colorbox Node would be the way to do it

or overlay_paths

See http://drupal.org/node/1681536 for Colorbox Node integration

Status:Active» Closed (works as designed)

Here is a code snippet that would add the necessary class to a Forward link so that it would popup using the Colorbox Node module:

function XXXXXX_node_view($node, $view_mode, $langcode) {
  if (!empty($node->content['links']['forward_link'])) {
    $node->content['links']['forward_link']['attributes']['class'][] = 'colorbox-node';
  }
}

Replace XXX with the name of your custom module and place this in your custom module source file.

Version:7.x-1.x-dev» 7.x-2.x-dev
Assigned:Unassigned» john.oltman
Status:Closed (works as designed)» Fixed

Native support for Colorbox and Colorbox Node has now been added to the 7.x-2.x branch.

Status:Fixed» Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.