This seems to be the same sort of issue as noted in the Zen theme http://drupal.org/node/253599.

If a sub-theme is enabled based on Nitobe the phptemplate_preprocess_page() function is called twice for each page template in the sub-theme which results in the masthead and js code being added twice.

Changing phptemplate_preprocess_page to nitobe_preprocess_page (and any phptemplate_preprocess_ to nitobe_preprocess_) will resolve this. (and http://drupal.org/node/252430 ensures that sub-themes will use nitobe_preprocess functions).

Comments

Anonymous’s picture

Assigned: Unassigned »
Priority: Normal » Critical

Thanks! I'll tackle this within the next few days.

Anonymous’s picture

Status: Active » Fixed

This fix has been checked into CVS as version 1.16 of template.php and will be in the next release.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.