承接 balazscsaba2006/sharedcount 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

balazscsaba2006/sharedcount

Composer 安装命令:

composer require balazscsaba2006/sharedcount

包简介

SharedCount integration into Craft CMS 3.

README 文档

README

Fred Carlsen's SharedCount plugin ported to Craft 3.

Requirements

This plugin requires Craft CMS 3.0.0-RC1 or later.

Install

  • Install with Composer via: composer require balazscsaba2006/sharedcount
  • Navigate to Settings -> Plugins and click the "Install" button

Configure

  • Navigate to Settings -> Plugins and configure settings for SharedCount

Overriding plugin settings

If you create a config file in your config/ folder called sharedcount.php, you can override the plugin’s settings in the Control Panel. Since that config file is fully multi-environment aware, this is a handy way to have different settings across multiple environments.

Here’s what that config file might look like along with a list of all of the possible values you can override.

<?php

return [
    'apiKey' => 'My40CharacterLongApiKey',
];

Supported services

  • Facebook
  • Twitter
  • Pinterest
  • LinkedIn
  • StumbleUpon
  • Google+

Usage

{% set stats = craft.sharedcount.likes({
    url: 'https://www.humandirect.eu/jobs/cluj-napoca/2018-06/full-stack-mobile-app-developer-ios-android'
}) %}

<ul>
{% for service,count in stats %}
    {% if count is iterable %}
        <li>{{ service }}
        <ul>

        {% for key,value in count %}
            <li>{{ key }}: {{ value }}</li>
        {% endfor %}
        </ul>
        </li>
    {% else %}
        <li>{{ service }}: {{ count ? count : 0 }}</li>
    {% endif %}
{% endfor %}
</ul>

统计信息

  • 总下载量: 1.03k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 7
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

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

其他信息

  • 授权协议: proprietary
  • 更新时间: 2018-06-19

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固