Hey guys.
There's not much I can say on the matter as i'm not a php master at all but i'm trying to edit this code:
<table id="reviewListingTable" <?php if(count($this->Reviews) == 0) echo "style='display:none'"; ?> >
<tr>
<th><?php echo $this->ReviewHeadings->title1Name;?></th>
<th><?php echo $this->ReviewHeadings->title1Name;?></th>
<th><?php echo $this->ReviewHeadings->title2Name;?></th>
<th><?php echo $this->ReviewHeadings->title3Name;?></th>
<th><?php echo $this->ReviewHeadings->rating;?></th>
<th><?php echo $this->ReviewHeadings->reviewer;?></th>
<th><?php echo $this->ReviewHeadings->date;?></th>
</tr>
<?php
$isAlt = false;
foreach($this->Reviews as $r):
$css = $isAlt ? 'odd' : 'even';
$isAlt = !$isAlt;
?>
<tr class="<?php echo $css;?>">
<td><img src="<?php echo $r->thumbnailURL;?>"></td>
<td><?php echo $r->title1;?></td>
<td><?php echo $r->title2;?></td>
<td><?php echo $r->title3;?></td>
<td><?php echo $r->rating;?></td>
<td><?php echo $r->reviewer;?></td>
<td><?php echo $r->date;?></td>
</tr>
<?php endforeach?>
</table>
What i've done is add a td to show a thumbnail url that's dragged from the admin panel of my cms. Right now that code links the img src to the root of the site.
Here's the site:
http://highriserocks.com/rockon/index.php?option=com_simple_review&Itemid=57
Hope any of that helps!
Thanks