[ic] Button be gone ! (please)

joachim.richter joachim.richter@usvideocenter.de
Tue, 20 Mar 2001 18:15:20 +0100


hi there,

we just got the glorious idea to have buttons/ links vanish if certain fields are not present.

this is easy 

[if-item-field xsound1]<a href="scan/fi=[scratch cross_file]/sf=xsound1/se=[item-field xsound1]">[item-field xsound1]</a>[/if-item-field]

and it works.....but what if we want to have a link/button vanish, if certain information in a column is missing :

we tried this which seems logical (kinda) :

[seti count][data table = products_internet column = internet key = Z][/seti]
[if scratch count ne 0]
<tr><td>
[page scan
fi=products_internet
sf=internet
se=Z
tf=category
to=x
tf=title
to=x
ml=10
su=yes
]<img src="__navigation__/dd.gif" border="0">[/page]
</td></tr>[else][/else][/if]

but it doesnt seem to work and what if we have 5 buttons/links in one document which we like to attach the same functionality to.
do we have to change count into count1, count2, count3 .....

help is greatly appreciated


joe
US Video Center Medien GmbH
Heimsheimer Str 22
70499 Stuttgart

Tel 0711 880252 0
Fax 0711 880252 22
Email joachim.richter@usvideocenter.de