Whenever I put in a smarty variable in a link definition as :
<a href="{$foo->bar}">foo</a>,
it shows up as a literal as above in the link and not the contents of
the variable itself. Everywhere else in the template .. variable
substitution works fine.