Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Please give some direction in opting for an array value in a template?

Quote Reply
Please give some direction in opting for an array value in a template?
Hi all,
1) I used <%GT::Template::dump%> in the template to view the variable:

in bless(
{
'_debug' => '0',
'cookies' => {somevalue/or empty}
});

2) I would like to opt for the value of the "cookies" in the templates as:

<%if in.cookies%>
display this
<%else%>
this play this
<%endif%>

The above is not working. Could you give some direction in implement my intention?
thank you, pyc
Subject Author Views Date
Thread Please give some direction in opting for an array value in a template? pyc 2322 Sep 14, 2007, 11:19 AM
Post Re: [pyc] Please give some direction in opting for an array value in a template?
brewt 2168 Sep 25, 2007, 2:39 PM