Community Documentation

Status update & Authentication

Last updated September 22, 2010. Created by bellesmanieres on September 22, 2010.
Log in to edit this page.

LinkedIn Status Update and LinkedIn Authentication are part of the LinkedIn Integration module.

Status Update
Let users update their LinkedIn Status when creating/updating content or leaving comments.

Installation/ Initial setup

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

Configuration/Usage

After enabling the module, go to admin/settings/linkedin. You can enable/disable Status Update availability per content type, for comments (and event sign-ups if you use the module.)
For each, you can also specify a default message that will be posted (and use placeholders for node title, url)
Don't forget to set the permissions for users accordingly.
Users have to link their LinkedIn account to their local Drupal account from their preferences at user/%user/edit/linkedin.
Beware, text is limited to 140 characters

Authentication
Let users login to a Drupal site using their LinkedIn account.

Installation/ Initial setup

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

Configuration/Usage

After enabling the module, go to admin/settings/linkedin. You can display the "Login with LinkedIn" link under the standard login form page, under the standard login form block, or as a stand-alone block. Note that if you choose the stand-alone block, you still got to enable it at admin/build/block.
Users have to link their LinkedIn account to their local Drupal account from their preferences at user/%user/edit/linkedin. If a visitor click on the link without having tied the two accounts together, he will be asked to either login or register as new user and redirected accordingly.

Theming

It provides the following theme function for the "Login with LinkedIn" link :

<?php
theme_linkedin_auth_display_login_block_button
($display = NULL, $path = 'linkedin/login/0', $text = 'Log in using LinkedIn')
?>

$display will be either 'drupal_login_page' 'drupal_login_block' 'linkedin_login_block', respectively for standard login form page, standard login form block, and stand-alone block.

About this page

Drupal version
Drupal 6.x
Audience
Designers/themers, Site administrators

Site Building Guide

Drupal’s online documentation is © 2000-2013 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution-ShareAlike 2.0. PHP code is distributed under the GNU General Public License. Comments on documentation pages are used to improve content and then deleted.