Skip to content

AddThis Smart Layers API Integration #39

Description

@doylejd

The Smart Layers API allows you to have more control over how AddThis functions on your website. For more information see: http://support.addthis.com/customer/portal/articles/1200473-smart-layers-api

Initial thoughts on how to do this and to discuss further with @nerdstein and @damontgomery :

  • Create a configuration entity to handle the config?
  • Allow the configuration to be attached to a route? Maybe set a default and allow specific ones to be overridden? My thought is that you will want most of your site to be consistent - but if you have promo pages you might want to allow for alternate options.
  • Could do this at the block level, but that doesn't feel right to me.

Option 2:

  • Provide a new global configuration page for site-wide settings for SmartLayersAPI.
  • Add the SmartLayersAPI config to the AddThisScriptManager and update the JS as needed

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions