It is very simple and should be done in the following way.
Open \WEB-INF\templates\vm\portlets\html\customizer-portletset.vm.
Comment out the following code.
<td nowrap align="center" width="20%">
     #if ($!mtype)
       <form
action="$jslink.Template.addPathInfo("mode","addref").addQueryData('mtype',
$mtype)" method="post">
     #else
       <form action="$jslink.Template" method="post">
     #end

       #if ($allowportlet=="true")
         <input type="submit" value="$l10n.CUSTOMIZER_ADDREFERENCE" >
       #else
          <input type="submit" value="$l10n.CUSTOMIZER_ADDREFERENCE"
disabled >
        #end
      </form>
   </td>

By commenting the above code you are effectively removing the Add Reference
button on the Customize Pane.

Regards,
Sandeep.G.Kulkarni
Infosys Technologies Limited
Bangalore



-----Original Message-----
From: Sunil Sheshadri [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 14, 2003 1:29 PM
To: 'Jetspeed Users List'
Subject: Removing "Add Reference" button from Customize menu,

Hi,
Is it possible to remove "Add Reference" Button from the customize menu ?
We click on customize button for adding tab or adding portlets. In that
screen
we have one button named Add Reference. I want to remove that button. Is it
possible ??
If yes.. How to do it?

I am using Jetspeed 1.4b1.

Regards,
Sunil P S.
Off : 5010261 (extn :2261)
Res: 3329038



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


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

Reply via email to