Author Topic: <tmpl_if> stucture  (Read 1450 times)

0 Members and 1 Guest are viewing this topic.

area32

  • Guest
<tmpl_if> stucture
on: Wed, 07. July 2004 - 18:38:26
hey,

can I use <tmpl_if> stuctures in my templates? Like:

Code: [Select]
tmpl_if name='var1'

Code

    tmpl_if name='var2

    Code

    /tmpl_if

tmpl_else

Code

/tmpl_if


In my code it doesn't works, I think?

Offline ClausVB

  • Administrator
  • Hero Member
  • *****
  • Posts: 566
    • Homepage: clausvb.de
<tmpl_if> stucture
Reply #1 on: Thu, 08. July 2004 - 14:42:33
You have missed a '.

Works perfectly for me!

Just change "var1" and "var2" to see different results.

Regards,
Claus