Simply, I am integrating the TW into an intranet. I have a mod tiki-autologin.php which can autocreate users if necessary. I also have tiki-autologout.php which terminates the session and then links to a 'tiki bye bye' page which closes the window.
Only registered users are allowed. I created a nodule, auto_login_box which has a very simple function:
- display the currently logged-on user
- provide a link to tiki-autologout.php
Ok, so I can do HTML and build a Logout link which does actually work.
Q1: how do I find the current user, and can I use php in my HTML code
Q2: how do I make the link, style, etc. behave like the original login_box., i.e. how do I utilize the currently selected stylesheet.
TIA, Dr Magu