Hello,

I wish to put a link in the left.vm template file. However, I only want 
the link to show up after a user logs in and I need to know the users 
login name. I assume that this can be done with some simple javascript 
as the pseudo code below shows:

<script language="javascript">
if (username.equals("")==false){
    document.writeln("<a 
href="http://mysite.com/jetspeed/mypage?"+username+";>Click me</a>");
}

But I'm not sure how to obtain the current user's login name and what 
would be the value before someone logs in?

Thanks for you help,
Joe




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to