AdamPS / rrssb-plus

Ridiculously Responsive Social Sharing Buttons Plus
http://www.albanyweb.co.uk/rrssb-plus
MIT License
15 stars 6 forks source link

Instructions for use outside Drupal #2

Closed wnoble2005 closed 5 years ago

wnoble2005 commented 6 years ago

I simply downloaded and used your files in place of the original code, but yours do not work. Please advise.

http://q4q.com/rrssb_plus/

versus original

http://q4q.com/rrssb/

Apparently the documentation for using the library outside Drupal is not provided.

AdamPS commented 6 years ago

Apologies you are quite right. Almost all users of RRSSB+ are using it within Drupal, and this documentation got left out. I will write it up properly as soon as I get a chance.

Basically the answer is to copy the layout of the demo page by examining it in your browser debugger/inspector or looking at the source.

Look out for the section starting like this <div class="rrssb" <div class="rrssb-prefix"\>Share this page</div> <ul class="rrssb-buttons"\> <li class="rrssb-googleplus"\>

As you can see it's similar to the original RRSSB, but not identical.

wnoble2005 commented 6 years ago

Worked. Thanks! http://q4q.com/rrssb_plus/index2.html

AdamPS commented 5 years ago

Finally done!