Since I upgrade to 7.x-2.0-rc1

Notice: Use of undefined constant JS_MODULE - assumed 'JS_MODULE' in zentropy_preprocess_html() (Zeile 87 von /www/htdocs/drupal/sites/all/themes/zentropy/template.php).
Notice: Undefined variable: zentropy_scripts_head in include() (Zeile 66 von /www/htdocs/drupal/sites/all/themes/zentropy/templates/html.tpl.php).

I could remove the last warning about the undefinded variable with the use of isset() in html.tpl.php

<?php if (isset($zentropy_scripts_head)): ?>
<?php print $zentropy_scripts_head; ?>
<?php endif; ?>

instead:

<?php if ($zentropy_scripts_head): ?>
<?php print $zentropy_scripts_head; ?>
<?php endif; ?>

Comments

PESTO3567’s picture

I change JS_MODULE to JS_DEFAULT in template.php is gone. It seems there is no JS_MODULE?

alexweber’s picture

Status: Active » Fixed

@dotmagic, that was my mistake, it's meant to be JS_THEME :) It was fixed in the dev release and should be available in a couple hours.

As far as the warning in html.tpl.php it's been fixed in the dev release yesterday!

Thanks for the feedback!

alexweber’s picture

Status: Fixed » Closed (fixed)

Fixed in 7.x-2.0-rc2!