1) Just remove this line from top.vm
<td align=center class=MENUBUTTON><NOBR>&nbsp;&nbsp;<a href="$link"
tabindex="4">$l10n.HOME</a>&nbsp;&nbsp;</NOBR></td>

2) Cut login form from top.vm

    <form method="POST" action="$link" enctype
="application/x-www-form-urlencoded">
    <input name="$jlink.ActionKey" type="hidden" value="$config.getString
("action.login")" />
    <table border="0" cellspacing="2" cellpadding="1" width="100%" bgcolor
=#FFFFFF class=INPUTFORM>
      <tr>
        <td>$l10n.USERFORM_USERNAMEMSG </td>
<!-- for username value:  $!data.Parameters.getString("username") -->
        <td><input size="10" value="" name="username" maxlength="25" type
="text" tabindex="1"/></td>
        <td rowspan=2 align=center><small><input name="submit" type
="submit" value="Login" tabindex="3" class="BUTON"/></td>
      </tr>
      <tr>
        <td>$l10n.USERFORM_PASSWORDMSG </small></td>
        <td><input size="10" value="" name="password" maxlength="25" type
="password" tabindex="2"/></td>
      </tr>
    </table>
    </form>

and paste it in left.vm.

You may want this form appears only when user is not logged, so had
#if (!$data.User.hasLoggedIn())
<form....
.
.
</form>
#end

If you want to had an image
<img src="$clink.setURI("images/myimage.gif").Absolute" />
and the image source file have to be put in <path-to-jetspeed>/images
directory





                                                                                       
                                                
                      Deep Narain Singh                                                
                                                
                      <[EMAIL PROTECTED]>          Pour :    
"'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>       
                                               cc :                                    
                                                
                      12/06/2002 13:55         Objet :   Customize and remove Home 
button                                              
                      Veuillez r�pondre                                                
                                                
                      � "Jetspeed Users                                                
                                                
                      List"                                                            
                                                
                                                                                       
                                                
                                                                                       
                                                




Hi
I have two queries:
1) How to remove the top "Home" button? I did the advance search and could
not find the "Home" text. Probably it is some where at the jar files.
2) What is the real method to customise the portal? I am new to this
technology. Ok say for example, how should I proceed if I want the to
customise the "Login" icon and want to display at the left.vm navigation
instead at top.vm!!!
I shall be highly obliged for your kind response.
Regards
Deep



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






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

Reply via email to