1 Nov
2006
1 Nov
'06
11:45 a.m.
Steven Wittens wrote:
As far as I know, theme_add_style() is not and never has been a themable function. In 4.7, it is only once invoked in its themable form, which is obviously as a mistake. And, ironically that's inside theme_maintenance_page(), which is unthemable by definition. The proper function to use in 4.7 is theme('stylesheet_import').
Well, the problem was that 'theme_' prefixes were used in non-themeable function names. This should not have been the practice at the first place, but it is now a known problem, and is getting fixed (in all cases??) in Drupal 5.0. Gabor