Opened window example
View mode settings

Node pop-up module create paths for popup node view without any dependency(only Drupal 7 core functionally used for creation popup window).

INSTALLATION

  1. Place the entire npop directory into your Drupal sites/all/modules/ directory.
  2. Enable the Node popup (npop) module by navigating to: administer > modules

HOW TO

  1. Enable module
  2. Create link.
    1. Variant 1: Set data-npop="NODE_NID" (recomended)
    2. Variant 2: Set href attribute as "ajax/npop/node/[nid]/load/nojs", where [nid] nid of node and set link class "use-ajax".
  3. Done

THEMING

  1. You can set fields to view in node display settings page admin/structure/types/manage/[NODE_TYPE]/display/npop_ajax
  2. You can create template node--[node_type]--npop_ajax.tpl.php

Example: for node type "article" create template node--article--npop_ajax.tpl.php

NOTE:

If you use webform, and want to show form on popup frame, please use webform_ajax module (for 4.x support use instructions from issue 2102029)

Supporting organizations: 

Project information

Releases