Drupal webform module to lightbox popup for feedback

This screencast is about creating own drupal feedback form using webform and lightbox module. We will need this snippet

function my_theme_preprocess_page(&$variables) {
if ($variables['node']->type != "") {
$variables['template_files'][] = "page-node-" . $variables['node']->type;
}
}

-- video removed

Advertisement

Update 2015: Video is dead, I have no copy. TLTR, create custom template page--node--id.tlp.php (or what will be the correct name) file for webform node and link there using ligtbox link sctucture (check light box documentation).

You can hire me for this job if you really need this.

Advertisement

Post is listed in the Drupal category and marked with the following tag(s): Webform.