View Single Post
  #5 (permalink)  
Old June 25th, 2007, 07:25
satya_m satya_m is offline
Junior Member
 
Join Date: May 2007
Location: Singapore
Posts: 26
Thanks: 0
Thanked 1 Time in 1 Post
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 0
satya_m is on a distinguished road
Re: Modify the contacts screen

The fields Contact ID, first name, location, phone1, email address etc are in the file web/xsl/contact/CommonContact.xsl . search for the template 'personContact' and you will find all these fields. You can change the labels here.

But please be informed that this 'CommonContact.xsl' is a common file accessed across different UI. So if you change the labels here, it will reflect at all other places. An alternative would be to create your own xsl (similar to commoncontact.xsl) and implement your changes here.

For removing the 'top' button, delete this code from the web/xsl/contact/PersonContactManager.xsl

<
td>

<xsl:call-template name="topbutton">

<xsl:with-param name="label"><xsl:value-of select="translator:get-translated-value('button.top')"/></xsl:with-param>

<xsl:with-param name="width"/>

<xsl:with-param name="href">#top</xsl:with-param>

</xsl:call-template>

</td>

For removing the 'new' button, add the following code in the navigation template(<xsl:call-template name="navigation">) in the above mentioned xsl.

<xsl:with-param name="enter_new">false</xsl:with-param>

Hope this helps