IF statement being disregarded
on pages other than main
Version: 5.0.46
URL:
|
hai
Forum Regular Usergroup: Customer Joined: Apr 03, 2007 Location: NY & PA Total Topics: 93 Total Posts: 335 |
Posted 05/11/09 - 11:53 AM:
I have the following code in my sitemap template - <ul> <!-- BEGIN MAP LINE --> <IF {THISMEMBERISADMIN}> <!-- BEGIN AFFILIATE --> <li><a href="{CATURL}" class="categoryname">{CATNAME}</a> {CATHASNEW} {CATADMIN}</li> <!-- END AFFILIATE --> <ELSE> </IF> <!-- BEGIN REGULAR --> <li><a href="{CATURL}" class="categoryname">{CATNAME}</a> ({CATNUMLINKS}) {CATHASNEW} {CATADMIN}</li> <!-- END REGULAR --> <!-- END MAP LINE --> </ul> I am using the sitemap as an [insertfile] in the wrapper. It works perfectly on the main page, but on any other page of the site it lists all the AFFILIATE categories to guests. High Aspirations, Inc. - Web Site Design & More http://www.highaspirationsinc.com/ Be who you are and say what you feel, because those who mind don't matter and those who matter don't mind. - Dr. Seuss |
|
Paul
developer Usergroup: Administrator Joined: Dec 20, 2001 Location: Diamond Springs, California Total Topics: 65 Total Posts: 7614 |
Posted 05/11/09 - 10:11 PM:
Fixed for next release. |
Sorry, you don't have permission to post. Log in, or register if you haven't yet.

Print