Forum Moderators: not2easy
see Judge nealon - image on left (not on top as it is) and text on right
then blank space (next one doesn't have an image) for the image and the text...
please help
<?php /** $Id: default.php 108 2008-01-25 02:52:33Z andrew.eddie $ */ defined( '_JEXEC' ) or die(); ?>
<div>
<?php foreach ($this->items as $item) :
$link = 'index.php?option=com_zine&view=article&id='.$item->id.':'.$item->alias;
if ($itemId = $this->params->get( 'itemid' )) :
$link= JRoute::_( $link.'&Itemid='.$itemId );
else:
$link= ZineHelperRoute::_( $link );
endif;
?>
<div class="minivertstack_row">
<div class="minivertstack_title"><a href="<?php echo $link;?>">
<?php echo $item->title; ?></a>
<?php if ($this->params->get( 'show_summary' )) : ?>
<div class="minivertstack_subtitle"><a href="<?php echo $link;?>"><?php echo $item->subtitle; ?></a></div>
<?php endif; ?>
<?php if ($this->params->get( 'show_summary' )) : ?>
<div class="minivertstack_summary"><a href="<?php echo $link;?>"><?php echo $item->summary; ?></a></div>
<?php endif; ?></div>
<?php
$media=$item->media;
if ($thumb = $media->get( $this->params->get( 'show_icon_items' ) )) :
?>
<img class="minivertstack_img" src="<?php echo $this->baseurl.'/'.trim( $thumb, '/' );?>" alt="<?php $media->get( 'caption' );?>" />
<?php endif; ?>
</div>
<?php endforeach; ?>
</div>
<?php if ($this->params->get( 'show_viewall' )) :
$link = 'index.php?option=com_zine&view=articles&cid='.$this->item->id.':'.$this->item->alias;
if ($itemId = $this->params->get( 'itemid' )) :
$link= JRoute::_( $link.'&Itemid='.$itemId );
else:
$link= ZineHelperRoute::_( $link );
endif;
?>
<a href="<?php echo $link;?>" style="display:block">
<?php echo JText::_( 'View all' ); ?></a>
<?php endif; ?>
[edited by: jatar_k at 9:32 pm (utc) on Sep. 30, 2008]
[edit reason] no urls thanks [/edit]
could you please post some of the generated source HTML (with your site specifics removed) and its relevant CSS, we are not PHP parsers ;) this code means nothing on it's own