when I installed this module it didn't work for my custom theme (or any other theme I had except Garlend..)
this is the solution I used:
instead of using all the reprocess function I put the code in the hook_init() works like a charm :)
function feedbacktab_init() {
// @todo Make these settings extensible and configurable with an
// admin/settings/feedbacktab UI.
$settings = array('iframeUri' => variable_get('feedbacktab_iframe_uri', FALSE));
drupal_add_js(array('feedbacktab' => $settings), 'setting', 'footer');
$path = drupal_get_path('module', 'feedbacktab') . '/assets';
// Source jQuery UI libraries.
// drupal_add_js("$path/ui/ui.core.js");
// drupal_add_js("$path/ui/ui.dialog.js");
// drupal_add_js("$path/ui/effects.core.js");
// drupal_add_js("$path/ui/effects.bounce.js");
// Concatenated and minified jQuery UI libraries.
drupal_add_js("$path/jquery-ui-1.6.custom.min.js", 'module', 'footer', TRUE);
// The jQuery UI theme – 'Smoothness'.
drupal_add_css("$path/ui.all.css");
// This module's own stuff.
drupal_add_js("$path/feedbacktab.js", 'module', 'footer', TRUE);
drupal_add_css("$path/feedbacktab.css");
}
| Comment | File | Size | Author |
|---|---|---|---|
| feedbacktab.zip | 48.29 KB | gilmad |
Comments
Comment #1
Bevan commentedCan you turn this into a patch?
Comment #2
gilmad commentedComment #3
Bevan commentedGilmad; Note that you changed the title for the issue. I think you meant to use the comment box?
See http://drupal.org/patch/create