1
According to this page on Smarty's Web site:
PHP Variables in Smarty TemplatesYou should be able to access a PHP variable from the template...However, I am having a rough go of it...
This is what I have put in the "mylinks_topten.html" template:
<{if $rate == 1}>
<{else}>
<{/if}>
It, as you might guess, is executing the else clause every time....Any ideas on what I am doing wrong? Do I need to make some sort of explicit reference to the PHP variable in order to access the value from the template? Thanks!