I am new开发者_如何学运维 to Joomla. I am developing a dynamic module which will display data relevant to the article with which the module is being displayed. Is it possible? If yes, how? Any help is appreciated.
What parameters exactly are you talking about? I think all parameters could be gotten using article ID. And article ID always could be retieved from GET. You could use code like this:
if(JRequest::getVar('option')=='com_content' && JRequest::getVar('view')=='article')
{
$article_id=JRequest::getVar('id');
// then operate with ID.
}
If I'm wrong please specify your needs.
I hope it will be helpfull.
精彩评论