, edited:

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

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.

Leave a Reply

Your email address will not be published. Required fields are marked *

↑ Up