Published on February 5, 2014
Latch plugin installation in Drupal 7 Latch plugin installation in Drupal 7 Prerequisites Drupal version 7. Curl extensions active in PHP (uncomment "extension=php_curl.dll" or "extension=curl.so" in Windows or Linux php.ini respectively. Getting the module for the integration Getting “Application ID” and “Secret” To get the “Application ID” and “Secret”, (fundamental values for integrating Latch in any application), it’s necessary to register a developer account in Latch's website: https://latch.elevenpaths.com. On the upper right side, click on “Developer area”. Figure 01: “Developer area” in Latch webpage. In the login page, access to “Create an account” link and, in next screen, select “Create a new developer account”, a form will appear where you can fill up the required data. Mandatory fields are name, e-mail and password. Figure 02: Sign in form for developers. Page 1 of 9
Latch plugin installation in Drupal 7 Once completed, an email will be sent, with an activation code to activate the brand new account. Figure 03: Form to fill up with activation code. When the account is activated, the user will be able to create applications with Latch and access to developer documentation, including existing SDKs and plugins. The user has to access again to “Developer area” (https://latch.elevenpaths.com/www/developerArea), and browse his applications from “My applications” section in the side menu. Figure 04: “My applications” section with user's configured applications. Pressing “Add a new application”, the developer may introduce the chosen name to be shown on the mobile app. Figure 05: Creating and application. The name will be shown on the mobile app. Page 2 of 9
Latch plugin installation in Drupal 7 When creating an application, two fundamental fields are shown: “Application ID” and “Secret”, keep these for later use. There are some additional parameters to be chosen, as the application icon (that will be shown in Latch) and whether the application will support OTP (One Time Password) or not. Save the changes and the new application will be shown in the user's application list. The developer may edit them at any time. Figure 06: Created application. It may be edited again at any moment. Download and install Joomla plugin From the side menu in developers area, the user can access the “Documentation & SDKs” section. Inside it, there is a “SDKs and Plugins” menu. Links to different SDKs in different programming languages and plugins developed so far, are shown. Figure 07: Examples of SDKs and plugins available. From “Plugins” section, the “Drupal 7” button will redirect the user to the GitHub repository with the plugin’s source code. On the downright section, “Download ZIP” will download the source code. Page 3 of 9
Latch plugin installation in Drupal 7 Figure 08: Downloading Drupal 7 plugin from GitHub. The user will need to extract the downloaded ZIP (“latch.zip”) to install it as a plugin. Installing the module in Drupal 7 Once the administrator has downloaded the plugin, it has to be added as a module in its administration panel in Drupal 7. Unzip the downloaded plugin and place the whole content inside “modules” folder inside Drupal 7 web, as shown in the figure. Figure 09: Placing unzipped “latch” folder inside modules. Now the administrator can access its configuration via the control panel in Drupal 7. Go to “Modules” in the upper side banner. Page 4 of 9
Latch plugin installation in Drupal 7 At the bottom of the web, the just installed “latch” module will be shown. It has to be enabled, clicking on it and saving this new configuration so Drupal 7 uses it. Figure 10: Enabling “latch” module. Once the configuration is saved, a new menu button will appear in the up side menu with “Latch Config” on it, and a message indicating the configuration it has been saved. This button will be used to introduce “Application ID” and “Secret” data generated before (see figure 05). Press “Save” to save the configuration. Page 5 of 9
Latch plugin installation in Drupal 7 Figure 11: Setting the “Application ID” and “Secret”. Configuring the installed module for the administrator Once the module is installed, a new “Latch Account” button will be shown under “My Account”. The token generated by the Latch app will be added there. Figure 12: Introducing the pairing token for Latch. Configuring the installed module for other users Latch installation in Drupal 6 is allowed only for the administrator by default. For the other accounts in Drupal 6 to use it, the administrator has to enable its permissions. Go to “Permissions” in administrator panel in Drupal 7, from “People” tab in the up side menu. Latch are all under “latch module”. At least “pairing enabled” option should be enabled corresponding to “authenticated user” permissions. No other option is required. Page 6 of 9
Latch plugin installation in Drupal 7 Figure 13: Activating Latch permissions for authenticated users. After saving the changes with “Save permissions”, authenticated users may use Latch without being administrators in Drupal 7. When the permissions are active, authenticated users with no administrator permissions, may pair their accounts with Latch from “My Account”, just as the administrator. Page 7 of 9
Latch plugin installation in Drupal 7 Figure 14: No administrator users can now pair their Latch accounts. Page 8 of 9
Latch plugin installation in Drupal 7 Legal Notice The information disclosed in this document is the property of Telefónica Digital Identity & Privacy, S.L.U. (“TDI&P”) and/or any other entity within Telefónica Group and/or its licensors. TDI&P and/or any Telefonica Group entity or TDI&P’S licensors reserve all patent, copyright and other proprietary rights to this document, including all design, manufacturing, reproduction, use and sales rights thereto, except to the extent said rights are expressly granted to others. The information is this document is subject to change at any time, without notice. Neither the whole nor any part of the information contained herein may be copied, distributed, adapted or reproduced in any material form except with the prior written consent of TDI&P. This document is intended only to assist the reader in the use of the product or service described in the document. In consideration of receipt of this document, the recipient agrees to use such information for its own use and not for other use. TDI&P shall not be liable for any loss or damage arising out from the use of the any information in this document or any error or omission in such information or any incorrect use of the product or service. The use of the product or service described in this document are regulated in accordance with the terms and conditions accepted by the reader. TDI&P and its trademarks (or any other trademarks owned by Telefonica Group) are registered service marks. All rights reserved. Page 9 of 9
README.md LATCH INSTALLATION GUIDE FOR DRUPAL 7 PREREQUISITES. Drupal version 7. Curl extensions active in PHP (uncomment "extension=php_curl.dll" or ...
Before proceeding with your first Drupal installation, ... Installation Guide. System requirements; Step 0: Build development site first; Step 1: ...
-# latch installation guide for drupal 7 + # latch installation guide for drupal 7-## prerequisites + ## prerequisites * ...
For more detailed instructions on how to install Drupal 7 in other ways or in other configurations, see the main Installation guide.
Detailed guides for Latch installation in Wordpress, Joomla, Drupal, PrestaShop and RoundCube ... Latch installation guide for Drupal 7 from elevenpaths.
Drupal Installation Guide for CiviCRM 4.5 - Drupal 7; Tools. Attachments (0) Page History; ... Drupal 7.x: CiviCRM 4.5 is built to run under Drupal 7 ...
Drupal 7; Drupal 8 (active tab) ... Installation Guide; Site Building Guide; Support; api.drupal.org; Drupal Code Base.
7 INSTALL.txt; CONTENTS OF THIS ... A single Drupal installation can host several Drupal-powered sites, each with ... Installation Guide; Site Building Guide;
Drupal 7 Reviewer's Guide. ... These choices decide which modules will be activated upon installation. To install Drupal 7, ... The Definitive Guide to ...
Drupal Basics (7-8) Vortrag mit 84 ... Installation Guide; Site Building Guide; Support; api.drupal.org; Download & Extend; Drupal Core; Modules; Themes;