[help]các Bạn Giúp Mình Cái Lỗi Grid Của Jhtml Với!

Thảo luận trong 'Hướng dẫn - Hỏi đáp' bắt đầu bởi keynozy, 27/6/12.

  1. keynozy

    keynozy Mới tham gia

    Bài viết:
    1
    Likes :
    0
    Đây là code của mình!
    <?php
    defined('_JEXEC') or die();?>

    <form action="index.php?option=com_hello&view=hello" name="adminForm" method="POST">
    <input type="hidden" name="task" />
    <table class="adminlist">
    <thead>
    <th><input type="checkbox" name="toogle" onclick="checkAll(<?php echo count($this->hello); ?>)"></th>
    <th><?php echo JText::_('Name'); ?></th>
    <th><?php echo JText::_('Description'); ?></th>
    </thead>
    <tbody>

    <?php
    for($i =0, $n = count($this->hello); $i<$n;$i++): ?>
    <tr>
    <td><?php echo(JHTML::_('grid.checkedOut',$this->hello[$i] ,$i)); ?></td>
    <td><?php echo $this->hello[$i]->name; ?></td>
    <td><?php echo $this->hello[$i]->description; ?></td>
    </tr>
    <?php endfor; ?>
    </tbody>
    </table>
    </form>

    Nó bị lỗi như sau:
    [​IMG]



    Mình ko biết nó bị lỗi gì nữa! mình đổi lại sử dụng grid.id thì cũng bị lỗi! hết cách rồi! mọi người giúp mình với!*Rage*
     
comments powered by Disqus

Chia sẻ trang này