Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
  • Register
Welcome to the Q&A for Question2Answer.

If you have questions about the platform, click here to ask and please use English.

If you just want to try Q2A, please use the demo, which also grants admin access.

Apr 29: Q2A 1.5.2

Twitter icon in version 1.3?

+2 votes
Hi,

I used this code in version 1.2 but it not work in version 1.3 (I find not "case 'question':" line).

Is possible add Twitter icon on questions?
related to an answer for: how to add tweet button in Question
asked Dec 6, 2010 in Q2A Core by andre.ortega

2 Answers

0 votes
I need this answer too please.
answered Feb 13, 2011 by zea
0 votes

in 1.3

 

edit qa-theme-base.php

change 

 

elseif (strpos($key, 'q_view')===0)
$this->q_view($part);
 
to 
 
elseif (strpos($key, 'q_view')===0){
     $this->output('<div id="twitter"><script type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js"></script></div>');    
$this->q_view($part);
 
}
answered Mar 28, 2011 by Hamid