[Phplib-users] url() in templates
Brought to you by:
nhruby,
richardarcher
From: Guenther T. <th...@eq...> - 2001-08-14 09:39:01
|
Hi, yet another newbie question. ;-) I'm working with templates and session. Now I want to replace the regular links (e.g. <a href="test.php">foo</a>) in my index.tpl.html-teplate file by something like this: <a href=" $sess->url('test.php') ">foo</a> But I'm not able to figure out how to get php to parse the php-part in the file. Renaming the index.tpl.html to index.tpl.php had no effect. Anybody any hints? tia. Guenther |