Let's recreate (or not create as the case may be) the Items View as we did in the Front End version, but this time use a table to display the data. Just create the file
And add the following did before
<table> <thead> <th><?=translate('ID') ?></th> <th><?=translate('Title') ?></th> <th><?=translate('Description') ?></th> </thead> <? foreach($items as $item) : ?> <tr> <td> <?= $item->id?> </td> <td> <a href="<?= route('view=item&id='. $item->id ) ?>"> <?= $item->title ?> </a> </td> <td> <?= $item->description?> </td> </tr> <? endforeach; ?> </table>
With the this template file in place and point the browser to
we still get an error "View: todos not found"
The Framework is still trying to load the same "todos" view, because we haven't told it to do any different.