Add Item Table

Document Navigation

Add Item Table

Adding The Item Table to The Index Template

Open templates/index.tpl.php and add the line echo $itemTable;. Your templates/index.tpl.php file should now look like this:

<?php

echo Html::b("example-item/edit","Add new item");
echo $itemTable;

The item table is now visible on the index action. Use the add new item button to add a few more items to the table.
Now we need to get our item action buttons to work properly. We will do this in the Edit Item Button section.