I'm trying to use the cpanelif function to hide some things in my theme. Like this:
<cpanelif $CPDATA{'MAXSQL'} =gtet= 1>
Show something
</cpanelif>
That does not work. Any idea how I can use the logic operators?
I'm trying to use the cpanelif function to hide some things in my theme. Like this:
<cpanelif $CPDATA{'MAXSQL'} =gtet= 1>
Show something
</cpanelif>
That does not work. Any idea how I can use the logic operators?
Just curious if something like:
would work. Since if $CPDATA{'MAXSQL'} is greater than or equal to 1 would return true. The only other value would be 0 which would return false.Code:<cpanelif $CPDATA{'MAXSQL'}> Show something </cpanelif>
Actually my error was extra spaces. Without spaces it works.