Re: [SMARTY-GENERAL] Cannot get HREF to work
| From: | Elena Fraboschi | Date: | Tue, 02 Apr 2002 16:10:43 +0000 |
| Subject: | Re: [SMARTY-GENERAL] Cannot get HREF to work | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-3438@lists.php.net to get a copy of this message | ||
The source that I sent a while ago, for index.tpl, contained
the closing delimiter of a comment. That's because I was
trying several versions, with <a href...> and without it.
That unmatched closing delimiter is not the problem. For
clarity's sake, here is what I am referring to:
Here is the pertinent portion of index.tpl file
================================================
{section name=accepted loop=$file}
<tr valign="{#valign#}">
<td height="63" width="249" background="{#gradient#}"
align="{#align#}">
{$author[accepted]}</td>
<td align="{#align#}">
{$title[accepted]}</td>
<td align="{#align#}"> *}
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
<a href="{$file[accepted]}">{$file[accepted]}</a></td>
</tr>
{/section}
My question about <a href...> cancelling the display of
a column is a valid one; the mistake highlighted above is a stupid
one---but not one that I made when I ran the source files. The
source file did not have the offending " *} ".
Best, elena