<IF {LINKCATID} is 32}> <p>No Photos</p> <OTHERWISE> <!-- BEGIN LINK ATTACHMENTS --> <IF {ATTACHHASTHUMB}> <div class="floatattach"> <img src="{ATTACHDOWNLOADURL}" alt="{LINKTITLE}" title="{ATTACHFILETITLE}" /></div> <OTHERWISE> Attached Files: <a href="{ATTACHDOWNLOADURL}">{ATTACHFILETITLE}</a> ({ATTACHKB} KB, {ATTACHDOWNLOADS} downloads)<br /> <br /> </IF> <!-- END LINK ATTACHMENTS --> </IF>
However, that is not working and the <OTHERWISE> section is still showing in links within cat #32. I have triple checked that the numer is correct so is the condition of LINKCATID correct?
Comments on LINKCATID
Expert
Usergroup: Customer
Joined: Aug 19, 2005
Location: England
Total Topics: 391
Total Comments: 1303
In my details.tpl I have the following:
<IF {LINKCATID} is 32}>
<p>No Photos</p>
<OTHERWISE>
<!-- BEGIN LINK ATTACHMENTS -->
<IF {ATTACHHASTHUMB}>
<div class="floatattach">
<img src="{ATTACHDOWNLOADURL}" alt="{LINKTITLE}" title="{ATTACHFILETITLE}" /></div>
<OTHERWISE>
Attached Files: <a href="{ATTACHDOWNLOADURL}">{ATTACHFILETITLE}</a> ({ATTACHKB} KB, {ATTACHDOWNLOADS} downloads)<br />
<br />
</IF>
<!-- END LINK ATTACHMENTS -->
</IF>
However, that is not working and the <OTHERWISE> section is still showing in links within cat #32. I have triple checked that the numer is correct so is the condition of LINKCATID correct?
Cheers
Jill
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Change <IF {LINKCATID} is 32}> to <IF {LINKCATID} is 32>.
Expert
Usergroup: Customer
Joined: Aug 19, 2005
Location: England
Total Topics: 391
Total Comments: 1303
gosh I am so stupid!!!!!! Sometimes you just can't see the wood for the trees
Thanks Paul