|
From: Sook J. <so...@ya...> - 2005-08-12 19:03:46
|
Thanks for the help, but neither way works.. Any other suggestion would be appreciated! Sj --- Ken Youens-Clark <ky...@gm...> wrote: > On Aug 12, 2005, at 1:00 PM, Immanuel Yap wrote: > > > I believe that testing simply testing an array > will return FALSE if > > the array has no elements. So you can do > something like: > > > > [% IF object.aliases %] > > Safest to do this: > > [% IF object.aliases.size > 0 %] > > For more info on Template Toolkit, consider buying > the very excellent > _Perl Template Toolkit_ book by Chamberlain, et al., > AKA the "badger" > book. > > http://www.bookpool.com/sm/0596004761 > > ky > > ____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs |