2017 © Pedro Peláez
 

craft-plugin sharedcount

SharedCount integration into Craft CMS 3.

image

balazscsaba2006/sharedcount

SharedCount integration into Craft CMS 3.

  • Friday, July 6, 2018
  • by balazscsaba2006
  • Repository
  • 1 Watchers
  • 0 Stars
  • 4 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

SharedCount for Craft3

Fred Carlsen's SharedCount plugin ported to Craft 3., (*1)

Requirements

This plugin requires Craft CMS 3.0.0-RC1 or later., (*2)

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., (*3)

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

<?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'
}) %}



    {% for service,count in stats %} {% if count is iterable %}
  • {{ service }}
      {% for key,value in count %}
    • {{ key }}: {{ value }}
    • {% endfor %}
  • {% else %}
  • {{ service }}: {{ count ? count : 0 }}
  • {% endif %} {% endfor %}

The Versions

06/07 2018

dev-master

9999999-dev

SharedCount integration into Craft CMS 3.

  Sources   Download

proprietary

The Requires

 

cms craftcms craft-plugin craft shared count sharedcount

06/07 2018

1.0.2

1.0.2.0

SharedCount integration into Craft CMS 3.

  Sources   Download

proprietary

The Requires

 

cms craftcms craft-plugin craft shared count sharedcount

06/07 2018

1.0.1

1.0.1.0

SharedCount integration into Craft CMS 3.

  Sources   Download

proprietary

The Requires

 

cms craftcms craft-plugin craft shared count sharedcount

20/06 2018

1.0.0

1.0.0.0

SharedCount integration into Craft CMS 3.

  Sources   Download

proprietary

The Requires

 

cms craftcms craft-plugin craft shared count sharedcount