Heya
I'm really stuck with this :(.
I'm trying to load the overview of a single question, much like you would find on the front page of Q2A, but a single question instead of a list, and in a blank page.
So far I have been able to load the single question template when I use the request 'embed' as follows:
function body_content() {
$this->body_prefix();
@$embed=($_REQUEST['embed']);
if (!empty($embed)){
$this->template == 'questions';
$this->q_item_main();
}else{
this->output('Regular body');
}
}
However when I call this in to effect with a url such as:
http://www.mydomain.com/?qa=1&qa_1=how-to-embed-a-single-question&embed=yes
The singular question template 'q_item_main()' is full of 1s!.
Does anybody know how to pass the correct information for a desired question q_item_main(HERE) ?
Or is there something else I should be doing to load a single question overview ?
Thank you kindly :D