Ask Your Question

Can support for the Google+ be added?

asked 2011-07-14 22:57:48 -0500

mether's avatar

updated 2011-07-21 15:20:22 -0500

Evgeny's avatar

Along the lines of the existing Facebook support and could be used in the same way. Should be optional.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2011-07-21 06:51:08 -0500

NoahY's avatar

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=""></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.

edit flag offensive delete link more


Very nice, thank you!
Evgeny's avatar Evgeny  ( 2011-07-21 15:04:51 -0500 )edit
thank you for askbot, it's the least I can do to help :)
NoahY's avatar NoahY  ( 2011-07-23 08:26:20 -0500 )edit
Is this merged in 0.7.9? I haven't gotten it working
mether's avatar mether  ( 2011-08-01 07:12:52 -0500 )edit
google +1 works for me, maybe you need to increment media revision - in "UI and skin settings"? It also may be disabled on your site - take a look in the sharing settings.
Evgeny's avatar Evgeny  ( 2011-08-01 08:33:37 -0500 )edit
I noticed that google+ support has disappeared in this site after the latest update and I can't figure out how to enable this yet.
mether's avatar mether  ( 2011-08-05 03:47:37 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2011-07-14 22:57:48 -0500

Seen: 325 times

Last updated: Jul 21 '11