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.


nevets’s picture

Drawback would be overlay uses the admin theme

jglynn’s picture

Integration with Colorbox Node would be the way to do it

SocialNicheGuru’s picture

or overlay_paths

jglynn’s picture

See for Colorbox Node integration

john.oltman’s picture

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.

john.oltman’s picture

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.