Can support for the Google+ be added?
Along the lines of the existing Facebook support and could be used in the same way. Should be optional.
Along the lines of the existing Facebook support and could be used in the same way. Should be optional.
Yes, it's easy. Just change askbot/skins/default/templates/question.html
:
{% if settings.ENABLE_SOCIAL_SHARING %}
<a class="twitter-share" alt="{% trans %}Share this question on twitter{% endtrans %}"></a>
<a class="fb-share" alt="{% trans %}Share this question on facebook{% endtrans %}"></a>
<script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script>
<g:plusone size="small" count="false"></g:plusone>
{% endif %}
Note that this adds a javascript file from google. I've added this to my git fork.
Please start posting anonymously - your entry will be published after you log in or create a new account.
Asked: 2011-07-14 22:57:48 -0500
Seen: 325 times
Last updated: Jul 21 '11