Webmastersite.net
Register Log In

custom cat attach

Title custom cat attach
Message Text I have a cat field: photoattach Within the subcategory, begin regular I have the following conditional:
<IF {CATPHOTOATTACH}>
 <a href="{CATURL}"><img src="download.php?catid={CATID}&field=photoattach"  title="{CATNAME}"></a><br ><a href="{CATURL}">{CATNAME}</a><br > 
 ({CATNUMLINKS} Items) {CATHASNEW} {CATADMIN} 
 <OTHERWISE>
 <img src="{IMAGESURL}/folder.gif"   title="{CATNAME}"> <a href="{CATURL}">{CATNAME}</a> ({CATNUMLINKS} Items) {CATHASNEW} {CATADMIN} </IF> 
However, even if I do not have an image attached it seems to believe there is as it still only does the first part (ie tries to show the catphotoattach image) and ignores the OTHERWISE
Rating
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5
0/5 based on 0 votes.
Ownership babrees
Views 305 views. Averaging 0 views per day.
Similar Topics
Submission Date Apr 05, 2008 - 2:53 AM