2017 © Pedro Peláez
 

elgg-plugin elgg-google

Provides Elgg support for various Google products like Analytics, Webmaster Tools, etc.

image

ewinslow/elgg-google

Provides Elgg support for various Google products like Analytics, Webmaster Tools, etc.

  • Tuesday, July 21, 2015
  • by ewinslow
  • Repository
  • 2 Watchers
  • 4 Stars
  • 263 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 1 Versions
  • 2 % Grown

The README.md

Google Tools for Elgg

Provides Elgg support for various Google products: * Plus one buttons * Plus badges * Analytics * Webmaster Tools verification * Google Maps JS API * Google JS API client (gapi.client) * Google JS loader (goog.load), (*1)

Plus one button

To emit a plus one button with the default settings:, (*2)

<?php echo elgg_view('google/plusone', array('href' => 'http://...'));

To specify other settings, just pass them into $vars. For example:, (*3)

<?php echo elgg_view('google/plusone', array('size' => 'small', ...));

See https://developers.google.com/+/plugins/+1button/ for more details., (*4)

Plus badges

To emit a plus badge:, (*5)

<?php echo elgg_view('google/plusbadge', array('href' => 'http://...'));

The href option should be the address of your plus page., (*6)

See https://developers.google.com/+/plugins/badge/ for more details., (*7)

JS API clients

The following javascripts are registered by this plugin: * KEY - SCRIPT * 'google.load' - '//www.google.com/jsapi' * 'google.maps' - '//maps.googleapis.com/maps/api/js' * 'gapi.client' - '//apis.google.com/js/client.js', (*8)

The Versions

21/07 2015

dev-master

9999999-dev

Provides Elgg support for various Google products like Analytics, Webmaster Tools, etc.

  Sources   Download

MIT

The Requires