Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Node pop-up module create paths for popup node view without any dependency(only Drupal 7 core functionally used for creation popup window).
INSTALLATION
- Place the entire npop directory into your Drupal sites/all/modules/ directory.
- Enable the Node popup (npop) module by navigating to: administer > modules
HOW TO
- Enable module
- Create link.
- Variant 1: Set data-npop="NODE_NID" (recomended)
- Variant 2: Set href attribute as "ajax/npop/node/[nid]/load/nojs", where [nid] nid of node and set link class "use-ajax".
- Done
THEMING
- You can set fields to view in node display settings page admin/structure/types/manage/[NODE_TYPE]/display/npop_ajax
- 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
- Module categories: Content Editing Experience, Content Display
- 393 sites report using this module
- Created by armrus on , updated
- Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.
Releases
7.x-1.8
released 9 October 2023
Works with Drupal: 7.x
✓ Recommended by the project’s maintainer.
Development version: 7.x-1.x-dev updated 9 Oct 2023 at 08:09 UTC