In modules linkedin_profile and linkedin_status, line 11-13, the global variable $theme_path is not initililazed at the moment of hook_init execution, so it is good to replace:
global $theme_path;
$li_css = $theme_path . '/linkedin_profile.css';
with
$li_css = path_to_theme() . '/linkedin_status.css';
Comments
Comment #1
hwi2 commentedThanks, you posted this a year ago and still saved me headaches today. This worked!
Comment #2
jvieille commentedThis change breaks the theme() fuinction.
You cannot control blocks by theme anymore, switch theme depending on IOG groups
see http://drupal.org/node/281643
Comment #3
davad commentedI think this one is no longer relevant. According to #1688136: missing linkedin_profile.css, the file linkedin_profile.css doesn't exist anymore.