smarty template testing
Ok,
Newbie question but...
I am currently reading throught he smarty templates instruction book and have decided to test a couple of things out.
The first excercise is to see if smarty is working properly.
so I entered the following into the /customer/main/welcome.tpl:
$smarty->assign('name','dion');
<table border="0" cellpadding="2" cellspacing="0">
<tr>
<td>
Hello, {$name}!
</td>
</td>
</table>
Like it says in the book..
then it just displays the assign line and the name line without a name..
what am i doing wrong?
cheers.
|