I tried to implement what you suggested in the code - but I am guessing I screwed it up somewhere.
Here is what I added to the block-Modules.php file:
|
Code:
|
if (is_user($user)) {
$content .= "<a href=\"modules.php?name=Your_Account&op=logout\">Log out</a>";
} |
I put it almost at the end of the file - there was only one curly brace and the closing php tag after that code...
It didn't quite work - could you suggest how to get this logout link to appear? Ideally I would like it to show up if a user is logged in [which your code seems to allow for BTW] AND displayed as the last item in the standard Modules block.
BTW - thanks guys for your help so far!..
kilt