Active
Project:
Floating Windows
Version:
6.x-1.2-beta1
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
23 Jul 2009 at 16:00 UTC
Updated:
31 Aug 2009 at 18:27 UTC
Is there a way to load node or View in window
Comments
Comment #1
skilip commentedSure thing. Just create a callback function in one of your modules and return for example node_view(). The function will pass the url of the clicked link as an argument. In the floating window's configuration, insert the name of your callback function into the 'Form id or content function' input field.
Comment #2
skilip commentedComment #3
jmary commentedI'm interested in more details concerning that as I am trying to load a node created with webform module.
Comment #4
jmary commentedThis does the job for a normal node but not if the node is a webform type whatever is the state of the box to call drupal_get_form()
If the node if a webform type, the first commented line must be used and the box to call drupal_get_form checked but we lose the description.