Giter Club home page Giter Club logo

contao-shariff's Introduction

Shariff โ€“ Social media buttons with privacy

Contao CMS module and content element providing Shariff. For more information about Shariff, please refer to heise online.

Features

Provides sharing links for:

  • AddThis
  • diaspora*
  • facebook
  • Flattr
  • Flipboard
  • LinkedIn
  • Mail (via mailto:)
  • Pinterest
  • Print
  • Qzone
  • reddit
  • StumbleUpon
  • Telegram
  • Tencent Weibo
  • Threema
  • Tumblr
  • Twitter
  • VK
  • Weibo
  • WhatsApp
  • XING

You can choose your preferred service in the backend module or in the content element.

NOTE: For the time being, hofff/contao-shariff does not support the info button that links to the heise website. We do not think this is necessary at the moment, but might include it in the future.

Options

  • Choose a predefined or use the current URL for sharing
  • Add a predefined sharing text instead of page title
  • Add referrer track to URL
  • "Twitter via" integration
  • Add an email subject
  • Add an email text
  • Alignment: horizontal or vertical
  • Color theme: standard or gray
  • Display number of shares

IMPORTANT:

To use the social media icons in the frontend, you have to include Font Awesome. Since Shariff v3 only Font Awesome v5 is supported. So just add the CSS <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous"> to your layout. You also have to include jQuery.

Installation

Add via Contao-Manager or run the composer command from the CLI inside your Contao root directory: composer require hofff/contao-shariff (requires composer to be installed globally)

contao-shariff's People

Contributors

backbone87 avatar frontendschlampe avatar plorenz-etes avatar dmolineus avatar mbattista avatar ainschy avatar toflar avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.