I have a modified version of the allvtar cataslysm template that I have altered a bit, and I am wondering if I can use a vairable to help me do something.
I noticed this template uses a style.php file to show the css for it.
So I wanted to show a notice to users who are not logged in. I would do it by adding a if/else statement for style.php and enclosing the css for the notice div I add elsewhere being shown if logged out and hidden with css if they are logged in.
some somthing like:
Code:
sudo code:
if $usergroupid != '0'
{ <some css for the notice div goes here>
}
else { <some different css for hiding the div would go here>
}
I'm sure you get the idea.
So I just wondered what the vairable name is that I can use to do the if/else statement with, and if that vairable is available to be called from style.php.
Thanks.