How do I detect if the current logged in user is an Admin OR (probably better) has power to moderate (delete) the content I'm creating/editing/viewing?
I'm thinking of using Drupal for a "personal notebook" (haven't actually done anything yet) but when I started to think about how to do it I came across one thing I don't know how to handle: $base_url
My problem is that I plan to run this on a laptop, which will have different addresses depending on where I am. That wouldn't be a problem except that I would like to be able to use this "notebook" from other machines also. So, at some time during the day the machines address would be xxx.yyy.zzz, later it would be aaa.bbb.ccc and for some machines it would be 192.168.0.2.
I want to add a link to the site header 'Create account or login', like you see on most wiki sites. The page.tpl.php template doesn't seem to have any info on the user.
please e-mail me the goofy.theme file and whatever other files were altered.
i'd REALLY appreciate it.
thanks!
(i'm trying to get a banner to appear on the top right of the page.)