× Please submit new Bug Reports on GitHub: github.com/Jensen-Technologies/component-creator-issues/issues

Mostra registros en 4 columnas

6 năm 1 tháng trước #1867 bởi Yetis
Mostra registros en 4 columnas was created by Yetis
Hola podrian decirme como mostrar esta lista en 4 columnas
		<?php foreach ($this->items as $i => $item) : ?>
			<?php $canEdit = $user->authorise('core.edit', 'com_carteles'); ?>

			<?php if (!$canEdit && $user->authorise('core.edit.own', 'com_carteles')): ?>
			<?php $canEdit = JFactory::getUser()->id == $item->created_by; ?>
			<?php endif; ?>

			<tr class="row<?php echo $i % 2; ?>">
				<?php if (isset($this->items[0]->state)) : ?>
				<?php $class = ($canChange) ? 'active' : 'disabled'; ?>
				<?php endif; ?>
                
				<td> 
				<?php if (isset($item->checked_out) && $item->checked_out) : ?>
				<?php echo JHtml::_('jgrid.checkedout', $i, $item->uEditor, $item->checked_out_time, 'carteles.', $canCheckin); ?>
				<?php endif; ?>
				<?php echo "<img src='http://www.tcatalogador.es/images/IMG_Trailer/".$item->imagen."' width='155' height='216' />";?>				 <a href="<?php echo JRoute::_('index.php/component/booklibrary/423/view_bl/1/capturas/'.(int) $item->id_enlace); ?>">
				<br>
				<?php echo $this->escape($item->titulo); ?></a>
                </br>              
				</td>

Muchas gracias

Vui lòng Đăng nhập hoặc Tạo tài khoản để tham gia cuộc hội thoại.

Thời gian tải trang: 0.055 giây
Powered by Kunena Forum

We use cookies so that you can place orders and we can provide a better service. You can control the use of cookies at the individual browser level. If you reject cookies, you may still use our website, but your ability to use some features or areas of our website may be limited.