You are here

README.txt in LinkedIn Integration 6

=== LINKEDIN INTEGRATION ===

Maintainers:  Pascal Morin (bellesmanieres) Greg Harvey (greg.harvey) David
Landry (davad) Kyle Mathews (kyle_mathews)

see http://drupal.org/node/919598

/*********************************************
Installation/initial configuration

   See http://drupal.org/node/919412.


/*********************************************
Configuration/Usage

After enabling the module, go to admin/settings/linkedin. You can choose to
display LinkedIn profile data as a tab, as a block, or inside the user profile
page. If you choose to use the block display, you still got enable it at
admin/build/block. There is also a "hidden" display, that will output nothing
but keep the data available under $profile->linkedin in user-profile.tpl.php if
you need more control on the output.  You can choose what fields to retrieve by
using the checkboxes (see http://developer.linkedin.com/docs/DOC-1061 for the
meaning of each), but keep in mind not all fields will output nicely by default
and you will need some theming work to display some of them (This feature is
still in dev, and a few fields lack).  Also beware that the amount of
information returned depends on the relationship (in LinkedIn.com) between the
viewing and the viewed user.  There is currently no ability to map individual
fields to standard core "profile" module fields

Be sure to check users have the permission to display this data. Users have to
link their LinkedIn account to their local Drupal account and to opt-in for
displaying these infos from their preferences at user/%user/edit/linkedin .



/*********************************************
Theming

It provides the following templates :

    * linkedin-user-page.tpl.php : main data output.
    * linkedin-user-page-positions.tpl.php : renders the LinkedIn "positions"
    * items linkedin-user-page-position-item.tpl.php : renders individual
    * LinkedIn "position" item linkedin-user-page-educations.tpl.php : renders
    * the LinkedIn "educations" items linkedin-user-page-education-item.tpl.php
    * : renders individual LinkedIn "education" item

You can also use the following function, that output each individual field item
<?php theme_linkedin_profile_user_page_item($item) ?>

File

linkedin_profile/README.txt
View source
  1. === LINKEDIN INTEGRATION ===
  2. Maintainers: Pascal Morin (bellesmanieres) Greg Harvey (greg.harvey) David
  3. Landry (davad) Kyle Mathews (kyle_mathews)
  4. see http://drupal.org/node/919598
  5. /*********************************************
  6. Installation/initial configuration
  7. See http://drupal.org/node/919412.
  8. /*********************************************
  9. Configuration/Usage
  10. After enabling the module, go to admin/settings/linkedin. You can choose to
  11. display LinkedIn profile data as a tab, as a block, or inside the user profile
  12. page. If you choose to use the block display, you still got enable it at
  13. admin/build/block. There is also a "hidden" display, that will output nothing
  14. but keep the data available under $profile->linkedin in user-profile.tpl.php if
  15. you need more control on the output. You can choose what fields to retrieve by
  16. using the checkboxes (see http://developer.linkedin.com/docs/DOC-1061 for the
  17. meaning of each), but keep in mind not all fields will output nicely by default
  18. and you will need some theming work to display some of them (This feature is
  19. still in dev, and a few fields lack). Also beware that the amount of
  20. information returned depends on the relationship (in LinkedIn.com) between the
  21. viewing and the viewed user. There is currently no ability to map individual
  22. fields to standard core "profile" module fields
  23. Be sure to check users have the permission to display this data. Users have to
  24. link their LinkedIn account to their local Drupal account and to opt-in for
  25. displaying these infos from their preferences at user/%user/edit/linkedin .
  26. /*********************************************
  27. Theming
  28. It provides the following templates :
  29. * linkedin-user-page.tpl.php : main data output.
  30. * linkedin-user-page-positions.tpl.php : renders the LinkedIn "positions"
  31. * items linkedin-user-page-position-item.tpl.php : renders individual
  32. * LinkedIn "position" item linkedin-user-page-educations.tpl.php : renders
  33. * the LinkedIn "educations" items linkedin-user-page-education-item.tpl.php
  34. * : renders individual LinkedIn "education" item
  35. You can also use the following function, that output each individual field item