ewinslow/elgg-google 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

ewinslow/elgg-google

Composer 安装命令:

composer require ewinslow/elgg-google

包简介

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

README 文档

README

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)

Plus one button

To emit a plus one button with the default settings:

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

To specify other settings, just pass them into $vars. For example:

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

See https://developers.google.com/+/plugins/+1button/ for more details.

Plus badges

To emit a plus badge:

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

The href option should be the address of your plus page.

See https://developers.google.com/+/plugins/badge/ for more details.

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'

统计信息

  • 总下载量: 355
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 4
  • 点击次数: 3
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 4
  • Watchers: 1
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-10-25

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固