That only works for PHPNuke.
For PostNuke you will need to put some code in summary.html and article.html
Replace
Code:
<div style="float:left;padding:5px;">
<!-- [topic-image] -->
</div>
With
Code:
<div style="float:left;padding:5px;">
<? // look for topic image in theme
if (file_exists("themes/".$GLOBALS['thename']."/images/topics/".$info['topicimage'])) {
$image = "themes/".$GLOBALS['thename']."/images/topics/".$info['topicimage'];
// if not found in theme, use default one
} else {
$image = "images/topics/".$info['topicimage']; }
echo "<img src=\"$image\" border=\"0\" alt=\"".$info['topicname']."\">
";?></div>
|