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

hwi2’s picture

Thanks, you posted this a year ago and still saved me headaches today. This worked!

jvieille’s picture

This change breaks the theme() fuinction.
You cannot control blocks by theme anymore, switch theme depending on IOG groups
see http://drupal.org/node/281643

davad’s picture

Status: Active » Closed (won't fix)

I think this one is no longer relevant. According to #1688136: missing linkedin_profile.css, the file linkedin_profile.css doesn't exist anymore.