Closed (fixed)
Project:
Zentropy
Version:
7.x-2.0-rc1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Apr 2012 at 15:25 UTC
Updated:
2 Apr 2012 at 23:26 UTC
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
Comment #1
PESTO3567 commentedI change JS_MODULE to JS_DEFAULT in template.php is gone. It seems there is no JS_MODULE?
Comment #2
alexweber commented@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!
Comment #3
alexweber commentedFixed in 7.x-2.0-rc2!