I followed the external access example and it got it to work in a smarty template:
$title='Why do birds sing?';
$content='And why do they fall in love?';
qa_question_create(null, qa_get_logged_in_userid(), qa_get_logged_in_handle(), qa_cookie_get_create(),
$title, $content, '', $content, $tagstring, false, null, null);
But know I want to output parts of q2a on that website. Lets say the QUESTION BOX or a QUESTION LIST.
and tried to load functions like
But it does not work.
I would be happy if someone could give me an example how this call should look.
I basically want the main area of my questions site showing up on my normal site.
No footer, no header, no sidebar.
Any idea how is the syntax for that ?
The original example works execellent and fills with each reload a new question on my qna site.