Professional CodeIgniter, Thomas Myer
Chapter 7: Improving the Dashboard
232
Figure 7-17
echo anchor(`welcome/product/'.$list[`id'],'see details') . "
<
br/
>
\n";
echo anchor(`welcome/cart/'.$list[`id'],'add to cart') . "\n
<
/div
>
";
}
?
>
<
/div
>
Your product view should look something like Figure 7 - 17 when you ' re done.
Revisiting the Sprint Backlog
When you review the sprint backlog, you ' re pleased to see that all items have been completed, not to
mention an extensive rewrite of how product colors and sizes feature in the application.
1.
Create a series of admin controllers (in their own folder). DONE .
2.
Secure those controllers and build a login form on the public side. DONE .
3.
Create a new model for admin users. DONE .
4.
Create controllers and views to administer those users. DONE .
c07.indd 232
c07.indd 232
6/10/08 5:36:56 PM
6/10/08 5:36:56 PM