Coder Social home page Coder Social logo

helpfulrobot / silverware-social Goto Github PK

View Code? Open in Web Editor NEW

This project forked from praxisnetau/silverware-social

0.0 2.0 0.0 48 KB

SilverWare Social Module

License: BSD 3-Clause "New" or "Revised" License

PHP 71.45% JavaScript 17.54% CSS 10.17% Scheme 0.84%

silverware-social's Introduction

SilverWare Social Module

Provides a sharing component for use with SilverWare, allowing pages to be shared via a series of sharing buttons for social media services.

Contents

Requirements

Installation

Installation is via Composer:

$ composer require silverware/social

Configuration

As with all SilverStripe modules, configuration is via YAML. Page settings for sharing are applied using the included PageExtension class, allowing sharing to be disabled for certain pages.

Usage

This module provides a SharingComponent for which can be added to a SilverWare template or layout using the CMS. A SharingComponent renders a series of social media sharing buttons for the current page, allowing the user to easily share the page with others.

Included with the repository is SharingButton, which forms a base class from which to extend sharing button implementations, and EmailSharingButton which renders a button for sharing the current page via email.

Buttons can be added and removed using the Buttons tab in the SharingComponent CMS interface.

Disabling Sharing

After installation, this module adds a "Sharing" section to the Settings tab for pages, with a "Sharing disabled" checkbox. Simply check this box for a particular page, and the sharing component will not be shown.

Issues

Please use the GitHub issue tracker for bug reports and feature requests.

Contribution

Your contributions are gladly welcomed to help make this project better. Please see contributing for more information.

Maintainers

Colin Tucker Praxis Interactive
Colin Tucker Praxis Interactive

License

BSD-3-Clause © Praxis Interactive

silverware-social's People

Contributors

colintucker avatar

Watchers

James Cloos avatar helpfulrobot 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.