function menu_minipanels_preprocess_page in Menu Minipanels 6
Implements template_preprocess_page().
Output the generated MiniPanels.
File
- ./
menu_minipanels.module, line 413 - Allows an administrator to specify a minipanel to be associated with a Drupal menu item. When that menu item is hovered or clicked (as per config), the minipanel content will be shown using the qTip javascript library.
Code
function menu_minipanels_preprocess_page(&$variables) {
// Optionally ignore certain pages.
if (menu_minipanels_excluded_path()) {
return;
}
// Display the previously generated output.
$variables['footer'] .= "\n" . menu_minipanels_panels();
}