in reply to Template toolkit binary operations

Is it possible for you to instead just flip into Perl instead of using TT2's native language?

Alex / talexb / Toronto

"Groklaw is the open-source mentality applied to legal research" ~ Linus Torvalds

Replies are listed 'Best First'.
Re^2: Template toolkit binary operations
by nikos (Scribe) on Oct 09, 2004 at 21:01 UTC
    Yes, it's possible. It would be great if I can do everything in my template btw.
    I have a value for each item to determine what icons to show, and it's bitwise. eg 1 stands for a thumbnail, 2 - popular, 4 - new... It can be 5. It means it's a 'new thumbnail'.