Webmastersite.net
Register Log In

condition for different custom templates

Title condition for different custom templates
Description what is the correct way to do that?
Message Text I'm trying to use two custom templates to display links for members and for not registered/logged users. So far very little success. Here is the condition I came up with:


<IF {THISMEMBERUSERGROUP} is 1>
[INSERTFILE=displaylinks_members]
<OTHERWISE>
[INSERTFILE=displaylinks_visitors]
</IF>


I don't know why, but this condition works only if it's true - if it is false it shows [INSERTFILE=displaylinks_visitors] line on the screen. Also, when I use [INSERFILE] function on a file that has another [INSERFILE] in it - it doesn't show the second file content, but the actual function code line in the html output. Any ideas on the implementation?
Rating
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5
0/5 based on 0 votes.
Ownership gemini
Views 372 views. Averaging 0 views per day.
Similar Topics
Submission Date Oct 20, 2006 - 8:17 AM