Skip to content
This repository has been archived by the owner on Mar 31, 2023. It is now read-only.

dachcom-digital/pimcore-shariff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pimcore Shariff

The heise/shariff package needs a lot of dependencies. Use this plugin only if you really need it.

Installation

Handcrafted Installation

  1. Download Plugin
  2. Rename it to Shariff
  3. Place it in your plugin directory
  4. Activate & install it through backend

Composer Installation

  1. Add code below to your composer.json
  2. Activate & install it through backend
"require" : {
    "dachcom-digital/shariff" : "*",
}

Config

Create a shariff.php in website/var/config/

<?php

return [

    "domain" => "www.yourdomain.org",
    "cache" => [
        "ttl" => 0
    ],
    "services" => [
        "GooglePlus",
        "Facebook"
    ]

];

View

<div class="shariff" data-theme="grey" data-service="['facebook']" data-backend-url="http://yourdomain.org/plugins/Shariff/proxy/listen/" data-url="<?=$this->urlHelper()->homeUrl()?>" data-lang="<?=$this->language?>" class="shariff"></div>

Copyright and license

Copyright: DACHCOM.DIGITAL
For licensing details please visit LICENSE.md

Releases

No releases published

Packages

No packages published

Languages