Hi, As a quick introduction, I'm trying to implement template-toolkit for IPCop (http://www.ipcop.org/). So far, I've templated about 10 pages, but I did come up with a question.
Is there any reason the folowing doesn't work? [% a > 0 ? SET b=1 : SET b=0 %] This gives: file error - parse error - page.tpl line 14: unexpected token (SET). If I leave the SET out, it will give me unexpected token (=). My workaround is to: [% b = 0 %] [% SET b = 1 IF a > 0 %] Kind regards, Mark Wormgoor _______________________________________________ templates mailing list [email protected] http://mail.template-toolkit.org/mailman/listinfo/templates
