logo
WSN Links PHP Directory Software
Features Showcase Reviews Demos Purchase Manual Support
 

custom cat attach

Version: 4.1.37
Example URL: http://www.homeandgardenworld.co.uk/hints-and-tips


custom cat attach
babrees
Expert
Avatar

Usergroup: Customer
Joined: Aug 19, 2005
Location: England
Total Topics: 258
Total Posts: 819
Posted 04/05/08 - 02:53 AM:
quote post
#1
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}&amp;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


Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 49
Total Posts: 5539
Posted 04/07/08 - 02:23 PM:
quote post
#2
Use <IF {CATPHOTOATTACHTITLE}>
Search thread for
Download thread as


You don't have permission to post.

Please login or register.

Admin Control Panel

   
Home    |    Features    |    Showcase    |    Reviews    |    Demos    |    Purchase    |    Manual    |    Support
© 2008 Paul Knierim. All rights reserved.