Having a lot of trouble trying to get my head around this, so any assistance you might have would be greatly appreciated!
I am implementing a third party rate-this-article tool to the news section on my site, however I am having trouble accessing the news article title from my user defined tag (need to do this so I can write the article title and its rating to a flat file). The following does not work (no errors, just outputs blank string), could anyone let me know where I am going wrong?
Code: Select all
global $gCms;
$module =& $gCms->modules['News']['object'];
$ratingtitle= $module->news_title;
echo show_rating($ratingtitle,5);lampsie


