rod6
09-06-2009, 02:29 PM
I'm trying to insert a gif image right after "hits" number.
if($this->getConfig('showhits') == 1)
{
$output .= "<span class=\"".$csstag."hits\">".JText::_('')." ".$obj->imgcounter."</span><br />\n";
}
Here is a code for an image.
<img src="modules/mod_joompic/ranking_pics/hits.gif"></img>
It just gives me an error anywhere I place the code above.
What is the right coding for this? Thanks.
if($this->getConfig('showhits') == 1)
{
$output .= "<span class=\"".$csstag."hits\">".JText::_('')." ".$obj->imgcounter."</span><br />\n";
}
Here is a code for an image.
<img src="modules/mod_joompic/ranking_pics/hits.gif"></img>
It just gives me an error anywhere I place the code above.
What is the right coding for this? Thanks.