[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] if problem
Hi list,
i have following code:
[loop
prefix=cat
search="
fi=cat.txt
tf=sort
un=yes
sf=area
se=01
"]
[if-cat-data cat url]
[cat-data cat url]
[else]
[cat-data cat name]
[/else]
[/if-cat-data]
this works fine.
but if i want to check if another field may have some entry, if fails:
[if-cat data cat url]
[cat-data cat url]
[elsif-cat data cat dir_link]
..
[/elsif-cat-data]
[else]
[/else]
this doesn't work.
changing this to:
[if cat data cat url]
...
[elsif cat-data cat dir_link]
..
[/elsif]
[else]
..
[/else]
ignores my elsif again. so how can i check in specific fields if they
have an entry?
andreas
- Follow-Ups:
- [ic] if problem
- From: interchange-users@interchange.redhat.com (Joachim Leidinger)
- [ic] if problem
- From: interchange-users@interchange.redhat.com (Jon Jensen)