Foren / Cotonti / Support / Need help

SunChase
#1 30. September 2009, 01:51
How to write correctly <!---IF (UserGroup)='1'> ?
[url=http://ka13.orgfree.com]KA13[/url] - The essence of creativity
pieter
#2 30. September 2009, 02:09
I guess it is:
<!-- IF  {PHP.usr.maingrp} == "1" -->

I got it from here
but be sure to read the post from Trustmaster just below.

And according to this you can only use the maingroup.
... can we help you ...
SunChase
#3 30. September 2009, 02:32
doesnt work:

<!-- BEGIN: USER -->
                    {HEADER_LOGSTATUS}<br />
                    <ul class="ul">
                    <!-- IF  {PHP.usr.maingrp} == "1" -->
                    <li>{HEADER_USER_ADMINPANEL}</li>
                    <!-- ENDIF -->
                    <li><a href="page.php?m=add">{PHP.skinlang.header.Pageadd}</a></li>
                    <li>{HEADER_USER_PROFILE}</li>
                    <li>{HEADER_USERLIST}</li>
                    <li>{HEADER_USER_PFS}</li>
                    <li>{HEADER_USER_LOGINOUT}</li></ul>

<!-- END: USER -->

[url=http://ka13.orgfree.com]KA13[/url] - The essence of creativity
Trustmaster
#4 30. September 2009, 03:14
Be careful with spaces and quotes.
<!-- IF {PHP.usr.maingrp} == 1 -->
May the Source be with you!
pieter
#5 30. September 2009, 21:18
I was close.
... can we help you ...