The following does not work:
a href=[% c.uri_for_action(/gallery/show, $name) %]
but through trying different things, I found that this does:
..., $name)...
why? What is the first line interpreted as? It doesn't give any error. It
would seem to produce no second argument at all.
On 05/03/11 11:06, John M. Dlugosz wrote:
The following does not work:
a href=[% c.uri_for_action(/gallery/show, $name) %]
but through trying different things, I found that this does:
..., $name)...
why? What is the first line interpreted as? It doesn't give any error. It
Hi John -
The following does not work:
a href=[% c.uri_for_action(/gallery/show, $name) %]
In template code if you are outside a quoted string you do not need the
dollar sign to get the value of a variable. So here you just need:
a href=[% c.uri_for_action(/gallery/show, name) %]
If