Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Shareaholic for Drupal Module
PHP JavaScript CSS Other

README.md

Shareaholic for Drupal Module

With the official Shareaholic for Drupal module, Drupal users now have access to the full suite of Shareaholic tools. Drupal site owners and administrators no longer need to fiddle around with HTML or JavaScript to implement Shareaholic. We’ve done all of the hard work for you - it should take less than 5 minutes to install and setup.

Note: This README is for the project while README.txt is the one that is packaged with the module.

Drupal Project Home

https://drupal.org/project/shareaholic

Contributing

  1. Fork the official repository.
  2. Make your changes in a topic branch.
  3. Send a pull request.

Getting Started

This project assumes you have:

  • Drupal 7.x
  • PHP version 5.2.5 or higher

Please follow the installation instructions for Drupal 7.x at the Drupal site to get started

Once you have the server setup with Drupal, clone this repository to your local workspace:

git clone https://github.com/shareaholic/shareaholic_for_drupal.git
git checkout master

All modules in a Drupal site are located in:

/path/to/drupal/sites/all/modules

If you have this repository cloned into your local workspace, you can create a symbolic link for this repository to the Drupal modules location:

ln -s /path/to/your/local/workspace/shareaholic_for_drupal/ /path/to/drupal/sites/all/modules/shareaholic_for_drupal

If you do not prefer this method, you can move this repository over to the Drupal modules path or use some other method. Otherwise, Drupal will not recognize the module.

Then go to your Drupal site signed in as admin, go to Modules and enable the Shareaholic for Drupal module. You should not receive errors and be all set to use/develop the module

Testing

There are a couple of testing frameworks that can be used with Drupal module development but for now we will simply use the built in testing module provided by Drupal core.

You would simply need to enable the module by going to "Modules" and looking for "Testing" module under Drupal core. If you get a memory limit error, increase your memory limit in your php.ini file and restart the server (128MB is the preferred setting)

To run the tests, enable the Shareaholic for Drupal module, go to Configuration->Development->Testing and run some or all the tests for Shareaholic for Drupal

Deploying to Drupal.org

Please refer to the Shareaholic Developer Wiki for deployment instructions

Credits

Shareaholic

shareaholic_for_drupal is owned and maintained by Shareaholic, Inc. The names and logos for Shareaholic are trademarks of Shareaholic, Inc.

Thank you to all the contributors!

License

shareaholic_for_drupal is Copyright © 2014 Shareaholic Inc. It is free software, and may be redistributed under the terms specified in the LICENSE

Something went wrong with that request. Please try again.