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");
}

CommentFileSizeAuthor
feedbacktab.zip48.29 KBgilmad

Comments

Bevan’s picture

Title: module didn't worked on most themes.. fixed now » Only works on Garland theme
Status: Fixed » Needs work

Can you turn this into a patch?

gilmad’s picture

Title: Only works on Garland theme » how do I do that?
Bevan’s picture

Title: how do I do that? » Only works on Garland theme

Gilmad; Note that you changed the title for the issue. I think you meant to use the comment box?

See http://drupal.org/patch/create