d8-contrib-modules / addthis

Port AddThis to D8
GNU General Public License v2.0
3 stars 13 forks source link

AddThis Smart Layers API Integration #39

Open doylejd opened 9 years ago

doylejd commented 9 years ago

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:

nerdstein commented 9 years ago

@kylebrowning - is this a good use case for a Service?

nerdstein commented 9 years ago

@doylejd - we're working on the Services D8 port that seems similar to what your describing. @kylebrowning would need to provide guidance on if this use case fits the bill

damontgomery commented 9 years ago

@doylejd based on http://support.addthis.com/customer/portal/articles/1216215-what-are-smart-layers- it seems like the use case for these are different. The smart layers is the newer system for them and honestly seems a lot easier to use, but doesn't provide buttons that you can place inline with content.

Maybe smart layers makes sense as a sub module or additional module all together?

Honestly, adding addthis is not that difficult on a site by site basis. As such, I think you will get more benefit from making the functionality of this module very specific and limited. If users want to customize it, they can add the widget themselves. You sacrifice the major use case by adding all of this complexity.