I want to print the Article id next to the title and I need to get an article id. I used this code:
$article_id = JRequest::getVar('id');
echo $article_id;
And it works great when I'm in article view (article layout). If I try to use this code in the category view (blog layout), I get the category id instead of the article id. How can I get article id in blog layout?
Thanks in advance! Regards, Midhat