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
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 :
Option 2: