When a user tries to Edit their profile once they have connected with LinkedIn, they are given a blank page. My debugger states that there is no page at linkedin_profile/linkedin_profile.css
I have tried to add linkedin_profile.css to no avail. There was not a standard one shipped with the module. What can I do to fix this problem?

Thanks!

Comments

socialnicheguru’s picture

Version: 6.x-1.x-dev » 7.x-1.x-dev

this in in Drupal 7 and Drupal 6.

There is no linkeidn_profile.css

jvieille’s picture

Title: When users goes to Edit after linking account, no page display » missing linkedin_profile.css

All versions.

davad’s picture

Status: Active » Postponed (maintainer needs more info)

I'm not able to reproduce this. Can someone post more details?

jvieille’s picture

Just enable linkedin profile module. It looks for this css, which is not part of the module, trowing javascript error on any page.
Just add any file that is named linkeidn_profile.css (I copied linkeidn_status.css) and the error goes.

Or look at the module code that this css is called, and check the files shipped with the module, where it is not.

jvieille’s picture

Please correct this bug.
The file does not exist, but it is called by the module
See linkedin_profile.module

function linkedin_profile_init() {
  global $theme_path;
  $li_css = $theme_path . '/linkedin_profile.css';
  if (file_exists($li_css)) {
    drupal_add_css($li_css);
  }
  else {
    drupal_add_css(drupal_get_path('module', 'linkedin_profile') . '/linkedin_profile.css');
  }
  module_load_include('pages.inc', 'linkedin_profile');
}