
Title to top, Link under the picture
Code: Select all
<?php // no direct access
defined('_JEXEC') or die('Restricted access'); ?>
<?php
foreach ($list as $item) {
echo '<div class="phocadownloads_latest'.$params->get('moduleclass_sfx').'">';
echo '<div class="pd_description">';
//--------------------------------------------
// Output Title
//--------------------------------------------
if ($item->title != '') {
echo '<h3>'.$item->title.'</h3>';
}
//--------------------------------------------
// Output Image
//--------------------------------------------
if ($item->image != '') {
echo $item->image;
}
//--------------------------------------------
// Output Description
//--------------------------------------------
if ($item->short_description != '') {
echo '<p>'.$item->short_description.'</p>';
}
//--------------------------------------------
// Output Link
//--------------------------------------------
if ($item->link != '') {
echo $item->link;
}
echo '</div>';
echo '</div>';
}
?>