Webmastersite.net
Register Log In

LINKCATID

Comments on LINKCATID

babrees
Expert

Usergroup: Customer
Joined: Aug 19, 2005
Location: England

Total Topics: 391
Total Comments: 1303
babrees
Posted Sep 10, 2010 - 2:18 AM:

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
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7867
Paul
Posted Sep 10, 2010 - 12:05 PM:

Change <IF {LINKCATID} is 32}> to <IF {LINKCATID} is 32>.
babrees
Expert

Usergroup: Customer
Joined: Aug 19, 2005
Location: England

Total Topics: 391
Total Comments: 1303
babrees
Posted Sep 10, 2010 - 12:17 PM:

gosh I am so stupid!!!!!! Sometimes you just can't see the wood for the trees

Thanks Paul
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



Sorry, you don't have permission to post posts. Log in, or register if you haven't yet.