Closed (fixed)
Project:
Tournament Bracket
Version:
7.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
19 Mar 2012 at 21:40 UTC
Updated:
18 Feb 2013 at 22:01 UTC
When I enable a core CSS aggregation - layout of bracket becomes broken.
Seems it caused by using Drupal6 drupal_add_css function in bracket templates:
drupal_add_css(drupal_get_path('module', 'bracket') . '/designs/xxxxx/bracket-xxxxx.css', 'theme', 'all', FALSE);
It can be fixed with hardcoding to Drupal7 function invokation
drupal_add_css(drupal_get_path('module', 'bracket') . '/designs/xxxxx/bracket-xxxxx.css', array('preprocess' => FALSE));
Please update calls of drupal_add_css in all templates according to Drupal7 API
Comments
Comment #1
jimbullington commentedCorrected - Thanks!